diff --git a/1224/react-native-geolocation.md b/1224/react-native-geolocation.md index 88035f7198d6dee4aa3787fef71d9d293e2ecc9b..a1d0863796c85e6d6c824b0b036a78a68dde9055 100644 --- a/1224/react-native-geolocation.md +++ b/1224/react-native-geolocation.md @@ -130,14 +130,14 @@ target_link_libraries(rnoh_app PUBLIC rnoh_sample_package) ```diff #include "RNOH/PackageProvider.h" #include "SamplePackage.h" -+ #include "GeolocationPackage.h" ++ #include "GeoLocationPackage.h" using namespace rnoh; std::vector> PackageProvider::getPackages(Package::Context ctx) { return { std::make_shared(ctx), -+ std::make_shared(ctx) ++ std::make_shared(ctx) }; } ``` @@ -150,12 +150,12 @@ std::vector> PackageProvider::getPackages(Package::Cont ```diff ... -+ import {GeolocationPackage} from 'rnoh-geolocation/ts'; ++ import {GeoLocationPackage} from 'rnoh-geolocation/ts'; export function createRNPackages(ctx: RNPackageContext): RNPackage[] { return [ new SamplePackage(ctx), -+ new GeolocationPackage(ctx) ++ new GeoLocationPackage(ctx) ]; } ``` @@ -215,6 +215,8 @@ ohpm install ## 遗留问题 +- [ ] react-native-geolocation 部分属性未实现鸿蒙化: [issue#I8WRMI](https://gitee.com/react-native-oh-library/usage-docs/issues/I8WRMI) + ## 其他 ## 开源协议