From 9490cc46eacfd339da79ae8d221d4a2e21ada104 Mon Sep 17 00:00:00 2001 From: action Date: Wed, 11 Mar 2026 15:26:52 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IFUGCD]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-amap-geolocation=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E5=BA=93=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-amap-geolocation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/react-native-amap-geolocation.md b/zh-cn/react-native-amap-geolocation.md index e0be170fc..c447c2229 100644 --- a/zh-cn/react-native-amap-geolocation.md +++ b/zh-cn/react-native-amap-geolocation.md @@ -381,19 +381,19 @@ ohpm install ```diff #include "RNOH/PackageProvider.h" #include "generated/RNOHGeneratedPackage.h" -+ #include "AmapGeolocationPackage.h" ++ #include "AMapGeolocationPackage.h" using namespace rnoh; std::vector> PackageProvider::getPackages(Package::Context ctx) { return { std::make_shared(ctx), -+ std::make_shared(ctx), ++ std::make_shared(ctx), }; } ``` -### 4.在 ArkTs 侧引入 AmapGeolocationPackage +### 4.在 ArkTs 侧引入 AMapGeolocationPackage 打开 `entry/src/main/ets/RNPackagesFactory.ts`,添加: -- Gitee