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 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

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

How Do I Exclude Optional iOS Frameworks?

As of Swrve iOS SDK version 4.2, it is possible to exclude certain iOS frameworks that aren’t relevant to your app. SDK Version 4.2 to 4.11.4 In Swrve SDKs v4.2 to v4.11.4, you must add the following Preprocessor Macros to exclude the associated framework. Preprocessor Macros Framework SWRVE_NO_ADDRESS_BOOK AddressBook.framework Contacts.framework SWRVE_NO_LOCATION CoreLocation.framework SWRVE_NO_PHOTO_LIBRARY AssetsLibrary.framework Photos.framework Read More

Integrating the iOS SDK Using Swift

In iOS, developers have the option to develop in either Objective-C, which supports most iOS versions, and Swift, which is becoming more widely used in iOS development. While the Swrve iOS SDK includes a number of Objective-C files, Apple has made it easy to use both Swift and Objective-C in the same project. Integrating the iOS SDK using 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 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 Does Swrve Get Resource Information to an iOS Client?

There are a few patterns for getting Swrve resource data and A/B test data into your app running on iOS. Direct Client Query – All Resource Data One pattern for querying Swrve is to pull down the full resource list from the Swrve servers. Pulling down the full resource list means that any changes made Read More

Do Swrve SDKs Use Advertising Identifier in iOS?

The Swrve SDK does not use the IDFA as of version 2.0.1. New submissions to the app store using older versions of the Swrve SDK may be rejected by Apple, so Swrve strongly recommends updating to the latest SDK. If you can’t upgrade to the latest Swrve SDK, follow the instructions below. If you upgrade Read More