Best practices and technical steps for migrating to OneSignal from providers like Firebase, including SDK integration, phased rollout, user import, and testing guidance.
Migration Type | Platforms | Recommended for… |
---|---|---|
Clean | Mobile + Web | New app versions, simple setup, faster transition |
Phased | Mobile only | Gradual rollout while keeping legacy push for older users |
deviceToken.map {String(format: "%02x", $0)}.joined()
"custom"
key within the rawPayload
of the OSNotification object which our SDK uses to determine whether to handle the notification or not.
You will need to update your Android NotificationCompat to listen for an object on the OSNotification payload that is different from your other provider’s payload to prevent it from handling notifications sent from us.
"custom"
key in its rawPayload
(docs).NotificationCompat
(Android).token
- The push token or email address or phone numbertype
- The type of subscription: iOSPush
, AndroidPush
, WebPush
, Email
, SMS
external_id
- A unique identifier for the user. This is recommended to be used for tracking and analytics.support@onesignal.com
Please include:support@onesignal.com
Please include: