Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an iphone url scheme to start a web app in standalone mode from a link

What I'm trying to do is this:

  • I've got a web app the user can choose to add to the homescreen and run in standalone mode.
  • Sometimes the server side of the app sends SMS'es to the user to notify the user of significant events. The SMS contains an URI to the app page of the event.
  • If the user has added the application to homescreen I would like to launch the app in standalone mode

Is there a way to achieve this?

EDIT

From what I've found so far iOS does not implement a url scheme for launching browser based (ie. web apps) in standalone mode. ... But apple should though :) Apple implements parsing of urls to youtube.com and redirects them to the video app.

If they store the URL to the app placed on the home screen it would be a simple task to redirect links to that app.

like image 344
thomasmalt Avatar asked Sep 14 '10 10:09

thomasmalt


People also ask

What is iOS URL scheme?

A URL scheme allows you to launch a native iOS application from another iOS app or a web application. You can set options in the URL that will be passed to the launched application.

How do I make a link open in app instead of Safari?

To resolve this issue, a new iOS utility known as “Opener” has been released. Opener is a third-party app that lets you open web links in their respective apps instead of Safari. You simply need to copy the link and paste it in Opener, and Opera opens the link in the appropriate app.


2 Answers

iOS does not implement a url scheme for launching browser based (ie. web apps) in standalone mode. ... But apple should though :) Apple implements parsing of urls to youtube.com and redirects them to the video app.

If they store the URL to the app placed on the home screen it would be a simple task to redirect links to that app.

like image 189
thomasmalt Avatar answered Oct 10 '22 03:10

thomasmalt


not from an SMS I don't think - but you could look at push notifications which can be sent from your server. I haven't used them yet, but the way I understand it you can send a notification from your server and link it to the app.

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

sorry, thats probably a better link

like image 45
Thomas Clayson Avatar answered Oct 10 '22 02:10

Thomas Clayson