You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using NativeAudio.addListener('complete', ...) to listen for the complete event, the event should be dispatched after the audio finishes playing. On Android, when playing an asset from a remote url (https://) the complete event is never dispatched.
Describe the bug
When using
NativeAudio.addListener('complete', ...)
to listen for the complete event, the event should be dispatched after the audio finishes playing. On Android, when playing an asset from a remote url (https://) the complete event is never dispatched.To Reproduce
Steps to reproduce the behavior:
NativeAudio.preload({ assetId: "sample", assetPath: "https://download.samplelib.com/mp3/sample-3s.mp3", audioChannelNum: 1, isUrl: false })
NativeAudio.addListener("complete", event => console.log("complete", event))
NativeAudio.play({ assetId: "sample" })
Expected behavior
The complete event should be logged, but it is not.
The text was updated successfully, but these errors were encountered: