You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using one signal for my android app today, i have set up everything and i tried using the dashboard board to send me a message. The app crashes whenever it receives notification but message went through.
Environment
One signal version : "^3.2.5"
How i install : npm install --save react-native-onesignal
Steps to reproduce:
install one signal
setup everything according to docs
send message from one signal dashboard to test users
07-25 16:31:06.253 9371-9371/com.instantpark E/AndroidRuntime: FATAL EXCEPTION: main Process: com.instantpark, PID: 9371 java.lang.NoSuchMethodError: No static method zzad()Lcom/google/firebase/iid/zzan; in class Lcom/google/firebase/iid/zzan; or its super classes (declaration of 'com.google.firebase.iid.zzan' appears in /data/app/com.instantpark-30SSLbAs-W25EJfn2GWZDg==/base.apk) at com.google.firebase.messaging.FirebaseMessagingService.zzb(Unknown Source:0) at com.google.firebase.iid.zzb.onStartCommand(Unknown Source:12) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3488) at android.app.ActivityThread.-wrap20(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1704) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:172) at android.app.ActivityThread.main(ActivityThread.java:6590) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The text was updated successfully, but these errors were encountered:
Description:
I am using one signal for my android app today, i have set up everything and i tried using the dashboard board to send me a message. The app crashes whenever it receives notification but message went through.
Environment
One signal version : "^3.2.5"
How i install : npm install --save react-native-onesignal
Steps to reproduce:
This is my app/build.gradle
dependencies {
compile project(':react-native-onesignal')
implementation project(':react-native-firebase')
}
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
apply plugin: 'com.google.gms.google-services'
apply plugin: "com.android.application"
apply plugin: "io.fabric"
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
This is my crash stacktrace:
07-25 16:31:06.253 9371-9371/com.instantpark E/AndroidRuntime: FATAL EXCEPTION: main Process: com.instantpark, PID: 9371 java.lang.NoSuchMethodError: No static method zzad()Lcom/google/firebase/iid/zzan; in class Lcom/google/firebase/iid/zzan; or its super classes (declaration of 'com.google.firebase.iid.zzan' appears in /data/app/com.instantpark-30SSLbAs-W25EJfn2GWZDg==/base.apk) at com.google.firebase.messaging.FirebaseMessagingService.zzb(Unknown Source:0) at com.google.firebase.iid.zzb.onStartCommand(Unknown Source:12) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3488) at android.app.ActivityThread.-wrap20(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1704) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:172) at android.app.ActivityThread.main(ActivityThread.java:6590) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The text was updated successfully, but these errors were encountered: