Home > front end >  H5 arouse the app
H5 arouse the app

Time:10-28

In general is Android use iframe arouse, ios with the location, but the ios will be a problem, not the app will prompt invalid url, how does this broken?
As shown in figure:

CodePudding user response:

This is scheme in safari,
9 but iOS later added a general Links (Universal Links), need with the client and the server,
The effect of the common link is that if the application will start the application, otherwise it will jump to a server-side configuration redirection address, inside this redirection address page, you can download the application guide you to do,
You can experience the "public comments on the home page of wap station," a "to open the public comments on", is to use this solution,
More detailed information, look for the Internet, a application before, but I just cooperate with do, no specific code,

CodePudding user response:

reference 1st floor xiaoyucoding response:
scheme is in safari,
9 but iOS later added a general Links (Universal Links), need with the client and the server,
The effect of the common link is that if the application will start the application, otherwise it will jump to a server-side configuration redirection address, inside this redirection address page, you can download the application guide you to do,
You can experience the "public comments on the home page of wap station," a "to open the public comments on", is to use this solution,
More detailed information, look for the Internet, a application before, but I just cooperate with do, no specific code,

That the common link or use the location. The href way call

CodePudding user response:

According to the test conclusion, only through a user clicks on behavior, triggering a jump
 & lt; A href="https://bbs.csdn.net/topics/xxx" & gt; Click Address the href 
element,
Through the js code to control the jump, not feasible,

CodePudding user response:

reference xiaoyucoding reply: 3/f
according to the test conclusion, only through a user clicks on behavior, trigger jump
 & lt; A href="https://bbs.csdn.net/topics/xxx" & gt; Click Address the href 
element,
Jump through js code to control, not feasible,

Automatic jump, open web pages can achieve jump or download directly, the click event to call a manually

CodePudding user response:

This is normal, call library: https://github.com/jawidx/web-launch-app

CodePudding user response:

reference 5 floor anwoie reply:
this is normal, call the library: https://github.com/jawidx/web-launch-app
, this is ts
  • Related