Skip to content
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

Google play console displays the following crashes #715

Open
shankari opened this issue Mar 28, 2022 · 0 comments
Open

Google play console displays the following crashes #715

shankari opened this issue Mar 28, 2022 · 0 comments

Comments

@shankari
Copy link
Contributor

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:4157)
  at android.app.ActivityThread.access$1600 (ActivityThread.java:252)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2010)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:250)
  at android.app.ActivityThread.main (ActivityThread.java:7877)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:958)
Caused by: java.lang.IllegalStateException: 
  at android.app.ContextImpl.getSharedPreferences (ContextImpl.java:499)
  at android.app.ContextImpl.getSharedPreferences (ContextImpl.java:484)
  at android.content.ContextWrapper.getSharedPreferences (ContextWrapper.java:188)
  at android.content.ContextWrapper.getSharedPreferences (ContextWrapper.java:188)
  at de.appplant.cordova.plugin.notification.Manager.getPrefs (Manager.java:399)
  at de.appplant.cordova.plugin.notification.Manager.getIds (Manager.java:206)
  at de.appplant.cordova.plugin.notification.Manager.getOptions (Manager.java:291)
  at de.appplant.cordova.plugin.notification.receiver.AbstractRestoreReceiver.onReceive (AbstractRestoreReceiver.java:64)
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:4148)

Since we are potentially going to touch the local notification plugin anyway as part of #712, maybe we can fix this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant