Use Case - iOS Notifications
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x
We are looking for a solution to send notifications to the user on iOS. Similar to Shopkick...We have notifications working when the app is running in the background, which requires the app to be started atleast once...however if the app is not running in the background (say the user restarted the phone but did not open the app), we do not receive notifications. Is there a way we can still get the notifications to work in this case?

Crowdsource coding tasks.

1 Solution


If you use Apple Push Notification service, you can receive push notification also when the app is not running.
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html
To enable push on the App, you need to create an Apple push certificate on the store: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringPushNotifications/ConfiguringPushNotifications.html
The App must call Apple to register the device and give you a token to send push to that device: http://www.cakesolutions.net/teamblogs/push-notifications-in-swift-for-ios-7-8
http://stackoverflow.com/questions/12847029/how-to-get-device-token

The token for each device must saved on your backend to send the notifications.
To send the notification you can call Apple directly from your backend and send a notification for each device: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/CommunicatingWIthAPS.html
or you can use a push provide that manage broadcast/multicast notifications and other feature:
http://azure.microsoft.com/en-us/services/notification-hubs/

https://www.pushwoosh.com

http://urbanairship.com

https://www.pushapps.mobi

etc...