Hi,
we just release a game where we've integrated your plugin both on iOS and Android.
We've seen many report of crash caused by the same error on our app.
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2017.3.1f1
Device model : OnePlus ONEPLUS A3003
Device fingerprint: OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR6.170623.013/12041042:user/release-keys
Caused by
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3424)
at android.app.ActivityThread.-wrap17 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1772)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6809)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)
Caused by: java.lang.NullPointerException:
at net.agasper.unitynotification.UnityNotificationManager.CreateChannel (UnityNotificationManager.java:41)
at net.agasper.unitynotification.UnityNotificationManager.createChannelIfNeeded (UnityNotificationManager.java:64)
at net.agasper.unitynotification.UnityNotificationManager.onReceive (UnityNotificationManager.java:154)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3410)`
Hi, we just release a game where we've integrated your plugin both on iOS and Android. We've seen many report of crash caused by the same error on our app.
The report by the play store is the following:
`OnePlus OnePlus3T (OnePlus3T), 6144MB RAM, Android 8.0
java.lang.Error: FATAL EXCEPTION [main] Unity version : 2017.3.1f1 Device model : OnePlus ONEPLUS A3003 Device fingerprint: OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR6.170623.013/12041042:user/release-keys Caused by at android.app.ActivityThread.handleReceiver (ActivityThread.java:3424) at android.app.ActivityThread.-wrap17 (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1772) at android.os.Handler.dispatchMessage (Handler.java:105) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:6809) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767) Caused by: java.lang.NullPointerException: at net.agasper.unitynotification.UnityNotificationManager.CreateChannel (UnityNotificationManager.java:41) at net.agasper.unitynotification.UnityNotificationManager.createChannelIfNeeded (UnityNotificationManager.java:64) at net.agasper.unitynotification.UnityNotificationManager.onReceive (UnityNotificationManager.java:154) at android.app.ActivityThread.handleReceiver (ActivityThread.java:3410)`
Do you know how to fix this null reference?