ionicnewsapp
GithubDemoYoutube
  • IONIC NEWS APP
  • Technologies Used
  • Zip File Structure
  • Project Structure
  • Project Requirements
  • App Structure
  • video installation guide
  • How to Run
  • Push Notification
  • Firebase Config
  • Run in Emulator
  • Social API
  • BACKEND
  • FIREBASE
    • Firebase Backend
  • CHANGELOG
    • Changelog
Powered by GitBook
On this page

Push Notification

PreviousHow to RunNextFirebase Config

Last updated 5 years ago

  1. Goto /.

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

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

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

  5. SETUP android FCM key .

  6. SETUP IOS certificate for push .

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

  8. Replace this key / id in your app.component.ts file,

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

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

  10. If you want own Admin to use to send push notification instead of one signal, then you can use their API to do it, or you can check our backend where we already have those stuff added.

https://onesignal.com
click here
click here
this.oneSignal.startInit('230d3e93-0c29-49bd-ac82-ecea8612464e','714618018341');