Web service for deep binding

This is my first time creating an ios app that requires deep binding. I need to create a web service for my custom URL scheme for ios in order to publish it on the Internet. Please provide some pointer as to which web service I should use, or is there an alternative way to create a deep binding for a custom URL URL scheme for iOS. Thanks.

+4
source share
2 answers

You can do it yourself with any server platform - Rails, PHP, Dot.Net, etc.

Here is a very simple PHP snippet. Replace "myappname" with the URL scheme of your application. The param / value request is optional - you can use any other text and parse it in your application’s openUrl method.

if (strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone OS') !== FALSE) {
  // redirect
  header("location: myappname://?key=value");
  exit();
}

Customer Use Options:

  • iOS Safari, your application is installed - it will open your application.
  • Safari iOS, your application is not installed - Safari will complain that it cannot open the link.
  • Another iOS application, your application is installed - it will switch to your application.
  • Another application for iOS, your application is not installed - the same as Safari. However, if another application implements UIApplication canOpenURL: - it can gracefully select a user in the App Store, but it depends on the other application developer.
  • - , html, AppStore.
+6

, , . : http://www.uppurl.com/

, URL- . , , .

, Chrome , , - "intent://..."

0

All Articles