-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hook not working on iOS #4
Comments
By any chance if you happen to pass by here, can you let me know @remigallego if this hook is also meant to work on iOS? |
@pierroo Thanks for the feedback. The library should work with iOS out of the box. Can you let me know which iOS version you're using? |
Hi @remigallego thanks for passing by! Additional info: When doing a console.log(sound) in the "play" function I get the following: {"_duration": -1, "_filename": "source_fake", "_key": 33, "_loaded": false, "_numberOfChannels": -1, "_numberOfLoops": 0, "_pan": 0, "_pitch": 1, "_playing": false, "_speed": 1, "_volume": 1, "registerOnPlay": [Function anonymous]} I believe the "duration: -1" might be the issue? Random thought: could iOS require any specific permission to play remote sound? from their info.plist or whatever? |
In case you wondered, I am still facing the issue and unable to find a fix. |
Is there any known issue on iOS ?
I am using the code below:
Which works perfectly on Android, however on iOS when pressing it toggles to "isPlaying" icon, but no sound can be heard, and it never turns back to !isPlaying
I'm using a remote source, again it works fine on android and the remote source is correct.
( latest version of this plugin and react-native )
The text was updated successfully, but these errors were encountered: