Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPhone push notfication for a webapp?

Is it possible to implement IPhone's push notification service for a Webapp that has an icon on the "desktop"? If so how?

like image 955
Artilheiro Avatar asked Sep 17 '09 00:09

Artilheiro


People also ask

How do I enable push notifications for apps on iPhone?

Go to Settings and tap Notifications. Select an app under Notification Style. Under Alerts, choose the alert style that you want. If you turn on Allow Notifications, choose when you want the notifications delivered—immediately or in the scheduled notification summary.


2 Answers

That depends on exactly what you mean by Webapp that has an icon on the "desktop"?

No, if you're referring to a webapp where you have saved a link with Add to Home screen as per this Apple instruction.

Yes, if your webapp is a thin CocoaTouch shell using webkit.

like image 189
Andy Dent Avatar answered Nov 04 '22 13:11

Andy Dent


i have an alternative solution for this:

1) create a gmail account and get gpush app on your iphone (setup the gmail in the app).

2) instate of sending direct notification to iphone, you can send an email from your webapp to the gmail account.

3) within 5 sec. you will receive the push notification.

hope this help.

like image 32
andrew Avatar answered Nov 04 '22 15:11

andrew