How to generate Firebase config file for push notifications and analytics

      Using push notification, you can send messages to your users even when they are not using your application.For example, when you launch a new product or give a discount to products you can inform your customers with push notification and it will appear on notification bar on iOS and Android. This will increase the retention and engagement of users with the app.

How to setup push notification

Step 1:

Go to https://firebase.google.com/ and create an account in Firebase

11221re

 

STEP 2:

Click ‘Go to console’ then select Create New Project

STEP 3:

Give project name and create project

fir3ure

 

STEP 4:

Select ‘Add Firebase to your Android app’fir4re

STEP 5:

Enter your package name (which was given during building app in appmaker.xyz) and your app name

fir5ture

 

Then a .json file will be automatically downloaded to your system

fir7ture

 

This file has to be uploaded here in appmaker.xyz/woocommerce/create ( or update if you already created app ) ADD-ONS page

aaawawcapture

 

STEP 6:

Now click add another app and select iOS

fir8png
fir9re

 

STEP 7:

Enter your ios bundle id(which is the exact package name used before) and enter your app name given as before.                   App store id is not necessary

fir10ure

 

a .plist file will be automatically downloaded now.

fir11ure

 

click continue and upload this file in appmaker addon page

fir15ure

 

Now you can see two apps in Firebase

fir12re

 

STEP 8:

Click on the settings>project settings>cloud messaging>

fir13e

 

 

fir14re

 

Copy the server key to appmaker add-on page

fir15ure

 

STEP 9:

Now you can enable push notification and Google analytics

fir16ture

 

If you have any difficulties in doing this feel free to contact us on https://support.appmaker.xyz

Leave a Reply

Your email address will not be published. Required fields are marked *