How to configure Push Notification in your Mobile App?
Push notification helps in connecting stores with app users and maintain brand presence. Announcing a big sale or a special offer, Google’s Firebase is an effective application for push notifications. Go through the following instructions to use Firebase to configure Push Notifications in your native mobile app.
Add Firebase to your Android App
Go to your Firebase Console.
Click Add Project.
Enter Project name, Project id and Country; and click Create Project.
Click on your app on the dashboard.
Click Android image to add Firebase to your Android App.
Enter Android Package Name and App nickname, and then click REGISTER APP.
In the step ‘Download config file’ click CONTINUE.
Click FINISH in the next step ‘Add Firebase SDK’.
You can now see the overview of app users and crashes on the dashboard. Click the gear icon in the top-left corner and go to Project settings.
Click Download google-services.json button to download the config file.
Then go to ‘Cloud Messaging’ tab in Settings. Copy the Server key, Legacy server key and Sender ID provided and go to this link.
Paste Server key (API key) and Sender ID under ‘Push Notification’.
Add Firebase to your iOS App
Go back to Overview page and click ADD ANOTHER APP.
Click on iOS button to add Firebase to your iOS app.
Enter ‘iOS bundle ID’, ‘App nickname’ and ‘App Store ID’ from the data saved in notepad and then click REGISTER APP to move to the next step.
Click CONTINUE in the next step step.
You are now in ‘Add Firebase SDK’ Click CONTINUE.
In ‘Add initialization code step’, select ‘Objective-C’ and click FINISH.
Go to Settings by clicking the gear icon in Overview
Under ‘General’ tab, click Download GoogleService-Info.plist
The post How to configure Push Notification in your Mobile App? appeared first on WooCommerce Android Mobile App Plugin | iOS App Store & Payment Gateway Integration.