react-native-track-player: sound does not stop after swiping away notification
Describe the bug After I swipe away the notification in the lock-screen, the audio keeps playing
To Reproduce Play some audio, in the lock-screen swipe away the notification
Environment (please complete the following information): System: OS: macOS 12.0.1 CPU: (10) x64 Apple M1 Max Memory: 1.26 GB / 64.00 GB Shell: 5.1.16 - /opt/homebrew/bin/bash Binaries: Node: 14.17.4 Yarn: 3.0.1-rc.1.git.20210805.hash-85bd4f58 npm: 6.14.14 Watchman: 2022.01.03.00 Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 Android SDK: Android NDK: 21.3.6528147 IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7935034 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild Languages: Java: 15.0.5 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.66.4 => 0.66.4 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
What react-native-track-player version are you using?
d3ef5b231161a087a48cecd96e87b98609a04d17
Are you testing on a real device or in the simulator? Which OS version are you running? Real device / Android 12
Code Please, share the code that is causing the issue
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (7 by maintainers)
Commits related to this issue
- Merge branch 'feature/kotlinaudio' into feature/#1377-app-process-not-stopping # Conflicts: # android/build.gradle # android/src/main/java/com/doublesymmetry/trackplayer/service/MusicService.kt # exa... — committed to doublesymmetry/react-native-track-player by mpivchev 2 years ago
- Merge branch 'main' into feature/#1377-app-process-not-stopping # Conflicts: # android/build.gradle # android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt # android/src/main/jav... — committed to doublesymmetry/react-native-track-player by mpivchev 2 years ago
- Merge branch 'main' into feature/#1377-app-process-not-stopping # Conflicts: # android/build.gradle # android/src/main/java/com/doublesymmetry/trackplayer/module/MusicModule.kt # android/src/main/jav... — committed to doublesymmetry/react-native-track-player by mpivchev 2 years ago
@afkcodes Thought I was the only one facing this issue. Thanks to every one working hard here to bring fixes to these bugs. Love you guys. @mpivchev @dcvz @jspizziri Long live RNTP!!!
@rpadilla6 yes this issue causes a ripple effect to create some other issues in the app that is actually not related to track player, so we can’t do anything except to wait for a fix @mpivchev is trying his level best and im sure he will be back with some great fix. the thing is the library was written earlier in that fashion. i have been facing this for last 2 years so i have pulled my app back from the playstore atleast for now.
yeah read this thanks for confirmation @mpivchev this was one of the major issues i am facing in my app. you are really amazing.
Update on this here
@afkcodes Thanks for this. Will update soon.