WebToNative
  • Getting started
  • Plugin Setup
    • OneSignal Set Up
    • Google AdMob Setup
    • In App Purchase - iOS Setup
    • In App Purchase - Android Setup
    • Firebase Notification Integration - iOS Setup
  • Social Login Integrations
    • Getting the SHA Key for Google Login
    • Create Google OAuth Client Id
    • Facebook Login Configuration
  • Javascript APIS
    • Getting Started
    • Status Bar
    • Pull To Refresh
    • Close App
    • Device Info
    • Clear App Cache
    • OneSignal Push Notification
    • Download Files
    • Printing Options
    • AdMob
    • Geo Location
    • Load In External Browser
    • Barcode Scan
    • In App Purchase - iOS Integration
    • In App Purchase - Android Integration
    • Social Login
    • Facebook App Events
    • Bottom Navigation
    • Clipboard
    • Screen Control
    • Background Location
    • Native Contacts
    • iOS App Tracking Transparency
    • Google Firebase Analytics
    • Haptic Feedback
    • Google Firebase Notification
    • Apps Flyer
    • App Review
    • Calender - iOS
    • Calendar - Android
    • Biometric Authentication
    • Media Player
    • Notification View
    • Offer Card
    • Cookie Update
    • App Launch Detection
    • Download Manager
    • Dynamic App Icon
    • File Sharing
  • Website Plugins
    • Wordpress
      • Push notification (WooCommerce)
      • In-App Purchase
        • In-App Purchase (IAP) Configuration Guide for iOS and Android
        • In-App Purchase (WooCommerce)
        • In-App Purchase
      • Offercard
      • Biometric Authentication
      • Social Login
      • Webtonative media player
        • WebToNative Radio Player
        • MediaPlayer Native Control
    • Bubble.io
      • Customize Status Bar
      • Device-Based Element Visibility
      • Pull to Refresh (Android)
      • OneSignal Push Notification
        • Set External ID
        • Send Push Notification
        • Set/Remove Email or SMS Phone
        • Set Tag
      • Close App
      • Get Device Info
      • Clear App Cache (Android)
      • Screen Control
      • Facebook Events
        • Regular
        • Purchase
      • AdMob
      • Offercard
      • In-App Purchase
        • In-App Purchase (Android/iOS)
        • Get IAP Canceled Subscription List (iOS)
      • Social Login
      • Biometric Authentication
  • Shopify
    • Social Login
    • In-App Purchase
      • In-app purchase
    • Push Notification
      • Abandoned Cart
    • Status Bar Customization
    • Native Device Visibilty
    • Set Onesignal Tags
    • Pull to Refresh
    • Account Deletion
    • Biometric Authentication
  • Upload Apps
    • Android App
    • Ios App
Powered by GitBook
On this page
  • Overview
  • Setting up your OneSignal Account
  • Configure OneSignal
  • Configure your WebToNative App

Was this helpful?

  1. Plugin Setup

OneSignal Set Up

PreviousGetting startedNextGoogle AdMob Setup

Last updated 3 years ago

Was this helpful?

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 .

  • 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 .

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 .

Once you have a Google developer account set up, you may generate your Project Number and FCM Server API Key directly at .

OneSignal sends push notifications through Apple's APNS service. For this to work, you will need to upload to OneSignal your Apple Push Notification certificates that you generate through . A complete guide for this is available on OneSignal's website at .

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.

OneSignal.com
OneSignal.com
https://documentation.onesignal.com/docs/generate-a-google-server-api-key
https://developers.google.com/mobile/add?platform=android&cntapi=gcm
developer.apple.com
https://documentation.onesignal.com/docs/generate-an-ios-push-certificate