I applied for three times before I finally passed. Let me briefly talk about pitfalls.
A few days ago, I wanted to implement the positioning function and changed the code for a day, but it didn't work on my mobile phone.
It was only after I boarded the mini-program management interface at night that I found out that I needed to apply for that function. . . then apply
Application path : Mini Program Page - Development - Development Management - Interface Settings - Geographical Location
After that, I submitted the application, but I didn't understand it twice. I went to ask customer service and got an answer.
Specifications for applying for mini-program geographic location-related interfaces
It probably means to put a picture that reflects the usage scenario
Then I went to apply for the route planning plug-in (there are pitfalls here)
The route planner plugin cannot be obtained from the plugins page, and it will never be. To do this:
How to apply for the mini program to use the Tencent location service route planning plug-in
Then simply make a page
Apply again (third application)
Finally, it was passed (really not easy)
Tencent location service route planning development document
about the problem that the WeChat applet wx.getLocation does not display on the real machine
But if you want to use it on your phone, you need to add three sentences to app.json
They are to obtain positioning , obtain plug-ins , and obtain geographic information (write whichever you apply for)
"permission": {
"scope.userLocation": {
"desc": "需要获取你当前位置信息"
}
},
"plugins": {
"routePlan": {
"version": "1.0.19",
"provider": "wx50b5593e81dd937a"
}
},
"requiredPrivateInfos":[
"getLocation"
]