This guide will help you migrate from the Accengage platform to the Airship platform by installing the Airship-Accengage module. This module allows you to continue sending messages to your entire audience (upgraded, non-upgraded, net new users) through the Accengage platform while upgrading users to the Airship platform. After all or most of your users have updated to the latest version of your app, you can use the Airship platform exclusively for your messaging and remove the Airship-Accengage module.
For more information about the migration, please visit our documentation about Accengage Upgrade.
Remove the Accengage SDK by deleting your AccengageConfig.plist file and the following lines from the Podfile:
# Accengage specs source repo source 'https://github.com/Accengage/ios-pod-specs.git' target 'YOUR_APP_TARGET' do pod 'Accengage-iOS-SDK', '~> 7.0' end
Install the Airship SDK. The Airship SDK can be installed using CocoaPods, Carthage, or manually.
The fastest and easiest way is using CocoaPods:
use_frameworks! # Airship SDK target "<Your Target Name>" do pod 'Airship' pod 'Airship/Accengage' end
Note: Make sure that the Accengage subspec is included in the podfile.
(Optional) In order to take advantage of notification attachments, create a notification service extension.
You can keep the Accengage UpdateDeviceInformation method calls, as they will still work except for the Increment/Decrement methods. Note: Increment and Decrement methods are not supported in the Airship SDK.
Accengage method calls can also be replaced with Airship method calls, if needed. See the documentation on attributes for more details.
Remove the remaining Accengage method calls and replace them with Airship methods if needed. Here are some useful links to help you migrate:
Airship provides a data opt-out feature to help customers comply with applicable privacy opt-out laws. For more information, see Data Collection.