Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Apple Push Notification Server (APNS) is a central server where all the IOS devices are connected any time. If you wish to send a push message to an application, then this message is sent to APNS and APNS forwards this message to the related device. In order to send the message to the target device and application, a token is generated for each device-application pair and this token is sent to APNS together with the related message.


 

Related Marketing Cloud expects the following information for APNS communication from you:

APNS works in two modes, Sandbox and Production.

Sand box certificate is used for applications that are not submitted to the Appstore and generally when the app is attached to the debugger. (USB cable connection to XCode) Production certificate is used for applications distributed through Ad-hoc and Testflight (closed distribution) and for applications in the Appstore.

After you imported the SDK into your project by adding related files, you can integrate SDK to your project using the following steps:

For registering the application into APNS system, the following method should be used:

 [[UIApplication sharedApplication] registerForRemoteNotificationTypes:
         (UIUserNotificationTypeBadge | UIUserNotificationTypeSound | UIUserNotificationTypeAlert)];
  • No labels