Android Question (Solved) FirebaseNotifications Error in B4A

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Hi All

I am trying to develop Android App with Firebase Push messaging, I have done following I am using B4A 9.8. I have followed all the steps that are in the link video here: https://www.b4x.com/android/forum/t...-messages-firebase-cloud-messaging-fcm.67716/

1. Created account and App in Firebase

2. downloaded google json file , copied to App folder

3. Edited Manifest file added Google Play Services Base, Firebase Base, Firebase Notification

4. I use the firebase libraries

5. I write the Package Name

6. After writing all the code and following the steps of the compile video and nothing happens, it only installs on my phone and shows the following error:


I hope you can give me a hand to learn something new

I attach the project in B4A

Many thanks friends.
 

Attachments

  • PruebaBlasitoFireBase.zip
    9.9 KB · Views: 166

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Hi @Erel

Nothing appears in the LOG file, you can only see the error displayed on the smartphone.



Reading a little (too much for me) I started to think that it could be my Android SDK is very old used since version 4 of Android (it has a graphic interface) although it is updated.

Download the new Android SDK (it does not have a graphic interface), modify the path configuration to the new Android SDK in B4A, compile the project and now if you receive the notifications



I thank you all very much and hope to help you with this.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…