Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing Push notifications for iOS (Server Side)

We want to be able to push simple text messages to ALL our iphone users. For that we obviously need to create a server side code that stores the device tokens and pushes the messages whenever necessary. Is there any good example on doing this? (Talking about the server code)

Thanks

like image 360
Alex1987 Avatar asked Sep 04 '11 18:09

Alex1987


People also ask

How do I set up push notifications on iOS?

Setting up Push Notifications in iOS. Go back to the iOS project you created earlier and select the main target. Under the Signing & Capabilities tab, click on the + Capability button, then select Push Notifications. This will enable your app to receive push notifications from OneSignal.

How does push notifications work on the iOS platform?

An iOS push notification is a message that pops up on an Apple device such as an iPhone. Before receiving push notifications from an app, iOS device users must explicitly give permission. Once a user opts-in, mobile app publishers can send push notifications to the users' mobile devices.


1 Answers

Have a look at easyAPNS if you want to host it yourself, or visit Urban Airship if you are ok with a hosting service (they have an extensive set of documentation)

Another good site for info is Ray Wenderlich's site which hosts a 2 part tutorial:

  • Apple Push Notification Services Tutorial: Part 1/2
  • Apple Push Notification Services Tutorial: Part 2/2
like image 54
Frank Avatar answered Oct 01 '22 02:10

Frank