Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DennisBlah

macrumors 6502
Original poster
Dec 5, 2013
485
2
The Netherlands
Hi all,

I have a small question about my project.
I have created a full responsive website, but the customer wants to have push notifications for it as well.

Is it allowed to setup a single-view application, using a webview that staticly only load 1 specific domain, and injects a cookie with the users push token ?
So on the server-side at the login controller I can check for pushtoken_cookie and add it to the account.

Thanks in advance!
 
Hi Chown,

I know you always try to answer as good as possible :)
But... don't take this wrong, this thread is in iOS Programming topic.
My customer wants to have an actual app for iPhones and iPads, so their members can receive push notifications, whilst they are not inside the app.
But the current state of the project, works perfect on mobiles, would be a waste of time to spend soo much time and effort into an iOS app. Else I might propose an sms gateway instead of an push notification.

So I will end up with an iOS app with Push Notification capabilites, and a single UIWebView.
Would Apple approve such an app? If not, is there a alternative way to send push notifications to iDevices without an actual app on their device (ofcourse not)...
 
You should be able to pass review, as I've seen others do this.

However, you would be skirting the edge of guideline 4.2 so I can't guarantee you a positive or negative response from Apple.

By giving your app a native feel, your odds of passing are greater.
 
You should be able to pass review, as I've seen others do this.

However, you would be skirting the edge of guideline 4.2 so I can't guarantee you a positive or negative response from Apple.

By giving your app a native feel, your odds of passing are greater.

Thank you :) I'm going to give it a try
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.