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
1587418352999.png

2. downloaded google json file , copied to App folder
1587418393108.png

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

4. I use the firebase libraries
1587418497930.png

5. I write the Package Name
1587418535195.png

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:
1587418576440.png


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: 234

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.

1587493187225.png


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

1587493213357.png


I thank you all very much and hope to help you with this.
 
Upvote 0
Top