react-native-track-player: Fatal Exception: kotlin.UninitializedPropertyAccessException
Describe the Bug App crash while using react-native-track-player
Steps To Reproduce
Code To Reproduce
TrackPlayer.reset();
TrackPlayer.add([sound1, sound2]);
TrackPlayer.play();
Environment Info: react-native: 0.68.2 react-native-track-player: ^2.2.0-rc4 Device: Samsung A8 Tablet OS: Android
Crashlytics log
Fatal Exception: kotlin.UninitializedPropertyAccessException: lateinit property descriptionAdapter has not been initialized
at com.doublesymmetry.kotlinaudio.notification.NotificationManager$destroy$1.invokeSuspend(NotificationManager.kt:295)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:247)
at android.app.ActivityThread.main(ActivityThread.java:8676)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (4 by maintainers)
Looks like somebody did a PR with this already: https://github.com/doublesymmetry/react-native-track-player/issues/1699