Disabling Notifications

If push messaging is not required in your app, then you do not need to enable it in order to avail of the rest of our functionality.

Android

On Android Locations, beacons and events within the app can still be used for campaign messages, without the need for a connection to Google Cloud Messaging. To disable push messages do not pass in the second parameter when creating the mPushConnector object and no connection will be made to Google servers to register for push messages.

On iOS if you do not want to use notifications you do not need to send your devices APNs token to the xtremepush platform. To dsable push notifications when integrating comment out this integration step as outlined below:

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
//Comment out line below if token is never sent notifications are disabled
//[XPush applicationDidRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}