Android configuration file downloaded from Firebase's backend.
Platforms: Smart Devices(Android)
To use Firebase Analitytics in your application, you must add a configuration file. Such configuration file may be obtained from the Firebase console. You must add it to the KB as a File under the name "google-services_json", and you must also make sure that the file is referenced from this property. GeneXus will do the rest automatically.
For further information on the creation of the project in Firebase go to Add Firebase to Your Android Project.
No matching client found for package name
The following error occurs when compiling the Android project:
Parsing json file: ...\google-services.json
> Task :MainObjectName:processDebugResources
error:
error: FAILURE: Build failed with an exception.
error:
error: * What went wrong:
error: Execution failed for task ':MainObjectName:processDebugGoogleServices'.
error: > No matching client found for package name 'com.artech.kbname.mainname'
Review the google-services.json configuration file uploaded to the Knowledge Base and make sure it matches the configuration for the Android Package Name property associated with the main object.
The following error is detailed on the Android device logcat:
com.artech.kbname.mainobject E/FirebaseCrashlytics: Failed to retrieve settings from https://firebase-settings.crashlytics.com/spi/v2/platforms/android/gmp/1:ID:android:Id/settings
You may need to wait up to 24 hours to get the first analytics reports.
This property applies only at design time.
This property is available since GeneXus 16 upgrade 2.
Analytics Provider property