Android Question error while trying to use firebase messaging

Makumbi

Well-Known Member
Licensed User
B4X:
B4A Version: 9.00
Parsing code.    (0.15s)
Building folders structure.    (0.08s)
Compiling code.    Error
Error parsing manifest script:
Error parsing google-services.json:
Error parsing manifest script:
Error parsing json file. Make sure that the package name is correct.

my projectname is de.amberhome.smis

in my firebase project name is smis and when i try to change it to de.amberhome.smis it does not allow
this is what is in my manifest editor

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)

'End of default text.
 

DonManfred

Expert
Licensed User
Longtime User
The projectname is not relevant. Did you add the packagename and SHA-1 Value in the firebase console to your project? No, seems not.
check the tutorial again...
 
Upvote 0
Top