Closed The0racle closed 3 years ago
I got a similar behaviour on the android simulator (Nexus_5X - API_24) on version 1.1.4
. It does not open the app but stopWithApp: true
does not work: When I swipe out the app it still plays the show. Not always: For example when I rebuild the app freshly, it works the first time. But when I reopen the app and play the show again and swipe the app out again, it keeps on playing.
Am I understand right that stopWithApp: true
means the player will stop when I swipe it out? That is the actual behaviour? Or does it mean it should stop when the app goes to the background?
Anyway: I can't stop the player with a swipe-out after I swiped it out the first – it keeps on playing and only one way stops the player then: Going via settings -> apps -> MyApp -> force stop
.
Your issue seems related to #433.
@The0racle Thx for the hint. I tried the workaround of this issue but it doesn't change anything. But you are right: After testing it the #433 issue is also happending in my app but it seems to be independent of the issue of not stopping playing.
Configuration
Run
react-native info
in your project and share the content.What
react-native-track-player
version are you using?1.1.4
This issue is happening on Android (we only have an Android app) to users running Android 6 -7.0. They complain that even after closing the app, it is launched again in the future when they're doing something else on their phones. See below:
Code
LockScreenControls
gets called multiple times, every timePlayer
component is rendered.TrackService
and in
index.js
Can anyone point me in the right direction if I'm doing something wrong? I suspect it might have something to do with #433.