Created
February 23, 2016 15:55
-
-
Save sessionm-docs/b4f817f66e383699aef6 to your computer and use it in GitHub Desktop.
MMC - Enable Push
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ensure app Background Modes are enabled for Remote notifications and Background fetch in the Info.plist: | |
<key>UIBackgroundModes</key> | |
<array> | |
<string>fetch</string> | |
<string>remote-notification</string> | |
</array> | |
// When you want to request permission for remote notifications call: | |
[[SessionM sharedInstance] registerForRemoteNotifications]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment