

Pick your push provider ( APN or FCM) and the language your native files are written in to get started ( Objective C or Swift). Now you’re ready to set up push notifications in your app. When you’re done, you’ll see Push Notifications added to your app’s capabilities.

After this process, you’ll also need to do a bit more to support rich push notifications. This section lets you register for standard push notifications-messages with just a title and a body.
SET UP PUSH NOTIFICATIONS JANETTER CODE
You’ll need to add some additional code to support push notifications for iOS. You can move on to iOS or continue to rich push notifications for Android.
SET UP PUSH NOTIFICATIONS JANETTER ANDROID
If you followed our Getting Started instructions, you’re already set up to send standard push notifications to Android devices. If you haven’t already, set up Apple Push Notification Service (APNs) and/or Firebase Cloud Messaging (FCM). To send, test, and receive push notifications, you’ll need to set up your push notification service(s) in Customer.io. If your app’s user doesn’t grant permission, notifications will not appear in the system tray. Request, or check for, push notification permissions.This associates a token with the person you can’t send push notifications to a device until you identify the recipient.

(iOS) Integrate push notifications and register a device token for the device code samples on this page help you do that.For Android, you’re ready to go if you followed our getting started instructions.īefore a device can receive a push notification, you must: But, for now, it also means you’ll need to add a bit of code to support your iOS users. This helps us keep the React Native SDK up to date. Under the hood, our React Native SDK takes advantage of our native Android and iOS SDKs. Style push fill:#B5FFEF,stroke:#007069 How it works Getting-started(Install SDK) ->B(Initialize SDK)Ĭlick getting-started href "/docs/sdk/react-native/getting-started/#install"Ĭlick B href "/docs/sdk/react-native/getting-started/#initialize-the-sdk"Ĭlick identify href "/docs/sdk/react-native/identify"Ĭlick track-events href "/docs/sdk/react-native/track-events/"Ĭlick register-token href "/docs/sdk/react-native/push"Ĭlick push href "/docs/sdk/react-native/push"Ĭlick rich-push href "/docs/sdk/react-native/rich-push"Ĭlick in-app href "/docs/sdk/react-native/in-app"Ĭlick test-support href "/docs/sdk/react-native/test-support"
