Getting an error with Firebase

#1

Hi, I added Sentry to a React Native Android App and I’m getting this error:

java.lang.NoSuchMethodError:
at com.google.firebase.messaging.FirebaseMessagingService.zzb (Unknown Source)
at com.google.firebase.iid.zzb.onStartCommand (Unknown Source)
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:3394)
at android.app.ActivityThread.-wrap21 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1632)
at android.os.Handler.dispatchMessage (Handler.java:110)
at android.os.Looper.loop (Looper.java:203)
at android.app.ActivityThread.main (ActivityThread.java:6251)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:924)

I’m getting this error through Google Play Console, I think it’s related to Sentry because was the only thing I added in the last version.

#2

Hey, are you 100% sure, since I can’t see any reference to Sentry in the stack trace?

#3

I’m not completely sure, but I thought that Sentry uses Firebase under the hood or probably it’s causing a conflict, and as I said, that was the only change that I added to the app, that’s why I suspected from Sentry

#4

We are not using Firebase under the hood and we haven’t gotten any other reports on Android yet the Sentry + Firebase isn’t working.

It doesn’t 100% on iOS, there is could be that either / or (Sentry or Firebase) receives the crash if both SDKs are running.

#5

I’ll release a new version of the app and I will update Firebase Cloud Messaging to see if that fixes the error. Thanks for your help :+1: