Skip to content

Commit cbf3d1f

Browse files
committed
doc: Update README.md
1 parent 7601227 commit cbf3d1f

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,18 @@
4848
</details>
4949

5050
<details>
51-
<summary> ⚠️ GMObjC 只支持 ARM64 的架构</summary>
51+
<summary>Android 配置高德地图 key</summary>
52+
53+
`example/android/app/src/main/AndroidManifest.xml`
54+
55+
```xml
56+
<meta-data android:name="com.amap.api.v2.apikey" android:value="{你的高德key}" />
57+
```
58+
59+
</details>
60+
61+
<details>
62+
<summary> iOS: ⚠️ GMObjC 只支持 ARM64 的架构</summary>
5263

5364
GMObjC 里面用到的 `OpenSSL` 配置 `armv7` 有问题,`GMObjC.framework` 动态包也是只支持 ARM64
5465

@@ -69,7 +80,7 @@ GMObjC 里面用到的 `OpenSSL` 配置 `armv7` 有问题,`GMObjC.framework`
6980
</details>
7081

7182
<details>
72-
<summary> iOS 端需要开启始终定位</summary>
83+
<summary> iOS: 端需要开启始终定位</summary>
7384

7485
`example/ios/<项目名称>/Info.plist`
7586

@@ -128,12 +139,6 @@ yarn add @uiw/react-native-transport-location
128139
$ cd ios && pod install
129140
```
130141

131-
`AndroidManifest.xml`
132-
133-
```xml
134-
<meta-data android:name="com.amap.api.v2.apikey" android:value="{你的高德key}" />
135-
```
136-
137142
## api
138143

139144
- init

0 commit comments

Comments
 (0)