Home  >  Article  >  Backend Development  >  javascript - How to enable the browser to scan the QR code and then open the app related page

javascript - How to enable the browser to scan the QR code and then open the app related page

WBOY
WBOYOriginal
2016-10-10 11:55:581537browse

How to use the browser to scan the QR code to determine whether the app is installed on the phone. If it is installed, open the relevant page of the app. If not, jump directly to the download page of the app. If it is the QR code that comes with the app, Scan the QR code and continue processing business

Reply content:

How to use the browser to scan the QR code to determine whether the app is installed on the phone. If it is installed, open the relevant page of the app. If not, jump directly to the download page of the app. If it is the QR code that comes with the app, Scan the QR code and continue processing business

If you need APP cooperation~~ you can search url schema or app schema related articles to learn more.
The idea is this:
The QR code is an intermediate page. It is recommended that this page be directly the download page.
Then the JS on this page tries to pull up the APP through the schema.
If installed, it will start. . It's stuck on this download page without installation. .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn