After upgrading micro-channel 7.0 high moral map failed in the micro-channel built-in browser

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qy_0626/article/details/86550821

This article is the original bloggers please indicate the source of labor of respect for what the author points thanks ⑩ 

Scene: micro-channel 7.0 Apple can get to locate Andrews not obtain positioning

The reason: micro-channel 7.0 upgrade security restrictions do not lead to positioning using http normal use

Solution: HTTPS upgrade and is a regular SSL certificate  self-signed certificate certificate chain is not complete is not enough

Note: The page uses jssdk need to use https call

Micro-channel upgrade before 7.0 Public number page has been stable operation, after the upgrade 7.0 issue erupted reflected in not Obtain high moral map on the issue, print high moral map information returned tips are  Geolocation permission denied access to documents say may be of the following problems:

  • Geolocation permission denied: disabled by the user positioning permissions, users need permission to open the device and locate the browser, and click "Allow use location" option in the browser pop in.   
  • Geolocation permission denied: browser prohibit the positioning request non-secure domain, such as Chrome, IOS10 has started to ban, this time the need to upgrade the site to HTTPS.

Detailed view documents: Geolocation positioning process and locate the cause of failure

Because the phone in another browser, positioning can be acquired except in the micro-channel built-in browser not then been entangled in not micro-channel is not positioned privileges until the investigation yesterday, positioning it was suggested that the problem micro-channel upgrade emerged after 7.0 and higher same type of public numbers Germany Location map can be used Ethereal contrast a bit different only https and http, so  I went to validate the upgrade micro-channel 7.0 Apple and Android contrast Apple is obtain authorization normal only after 7.0 Gets Andrews micro-channel less than 7.0 version is possible .

Then go to Baidu the impact of micro-channel 7.0 upgrade, and there is no problem with people and I finally found the reason in a blog:

Since the micro-channel version 7.0 upgrade security restrictions on the https, http protocol in use micro-channel version 7.0 and later visit positioning assembly so could cause failure.

In addition ISO10 also limits the browser requests a non-secure domain.

 Blog description link: Andrews micro-channel 7.0 Maps can not locate the problem

Also include the configuration of Ali cloud free SSL certificates blog: Ali cloud Get a free SSL certificate attached open cloud Ali port Detailed graphics

Other similar issues blog:  After 7.0, using a web Baidu positioning micro letter SDK, positioning failure

Guess you like

Origin blog.csdn.net/qy_0626/article/details/86550821