Open a wap page within App. This wap needs to know the current user information of my App, which can be used to generate invitation links. Does this require mixed development? Like RN.

1. For example, there is no way to realize this at present, please give me some advice.
2. Mixed development technology to open RN, after prohibiting hot updates, will the use of RN, in the project affect the approval?


you can pass parameters to the link


coordinate the app end, the two ends communicate through JsBridge, and let the app end provide relevant interfaces. The web side calls the relevant interface and obtains the corresponding data by judging android and iOS respectively


three ways:
1, when webview opens the H5 page, the login information (user name, password) is written to the cookie of the page, and the page cookie is automatically brought to the back end for verification.
2. Webview opens the H5 page and passes the login information to js,js. Call the login API to log in
3. After webview opens the H5 page, the login information is passed to js,js and placed in cookie, and the page cookie is automatically brought to the backend for verification.


you don't need a hot update or RN,app provides bridge to the web page to call to get app information.


pass parameter injection to the window object of js. Negotiate with the front end


No. If there is no security consideration, url is followed by parameters, but recommended encryption with invitation links

Menu