OneSignal Set Up

Overview

Push Notifications are an incredibly powerful feature. When selected, we integrate OneSignal's Push SDK into your app to support the full range of what you might want to do with push notifications.

OneSignal offers a feature-rich, enterprise-class push notification service with a very good free tier offering. Learn more at OneSignal.com.

  • Send push notifications to individual devices, groups of devices, or all devices at once

  • Send via the OneSignal.com dashboard, or programmatically through their API

  • Optionally specify a targetUrl to open within your app when the notification is clicked

  • Support for custom notification sounds, badging, collapsing notifications, and more

Setting up your OneSignal Account

WebToNative leverages OneSignal's push notification service to power push notifications within your WebToNative app. OneSignal offers their feature-rich, enterprise-class service with a very good free tier offering. To get started, please create an account at OneSignal.com.

Configure OneSignal

OneSignal sends push notifications through Google's Firebase Cloud Messaging (FCM) service. For this to work, you will need to tell OneSignal your Google Project Number, and Firebase Server API Key. A complete guide for this is available on OneSignal's website at https://documentation.onesignal.com/docs/generate-a-google-server-api-key.

Once you have a Google developer account set up, you may generate your Project Number and FCM Server API Key directly at https://developers.google.com/mobile/add?platform=android&cntapi=gcm.

WebToNative apps use the OneSignal SDKs for iOS and Android. We integrate these for you. Using OneSignal's Web SDK in your WebToNative apps to send native push notifications will not work.

Configure your WebToNative App

WebToNative requires just your OneSignal App Id in order to configure OneSignal to work within your app. You will find this on your OneSignal Dashboard under App Settings --> Keys & IDs.

Last updated