From e64032425d04b13444670e03e1f8769761d2abf3 Mon Sep 17 00:00:00 2001 From: action Date: Wed, 11 Mar 2026 18:51:24 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IFUJ5M]=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=E8=8B=B1=E6=96=87=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-amap-geolocation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/react-native-amap-geolocation.md b/en/react-native-amap-geolocation.md index 7dafefac..2dde156b 100644 --- a/en/react-native-amap-geolocation.md +++ b/en/react-native-amap-geolocation.md @@ -380,19 +380,19 @@ Open `entry/src/main/cpp/PackageProvider.cpp` and add: ```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. Introducing AmapGeolocationPackage to ArkTS +### 4. Introducing AMapGeolocationPackage to ArkTS Open the `entry/src/main/ets/RNPackagesFactory.ts` file and add the following code: -- Gitee