qiuxiang / react-native-amap3d

react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS
https://qiuxiang.github.io/react-native-amap3d/api/
MIT License
1.28k stars 327 forks source link

AMAP SDK google play #557

Open jwong2017qq opened 4 years ago

jwong2017qq commented 4 years ago

Here is the error message of AMAP SDK below. What can i do to resolve the problems

Issue: Violation of the Malicious Behavior policy

An app distributed via Google Play may not modify, replace, or update itself using any method other than Google Play's update mechanism. Likewise, an app may not download executable code (e.g. dex, JAR, .so files) from a source other than Google Play.

We found that your app is using a non-compliant version of the AMAP SDK which contains code to download executable code (e.g. dex, JAR, .so files) from a source other than Google Play. If necessary, you can consult your SDK provider(s) for further information.

Action required: Please bring your app into compliance within 7 days of the issuance of this notification, or your app will be removed from Google Play.

jason102 commented 4 years ago

I don't think many people here can speak English. One of the reasons I'm trying to get AMap working for my RN project is because of a similar reason: I was using the Baidu SDK and then Google Play two months ago threatened to remove my app because apparently the Baidu SDK was getting my user's MAC addresses and other identifiable information. I'm having trouble getting this library to work (I just posted a new issue above yours about my SHA1 keystore value not being correctly sent - it's sending some other mysterious SHA1 of a keystore file I can't find!). But if you say this library is also being targeted by Google Play, maybe I shouldn't be wasting my time to get AMap to work?

The problem seems to be that the official RN getCurrentPosition() function requires connecting to a Google server, which is of course not available in China. Are you aware of any library that allows us to get the user's current location without connecting to Google or being in violation of their Play store rules? :/

ForevereBest commented 3 years ago

@jason102 上传google play 的问题你解决了吗?

jason102 commented 3 years ago

@jason102 上传google play 的问题你解决了吗?

没有,后来我用https://github.com/react-native-mapbox-gl/maps和高德地图的REST API webservice: https://lbs.amap.com/api/webservice/summary/