- Get platform credentials and save them in OneSignal: FCM for Android, APNs for iOS, HMS for Huawei, and ADM for Amazon.
- Integrate the SDK: install the OneSignal SDK for your platform and initialize it with your App ID.
Get platform credentials
Push requires credentials from each platform you support. You can install the SDK before you have them. The SDK still creates users and shows in-app messages, and push starts delivering once you save the credentials.Android (Google Play)
Use for Android apps on Google Play or any Android build that uses Google Play services. Create an FCM Service Account key in Firebase.
iOS
Use for every iOS build, including App Store, TestFlight, and development. Create a .p8 key, which does not expire.
Huawei (AppGallery)
Use for apps on Huawei AppGallery or Huawei devices without Google Play services. Copy your Client ID and Secret from AppGallery Connect.
Amazon (Appstore)
Use for Fire OS apps on the Amazon Appstore. Create OAuth credentials and an API key in the Amazon Developer Console.
Integrate the SDK
Which SDK should I use?
Match the SDK to the language or framework your app is built with, and to the store you distribute through.SDK setup guides
Android native
Native Android apps using FCM.
iOS native
Native iOS apps using APNs.
Amazon Fire OS
Apps distributed on the Amazon Appstore using ADM.
Huawei
Apps distributed on Huawei AppGallery using HMS.
React Native
Bare React Native apps.
Expo
Managed Expo apps with EAS Build.
Flutter
Flutter apps using Dart.
Unity
Unity apps for iOS, Android, Amazon, and Huawei.
.NET MAUI
.NET MAUI apps for iOS and Android.
Cordova
Cordova and Ionic Cordova hybrid apps.
Capacitor
Capacitor and Ionic Capacitor hybrid apps.
Other integrations
FlutterFlow
Low-code FlutterFlow apps.
Median.co
Median.co (formerly GoNative.io) web-to-app apps.
SDK versions
Next steps
Prompt for push permissions
Ask for push permission at the right moment with an in-app message.
Test Users
Verify delivery, rendering, and deep links before sending to your full audience.
Mobile SDK reference
Methods, classes, and event hooks for iOS, Android, and cross-platform SDKs.
Mobile troubleshooting
Resolve common push delivery, APNs, and in-app messaging issues.