What should I do if the mini program fails to obtain the geographical location?

藏色散人
Release: 2020-04-03 09:52:35
Original
9414 people have browsed it

What should I do if the mini program fails to obtain the geographical location?

What should I do if the mini program fails to obtain the geographical location?

Solving the problem of geographical location authorization failure in WeChat 7.0 Mini Program

Recommendation: " Mini Program Development Tutorial"

When obtaining user location information A purpose description needs to be filled in

According to the system’s requirements for user privacy protection, developers are required to fill in a purpose description when mini programs or mini games obtain user geographical location information. Starting from January 14, 2019, new submissions The released version will be affected by this adjustment, developers are requested to configure it in time.

Solution:

Add permission attribute configuration in app.json (mini games need to be configured in game.json):

What should I do if the mini program fails to obtain the geographical location?

The above is the detailed content of What should I do if the mini program fails to obtain the geographical location?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!