Javascript-how to enable the browser to scan the QR code and then open the app-related page

Source: Internet
Author: User
How can I scan the QR code in a browser to check whether the app has been installed on the mobile phone? if the app has been installed, open the related page of the app. if not installed, go directly to the download page of the app, if it is a QR code scan that comes with the app, it will continue to process the business. how can I scan the QR code in a browser and determine whether the mobile phone has installed the app? if so, I will open the relevant page of the app, if the app is not installed, you can directly jump to the app download page. if the app has its own QR code scan, you can continue to process the business.

Reply content:

How can I scan the QR code in a browser to check whether the app has been installed on the mobile phone? if the app has been installed, open the related page of the app. if not installed, go directly to the download page of the app, if the QR code is scanned by the app, the service will continue to be processed.

Which requires APP cooperation ~~ You can searchUrl schemaOrApp schemaRelated articles.
The idea is as follows:
A qr code is an intermediate page. We recommend that you download this page directly.
Then JS on this page tries to pull the APP through schema.
If it is installed, it is started .. If it is not installed, it will stay on this download page ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.