Android Question FirebaseNotifications & manifest error

Yayou49

Active Member
Licensed User
Hi,

I did implement the firebase notification in my project, as describe in thread https://www.b4x.com/android/forum/t...-messages-firebase-cloud-messaging-fcm.67716/.
As requested, I've added 3 new lines in my manifest:

B4X:
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)

While compiling, at the end, I'm facing an error:

If I check in manifest.xml line 14, I've got:
<permission android:name="xxxx.V1.permission.C2D_MESSAGE"
androidrotectionLevel="signature" />

Does someone know what about this error ?
 

Yayou49

Active Member
Licensed User
Far away from me to ask you to teach me something !! don't be afraid
So far your big help and attention is enough for me.

BTW, I'm far to start to push a notification while starting the first service is not working ....
 
Upvote 0

Yayou49

Active Member
Licensed User
no, I still have error:

With exactly the same code as I have uploaded on the forum.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Yayou49

Active Member
Licensed User
YOU WIN !!!!!!
My little project is now working !

Many Thanks Don Manfred for your patience and insight
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
YOU WIN !!!!!!
My little project is now working !

Many Thanks Don Manfred for your patience and insight
Ok. You now know it is working.
Going back to your old project you now need to rebuild the Manifest to get the malformed manifest fixed.

Start with the Manifest from your new Project here.
Check what else is missing for your "old app". Adding permissions...
 
Upvote 0

Yayou49

Active Member
Licensed User
Reading some other forums, it seems package name with upper case can be a problem for Firebase.
I will check this point and close this thread with my final situation.
 
Upvote 0

Yayou49

Active Member
Licensed User
Well I confirm that package name with upper case make Firebase stuff crashing.
I've updated my package name to lower case and update my Firebase project and everything goes well !!

This thread can now be close.

Thanks again !!!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…