Recently, due to business reasons, the H5 side was asked to do some requirements, but due to time reasons, it was too late, so the temporary solution was to add an entry to evoke the client on the H5 page. So I studied this communication method should be to use URL Scheme, URL Scheme is a page jump protocol, through this protocol we can realize the mutual jump of each page inside the app,
The app can be evoked through the browser or H5 page, and can also evoke and communicate with each other between the two apps.
The experience of the predecessors has guided that the format of this protocol is similar to the general URL format, which can be:
1、Scheme://Host:port/path?key=value
2. Scheme://domain name
But in the actual implementation process, I found that Scheme can be defined by itself, and the latter must be called the package name of the app to be successful. I wonder if there are other configurations?
Below is my configuration code pasted:
Add the following configuration in the manifest file of the app you want to be invoked