This feature can be configured for:
Customer App (Marketplace or Franchise App)
Business App
Driver App
Requirements:
Create a OneSignal account (free) → https://onesignal.com/
Create a Firebase project (for Android configuration, free) → https://firebase.google.com/
Have an Apple Developer account (for iOS push notifications)
Android Configuration (Google)
Part 1: Firebase
Log in to your Firebase account and create a new project (only one project is needed for all your apps).
Image link: https://d.pr/i/P8zoNj
Image Link: https://d.pr/i/JPbo8X
Register your Android app and enter your app identifier.
Image link: https://d.pr/i/8dvUjg
Image link: https://d.pr/i/NGEn7Q
Image link: https://d.pr/i/oRdeeE
Go to the settings of your registered app.
Image link: https://d.pr/i/AWzU5V
Generate your Firebase Service Account and save it; it will be needed later.
Image link: https://d.pr/i/uGIorh
Image link: https://d.pr/i/jLwa55
Part 2: OneSignal
Log in to your OneSignal account and create a new app configuration.
Image link: https://d.pr/i/qwkNaS
Enter your app name and select Google Android (FCM).
Image link: https://d.pr/i/wQ2Siq
Upload your Service Account JSON downloaded from Firebase.
Image link: https://d.pr/i/8hP7xV
Select your target SDK as React Native.
Image link: https://d.pr/i/BYMG0u
Copy and save your App ID.
Image link: https://d.pr/i/SCDbuo
Go to Settings in your Onesignal setup and select Keys and IDs.
Image link: https://d.pr/i/ZuOs66
Image link: https://d.pr/i/skTury
Create an API Key, copy it, and save it securely (it can only be viewed once).
Image link: https://d.pr/i/2OTNPq
Image link: https://d.pr/i/q2Y1lq
Finally, in your dashboard, go to the Push Notifications section, add your OneSignal App ID from step 5, and your API Key from step 7, then save the configuration.
Image link: https://d.pr/i/3SwAEh
✅ Please repeat the app registration steps in Firebase and OneSignal for each of your applications in order to generate the corresponding keys for each app.
After this, your push notifications will be ready to test and use.
