Hello, everyone.
I am building an ionic project using capacitor.
I am working on an ionic capacitor v2 project. I am able to implement push notifications via firebase cloud messaging. is working as well in the ios version. but when calling Push notification.register() in the android version, the app crashed. I didn’t find the solution for this. Please help me.
I also try to use @capacitor-community/fcm. but this is not working too.
2022-02-14 08:18:59.994 2012-4422/com.google.android.gms.persistent E/AuthPII: Message is Long live credential not available.
wre: Long live credential not available.
at ieq.a(:com.google.android.gms@214815023@21.48.15 (040800-414534850):8)
at ieu.h(:com.google.android.gms@214815023@21.48.15 (040800-414534850):1)
at idd.m(:com.google.android.gms@214815023@21.48.15 (040800-414534850):110)
at eif.m(:com.google.android.gms@214815023@21.48.15 (040800-414534850):31)
at eif.d(:com.google.android.gms@214815023@21.48.15 (040800-414534850):40)
at eif.h(:com.google.android.gms@214815023@21.48.15 (040800-414534850):0)
at eif.ek(:com.google.android.gms@214815023@21.48.15 (040800-414534850):6)
at eet.onTransact(:com.google.android.gms@214815023@21.48.15 (040800-414534850):5)
at android.os.Binder.transact(Binder.java:499)
at elr.onTransact(:com.google.android.gms@214815023@21.48.15 (040800-414534850):2)
at android.os.Binder.transact(Binder.java:499)
at agjz.onTransact(:com.google.android.gms@214815023@21.48.15 (040800-414534850):17)
at android.os.Binder.execTransact(Binder.java:565)