D
D
Dmitry Baibukhtin2018-11-06 10:17:34
Java
Dmitry Baibukhtin, 2018-11-06 10:17:34

What is the crash when running ionic/cordova app on Huawei P20 lite (HWANE), Android 8.0?

Guys, in the Google play report I saw that one of the 100 users has already crashed the following error 4 times. Device Huawei P20 lite (HWANE), Android 8.0. Please tell me, google didn't help. I remind you, Ionic (cordova) is used

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3705)
  at android.app.ActivityThread.-wrap18 (Unknown Source)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1979)
  at android.os.Handler.dispatchMessage (Handler.java:108)
  at android.os.Looper.loop (Looper.java:166)
  at android.app.ActivityThread.main (ActivityThread.java:7425)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Caused by: java.lang.IllegalStateException: 
  at android.app.ContextImpl.getSharedPreferences (ContextImpl.java:417)
  at android.app.ContextImpl.getSharedPreferences (ContextImpl.java:398)
  at android.content.ContextWrapper.getSharedPreferences (ContextWrapper.java:167)
  at android.content.ContextWrapper.getSharedPreferences (ContextWrapper.java:167)
  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:3695)
5be13ffbcc7d2453983147.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2018-11-06
@PiloTeZ

maybe it's
https://stackoverflow.com/questions/50451738/attem...
and also here
https://github.com/katzer/cordova-plugin-local-not...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question