-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashing when set media session callbacks. #14
Comments
It was actually caused by a bug in https://github.com/DavidBriglio/cordova-plugin-foreground-service I've found a solution and I've opened an issue. Here are the details: |
I also meet this when I use Caused by: java.lang.NullPointerException: Attempt to read from field 'java.util.ArrayList androidx.core.app.NotificationCompat$Builder.mActions' on a null object reference in method 'void io.github.jofr.capacitor.mediasessionplugin.MediaSessionService.update()' |
I think y'all are getting this when using it on the Android simulator? Never happens on a physical device. At least in my testing. |
I had the same issue, I used the example to verify and it worked. Thanks for this plugin! |
I'm getting the following error:
androidx.core.app.NotificationCompat$Builder.clearActions()' on a null object reference
Here is the full stack trace:
I'm using @daubit fork of this project. I believe that in this project, it's not clearActions() method calls. It is mActions.clear().
When I play my audio file, I register the media session callbacks. That's when my app crashes. Any ideas?
The text was updated successfully, but these errors were encountered: