General Information
In order to use Firebase services such as Cloud Messaging, In-App Messaging, Analytics or Crashlytics you need to connect your Purple DS Android App to the Firebase Console.
A Firebase project is required to use these services.
If you want us to do the Firebase connection for you, there are 2 ways to do this:
- You create a Firebase project yourself and give us the permission to edit it for you.
- We create a project and hand it over to you after the integration.
Please let us know which procedure you prefer.
The following step by step instructions will help you to connect your Android Apps with Firebase.
Requirements
Firebase: an existing Firebase Project
Purple Manager: Package Name of your Android App
Instructions
To connect your Firebase project to your Android app the following steps need to be completed:
01. Click on the gear icon and open Project settings.
02. On the "Your apps tab" click on the Android icon.
03. Add your Android Package name (The Package name in Purple DS) and your App nickname (optional).
04. Please ignore the following steps (2-4) by clicking "Next/Skip this step" until the project is created. Now you can download the GoogleService-info.plist file in the General tab section "Your apps" of the project settings.
05. Now please click on the Cloud messaging tab.
06. Please copy the Server Key in the Project Credentials. You will need it for the Cloud messaging setup in the Purple DS Manager.
Activate Firebase in Purple
After you have successfully finished creating your project and all necessary assets we are now switching to the Purple DS Manager where the following steps need to be done:
01. Go to the Push/Analytics section within the Manager.
02. In the Firebase Configuration, open the Android Basic Settings. Activate all Firebase checkboxes and upload the google-services.json from Firebase as configuration file.
03. In the Manager Push Section, open the Android Basic Settings. Activate Manager Push and and paste in the Server Key you copied in step 6 from the Firebase setup.
04. Scroll to the bottom of the page and click "Save". Your Android app is now connected to Firebase.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article