Question about push notifications

Discussion in 'iOS Programming' started by DennisBlah, Jun 30, 2016.

  1. DennisBlah macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #1
    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!
     
  2. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #3
    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)...
     
  3. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #4
    Anyone knows if such a browser app for 1 single domain is allowed? If it will pass the review?
     
  4. Mascots macrumors 65816

    Mascots

    Joined:
    Sep 5, 2009
    #5
    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.
     
  5. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #6
    Thank you :) I'm going to give it a try
     

Share This Page