Natively using OneSignal service to provide the Push Notifications support inside of your application. More details here:
Notifications can give people timely and important information, whether the device is locked or in use. For example, notifications can signal when a message arrives, an event is about to occur, or there’s a status change.
To configure your app to work with push notifications, you need to do the following steps:
  1. 2.
    Enable the Push Notification feature.
  2. 3.
    Enter all relevant push notification information in the Natively dashboard.
    1. 1.
      (Only for iOS) Permission description - The permission description text should explain to the user why your app needs that permission. Refer to Apple's guidelines to avoid potential rejection.
    2. 2.
      One Signal App Id - App ID used by the One Signal service to send push notifications.
    3. 3.
      Push Auto Register (v2.12.0) - Automatically calls Push Notification permission on app launch
    4. 4.
      Custom Notification Sound - can be used later to send push with custom sound.
  3. 4.
    (Only for iOS) Enable "Push Notification" capabilities for your App.
    1. 1.
      Go to the Apple Developer Identifiers -> Find your app's Bundle ID. Click on it
    2. 2.
      Scroll down and enable "Push Notifications". Click Save.
  4. 5.
    Rebuild your application
If you have 2 apps (iOS and Android) for 1 website, you need 1 OneSignal application with 2 platforms enabled.

How to use Push Notifications?

Last modified 1mo ago