✏️
readymade-restaurant-app
  • Readymade Restaurant App
  • Technologies
  • Requirements
  • User Mobile App
  • Installation Guide
  • User Mobile App Structure
  • API Config
  • Push Notifications
  • Release Build
  • Delivery Mobile App
    • Prerequisites
    • App Setup
    • Delivery Mobile App Structure
    • Run App
  • CMS Dashboard
  • Zip File Structure
  • Introduction to NodeJS
  • System Requirements
  • How To Run
  • Project Structure
  • CMS API Config
  • Push Notifications For CMS
  • Deployment
    • Heroku NodeJS Api
  • Changelog
    • Changelog
Powered by GitBook
On this page

Was this helpful?

Push Notifications

Push notification is a message that’s displayed outside of the app.

PreviousAPI ConfigNextRelease Build

Last updated 4 years ago

Was this helpful?

Push Notifications

Goto .

Create an account or log in if you are already a registered user.

Click on 'Add New App' on the screen window .

You need to Create certificate or key ID for the IOS and Android .

SETUP android FCM key .

SETUP IOS certificate for push .

Once new app setup is successful , click on the newly created app and navigate to app-setting where you will find one signal app-id in keys/ids section.

Replace this key / id in your main.dart file.

OneSignal.shared.init("343c7750-2f38-4244-a09c-be77fb655a8c", iOSSettings: settings);

You can find First parameter value key from one signal setting and the second value is Sender ID that you can get it from Firebase. You can click on the gear icon on Overview then click on Project Setting and go to Cloud Messaging Tab and copy the Sender ID

Now open your account window in onesignal.com and navigate to new-message section where you can send notification.

If you prefer your own Admin to send push notification instead of oneSingnal.com, then you can use their API to do it, or you can check our backend where we already have those stuff added.

FCM Setup for push notification

https://onesignal.com/
click here
click here