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

Not Working push notifications with Latest Firebase bom #781

Closed
sagarehs opened this issue Feb 17, 2022 · 3 comments
Closed

Not Working push notifications with Latest Firebase bom #781

sagarehs opened this issue Feb 17, 2022 · 3 comments

Comments

@sagarehs
Copy link

sagarehs commented Feb 17, 2022

QuickBlox SDK Version: 3.9.2

PushNotification Type in Manifest: FCM

Actual behavior
Application crashed.

Firebase library update in my Project "com.google.firebase:firebase-bom:26.8.0" to "com.google.firebase:firebase-bom:29.0.0"

Application Working fine with "com.google.firebase:firebase-bom:26.8.0"

Caused by java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId;
at com.quickblox.messages.services.a.a.(:3)
at com.quickblox.messages.services.a.b.a(:2)
at com.quickblox.messages.services.SubscribeService.a(:15)
at com.quickblox.messages.services.SubscribeService.a(:1)
at com.quickblox.messages.services.SubscribeService.e(:12)
at com.quickblox.messages.services.SubscribeService.b(:18)
at com.quickblox.messages.services.SubscribeService.onHandleWork(:50)
at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:396)
at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:387)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

@ghost
Copy link

ghost commented Feb 23, 2022

@sagarehs Hello,

This is Nikolay from QuickBlox support.

Please try updating the SDK to the latest version:
https://github.com/QuickBlox/quickblox-android-sdk-releases/releases/tag/3.9.15

If the issue persists, please try the solutions provided in the following threads:
mixpanel/mixpanel-android#744
https://stackoverflow.com/questions/50608169/java-lang-noclassdeffounderror-failed-resolution-of-lcom-google-firebase-fireb

@teamaligness
Copy link

it's still happen in latest version
could you fix it?

Thank you

@vdovbnya-qb
Copy link
Member

HI @teamaligness ,

You can try to solve this issue by adding the firebase-iid dependency:
implementation 'com.google.firebase:firebase-iid'

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

4 participants