not sure if i missed any step or additional library in here, but am getting this error, can you please help?
2022-06-23 16:38:16.618 21797-21860/work.curioustools.r2d2 E/[Leanplum][ERROR]: Error getting FCM token
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/messaging/FirebaseMessaging;
at com.leanplum.Present.updateRegistrationId(SourceFile:1)
at com.leanplum.FirebaseUtilKt.updateRegistrationId(SourceFile:1)
at com.leanplum.LeanplumFcmProvider.updateRegistrationId(SourceFile:1)
at com.leanplum.PushProviders$1.run(PushProviders.java:87)
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)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.messaging.FirebaseMessaging" on path: DexPathList[[zip file "/data/app/~~sLdIuTdwKQ5G_C2z1G_wjw==/work.curioustools.r2d2-gNtPSXM_SBdFbgMexKSnOg==/base.apk"],nativeLibraryDirectories=[/data/app/~~sLdIuTdwKQ5G_C2z1G_wjw==/work.curioustools.r2d2-gNtPSXM_SBdFbgMexKSnOg==/lib/arm64, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.leanplum.Present.updateRegistrationId(SourceFile:1)
at com.leanplum.FirebaseUtilKt.updateRegistrationId(SourceFile:1)
at com.leanplum.LeanplumFcmProvider.updateRegistrationId(SourceFile:1)
at com.leanplum.PushProviders$1.run(PushProviders.java:87)
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)
Expected Behavior
user to show fcm as integrated in the app
Actual Behavior
app working but getting this suppressed error in logs . also the user created on dashboard doesn' seem to have fcm enabled for them
Steps to Reproduce the Problem
create new project with custom application class
in gradle.properties, add android.enableJetifier=true
in application level build.gradle, add the following dependencies:
not sure if i missed any step or additional library in here, but am getting this error, can you please help?
Expected Behavior
user to show fcm as integrated in the app
Actual Behavior
app working but getting this suppressed error in logs . also the user created on dashboard doesn' seem to have fcm enabled for them
Steps to Reproduce the Problem
android.enableJetifier=true
dependencies {
}
Specifications