-
Notifications
You must be signed in to change notification settings - Fork 22
Example application guide
This guide is designed to get you up and running with Mobile Messaging example application
-
Download the Mobile Messaging project.
-
Open a terminal window, and
$ cdintoinfobip-mobile-messaging-ios/Exampledirectory. -
Integrate MobileMessaging SDK with the Example Application by running
$ pod install. -
Open the
MobileMessagingExample.xcworkspacethat was created. This should be the file you use to build and run the Example Application. -
Replace an existing Bundle Identifier
com.infobip.mobilemessaging.examplewith your unique Bundle Identifier.
-
Prepare a new App ID for the Bundle Identifier, provisioning profiles and APNs certificate (APNs Certificate Guide).
-
Prepare your Infobip account (https://portal.infobip.com/push/) to get your Application Code:
- Create new application on Infobip Push portal.
- Navigate to your Application where you will get the Application Code.
- Mark the "Available on iOS" checkbox.
- Mark the "Sandbox" checkbox if you are using sandbox environment for the application.
- Click on "UPLOAD" under "APNS Certificates" and locate the .p12 certificate you exported from your Keychain earlier.
-
Build and run the application on your iOS device. Make sure you've chosen the right scheme and device:
Now you should be able to launch Push campaigns and receive push messages on your device running the Example application.
If you have any questions or suggestions, feel free to send an email to [email protected] or create an issue.