{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":"","apiSetting":null},"next":{"description":"","pages":[]},"title":"Setup Push Notifications","type":"basic","slug":"setting-up-push-notifications","excerpt":"","body":"In addition to [In-app Messaging](doc:setting-up-in-app-messaging), Sailthru Mobile supports push Notifications via the Apple Push Notification Service (APNS) for iOS and Google Cloud Messaging (GCM) for Android. \n\nPush Notifications are a great way of communicating with your users when they are not using your app, and can be triggered when you publish Messages. \n\n### Pick a platform to begin integrating Push Notifications\n[block:html]\n{\n \"html\": \"<div class=\\\"row integrate-sdk-section\\\" >\\n \\n <div class=\\\"col-sm-3\\\">\\n\\n </div>\\n \\n <div class=\\\"col-sm-3\\\">\\n <a href=\\\"/docs/push-notifications-for-ios\\\">\\n <img src=\\\"https://files.readme.io/z5IuJfO8SzK9n94EcNQ5_ios.png\\\" >\\n <div class=\\\"description\\\">\\n iOS\\n </div>\\n </a>\\n </div>\\n\\n\\n <div class=\\\"col-sm-3\\\">\\n <a href=\\\"/docs/enable-push-notifications-for-android\\\">\\n <img src=\\\"https://files.readme.io/QbxKWCzRs6nnEELD9FvQ_android.png\\\" >\\n <div class=\\\"description\\\">\\n Android\\n </div>\\n </a>\\n </div>\\n\\n</div>\\n\\n<style>\\n \\n .integrate-sdk-section img{\\n width:120px;\\n height:120px;\\n }\\n \\n .integrate-sdk-section a {\\n display:block;\\n padding:20px 0px 10px 0px;\\n border-radius:5px;\\n }\\n \\n .integrate-sdk-section a:hover {\\n background-color:#f9f9f9 !important;\\n \\n }\\n \\n .integrate-sdk-section .col-sm-3 {\\n text-align:center;\\n }\\n \\n .integrate-sdk-section .description {\\n padding-top:10px;\\n text-align:center !important;\\n }\\n \\n\\n\\n</style>\"\n}\n[/block]\n\n[block:callout]\n{\n \"type\": \"info\",\n \"body\": \"We also support the Unity, React Native and Cordova platforms. To get up and running on these platforms follow the respective iOS or Android Guides.\",\n \"title\": \"Unity, React Native & Cordova\"\n}\n[/block]","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5b1f2cbdfd653400031d8d4c","category":{"sync":{"isSync":false,"url":""},"pages":["5b1f2cbdfd653400031d8d4a","5b1f2cbdfd653400031d8d4c","5b1f2cbdfd653400031d8d4d","5b1f2cbdfd653400031d8d4e","55e682b7de6fef23009480dc","5b1f2cbdfd653400031d8d4f","5b1f2cbdfd653400031d8d50","5b1f2cbdfd653400031d8d51","5b1f2cbdfd653400031d8d52","5b1f2cbdfd653400031d8d53","5b1f2cbdfd653400031d8d54","5b1f2cbdfd653400031d8d55","5b1f2cbdfd653400031d8d56","5b1f2cbdfd653400031d8d6a","5b1f2cbdfd653400031d8d6b","5b1f2cbdfd653400031d8d6c","5b1f2cbdfd653400031d8d6d","5b1f2cbdfd653400031d8d6e","5b1f2cbdfd653400031d8d71","5b1f2cbdfd653400031d8d72","5b1f2cbdfd653400031d8d74","561c6ca0be5fb20d00077754","5b1f2cbdfd653400031d8d79","5b1f2cbdfd653400031d8d7a","5b1f2cbdfd653400031d8d7b","5b1f2cbdfd653400031d8d7c","5b1f2cbdfd653400031d8d7d","5b1f2cbdfd653400031d8d7e","5b1f2cbdfd653400031d8d7f","56cfa5386c5d7a13005eec0f","56e73d86555c030e00a52a73","56e7460c9000b120000ffe2e","56e8c19e99c6400e003820cf","56e8c53fc88bf80e00f8bed8","56f06ff4d386ce0e008e9b21"],"title":"Install in your app","slug":"install-in-your-app","order":1,"from_sync":false,"reference":false,"_id":"5b1f2cbdfd653400031d8d43","__v":35,"createdAt":"2015-09-02T04:30:13.305Z","project":"55e67aaa9cc7c62b00c4a1ea","version":"5b1f2cbdfd653400031d8d9f"},"createdAt":"2015-09-02T04:33:44.529Z","parentDoc":null,"version":{"version":"1.3","version_clean":"1.3.0","codename":"rebrand","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5b1f2cbdfd653400031d8d42","5b1f2cbdfd653400031d8d43","5b1f2cbdfd653400031d8d44","5b1f2cbdfd653400031d8d45","5b1f2cbdfd653400031d8d46","561c61b4ad272c0d00a892df","586c014c0abf1d0f000d04d4","58991d2ad207df0f0002186b","5b1f2cbdfd653400031d8d47","5b1f2cbdfd653400031d8d48","5af0fe494ca2730003cbc98a","5af0fe55ec80af0003804ca2"],"_id":"5b1f2cbdfd653400031d8d9f","project":"55e67aaa9cc7c62b00c4a1ea","__v":0,"forked_from":"55e67aab9cc7c62b00c4a1ed","createdAt":"2015-09-02T04:27:23.612Z","releaseDate":"2015-09-02T04:27:23.612Z"},"githubsync":"","project":"55e67aaa9cc7c62b00c4a1ea","user":"55d2bd8e2463351700f67dd7","__v":10}