[Mini Program webview] I can't open my phone and report an error file://.

(1) the home page only writes a webview src = https:// business domain name / file
(2) it can be opened in the Wechat developer tool, but toast prompts ERR_TIME_OUT for scanning the code on the phone. The middle of the page shows that the non-business domain name FIEL:// is not supported

.
Jun.21,2022

I haven't written Mini Program for some time, but in the past, webview was embedded in Mini Program, and this webview can only be used by non-personal developers.


1, webview's link to the web page. You can open the articles on the associated official account, and other web pages need to log in to the Mini Program management backend to configure the business domain name.
2,
3. You need to open the debugging tool for the mobile beta version. You must log in to the Mini Program management backend to configure the business domain name.

Menu