react-native-audio-streaming
react-native-audio-streaming copied to clipboard
Stop in Notification, How to get Status in RN
When user click Stop in Notification, Does it send an event to react native saying that status is Stop playing streaming song ?
same issue here +1
+1
You'll need to subscribe to AudioBridgeEvent event see more here
this.subscription = DeviceEventEmitter.addListener(
'AudioBridgeEvent', (evt) => {
if (evt.status === "STOPPED") {
// Here finish logic
}
});