Android Question FirebaseNotifications for B4A 8.0

Peter Yeung

Member
Licensed User
Longtime User
My B4A version is 8.0, which way should I use for the push notification.

I was using GCM before, is it not working now?

I just wonder B4A v8+ which include 8.0 or not. Thanks for your reply.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Peter Yeung

Member
Licensed User
Longtime User
Where can I get the FirebaseAnalytics 1.02?

*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
firebasemessaging_subscribetotopics (java line: 226)
java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.tasks.Task

I have above error and wonder if it is because the FirebaseAnalytics library is not update. Many thanks.

upload_2019-11-24_17-48-31.png
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I was using GCM before, is it not working now?
GCM should still work though Google doesn't recommend using it anymore.

It is not simple to use Firebase SDK with older versions of B4A as Firebase SDK is updated quite often and not all updates are backward compatible.
The Firebase libraries are internal libraries and in most cases you should use the version that came installed with the IDE as newer versions might not work.

You can download the trial version and test it with the latest version of Firebase.
 
Upvote 0
Top