• iOS
  • Android (FCM)
let pushNotifications = PushNotifications.shared

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
  self.pushNotifications.register(instanceId: "YOUR_INSTANCE_ID")

  return true

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
  self.pushNotifications.registerDeviceToken(deviceToken) {
    self.pushNotifications.subscribe(interest: "hello")

func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {

protected void onCreate(Bundle savedInstanceState) {
            new PushNotificationReceivedListener() {
                public void onMessageReceived(RemoteMessage remoteMessage) {
                    String body = remoteMessage.getNotification().getBody();

Mobile Push Notifications API Beta

Unified API to build cross platform apps and send programmable Push
Notifications to iOS and Android devices.

Notify your users in realtime, wherever they are

Keep users engaged in your app and reengage them when it’s closed using the ​Data Delivery Network​ and Push Notifications APIs.

Page 1 Created with Sketch.

Send Once, Deliver Everywhere

Send push notifications to iOS and Android devices through one unified Push Notifications API for Firebase Cloud Messaging (FCM) and Apple Push Notification Service (APNs).

Page 1 Created with Sketch.

Scalable and Reliable

Send dynamic push notifications with full support for languages in your stack. No more running your own servers or dealing with different platform protocols.

Page 1 Created with Sketch.

Easy to Integrate

Deliver high volume push notifications using our reliable platform trusted by 200,000+ developers.

Page 1 Created with Sketch.

Rich Media

Send photos, GIFs, and videos in notifications to boost user engagement.

We <3 developers

We make it easy for developers to build cross platform apps. Check out our API Documentation for Push Notifications.

Start sending push notifications to iOS and Android devices today

Push Notifications is in beta. Our Beta Product Terms can help you decide whether it's right for your development projects.