Home > Article > WeChat Applet > 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):
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!