Push notification plugin is not working android in Capacitor v2

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.

Please help me

Thanks.
Silas.

Please post the error you are receiving so we can investigate the cause of this further and try to offer assistance.

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)

It kinda looks like from the error message you didn’t save out the google-services.json file - reference.

I saved google-services.json in android/app folder. but still same issue. I added sha-1, sha-256 in firebase project.

Should be firebase billing plans → Blaze? absolutely?

Spark includes push notifications.