Push Notifications FAQ

How Do I Disable Apple Push Notification Service?

The SWRVE_NO_PUSH macro has been deprecated as of iOS SDK 4.9.1. If you still need to exclude push notification code from your app, please contact your Customer Success Manager at support@swrve.com. As of Swrve iOS SDK version 4.4, it is possible to exclude push notification code from your app. To exclude the code from your Read More

Troubleshooting Push Notifications

This article provides tips for troubleshooting common issues encountered with push notifications. Expected Behavior When a user opens the app from a push notification, Swrve automatically sends a push engagement event. It is important that Swrve receives this engagement event to accurately track how many users have engaged with a particular notification. Swrve needs to receive the push engaged Read More

How Do I Include Emojis in my Campaigns?

Swrve now supports the use of emojis in all push notification, location-based and Conversations campaigns. Emojis in Push Campaigns Push notification and location-based campaigns include an emoji picker directly in the notification editor. To add an emoji to your notification content, on the Add Content screen of the workflow, click the emoji () icon and Read More

Using Advanced Android Push Notifications

Android enables you to configure push notifications to include many different features like images, progress bars, buttons and an inbox. To take advantage of these capabilities in Swrve, you must use payloads in your push notification. Swrve also supports including certain rich notification features directly from the push notification campaign workflow, such as images, videos and custom buttons. Read More

How Do I Manage iOS Push Certificates for Push Notifications?

To enable an app to send push notifications to iOS devices (iPhone, iPad and iPod), you require a push certificate. A push certificate authorizes an app to receive push notifications and authorizes a service to send push notifications to an app. You link the push certificate to the app when you publish the app for distribution. For communication with Read More

How Do I Configure the Launch Screen from a Push Notification?

Push notifications, by default, open your app at the start screen. However, you can configure them to open your app at whatever screen you like. For example, if you’re promoting a sale in your in-app store, you can configure the app to open in the store when triggered from a push notification. This increases engagement Read More

How Do I Reset iOS Permissions for Push Notifications?

Push notifications are sent to a device via the Apple Push Notification Service (APNS) using a device token that is unique to each app and user. These tokens can change over time, so Apple recommends requesting the latest device token each time the app opens. This device token is then sent to Swrve and used Read More

How Do I Manage the Android Server Key for Push Notifications?

To enable an app to send push notifications to Google Play devices, you require a server key. There are three main steps involved in creating a server key for your app and entering it in Swrve: Create or import a project in Google’s Firebase Developer Console and collect the Server key and Sender ID. Enter the Sender ID when Read More

Can I Receive a Push Notification on a Simulator or Emulator?

This depends on your target platform: If your target platform is iOS, you cannot receive a push notification on the iOS simulator. In this instance, you must test push notifications on a physical device. If your target platform is Android, you can test a push notification on an emulator if the emulator target uses a Read More

How Do I Upload Push Device Tokens?

The current Swrve SDKs can request push device tokens as soon as the app loads or at a later time, such as after a tutorial. For more information about integrating push notifications in Swrve, see the platform-specific Integration Guides. Bulk Push Token Upload If you have already collected a set of push device tokens for the Read More