@ohos-cpf/3rdloop 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/README.md +44 -25
  2. package/lib/cli.js +54 -29
  3. package/lib/config-cmd.js +1 -1
  4. package/lib/config.js +32 -0
  5. package/lib/doctor.js +266 -48
  6. package/lib/mcp.js +498 -0
  7. package/lib/opencode.js +75 -29
  8. package/lib/orch.js +32 -10
  9. package/lib/runner.js +8 -5
  10. package/lib/serve.js +162 -149
  11. package/lib/step.js +15 -4
  12. package/lib/web.js +107 -265
  13. package/lib/workflow.js +18 -8
  14. package/package.json +6 -2
  15. package/vendor/Archive/data/.index/meta.json +7 -0
  16. package/vendor/Archive/data/.index/search.db +0 -0
  17. package/vendor/Archive/data/docs/experiences/arkts-check-tool-pitfalls-baseline-comparison.md +13 -0
  18. package/vendor/Archive/data/docs/experiences/arkts-deep-path-import-recognition.md +31 -0
  19. package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-entry-file-case-mismatch.md +25 -0
  20. package/vendor/Archive/data/docs/experiences/arkts-demo-coverage-import-trailing-slash.md +20 -0
  21. package/vendor/Archive/data/docs/experiences/arkts-library-source-files-may-be-ts.md +18 -0
  22. package/vendor/Archive/data/docs/experiences/arkts-typedarray-buffer-interface-cast-compile-fixes.md +36 -0
  23. package/vendor/Archive/data/docs/experiences/arkts-xts-compile-error-clustering-fix.md +24 -0
  24. package/vendor/Archive/data/docs/experiences/arkts-xts-doc-expected-value-runtime-probe.md +35 -0
  25. package/vendor/Archive/data/docs/experiences/arkts-xts-fixture-rawfile-testability-injection.md +33 -0
  26. package/vendor/Archive/data/docs/experiences/code-linter-chinese-comment-false-positive.md +16 -0
  27. package/vendor/Archive/data/docs/experiences/esobject-new-expression-variable-tracking.md +33 -0
  28. package/vendor/Archive/data/docs/experiences/filesystem-case-sensitivity-module-resolution.md +31 -0
  29. package/vendor/Archive/data/docs/experiences/gitcode-clone-redirect-warning-normal.md +13 -0
  30. package/vendor/Archive/data/docs/experiences/kn_msgvq1w585ec8319.md +77 -0
  31. package/vendor/Archive/data/docs/experiences/kn_msovnm6rd46de72c.md +98 -0
  32. package/vendor/Archive/data/docs/experiences/kn_mspt8vntfe708576.md +87 -0
  33. package/vendor/Archive/data/docs/experiences/kn_mspu1ei77adbbb48.md +133 -0
  34. package/vendor/Archive/data/docs/experiences/kn_mspubgak8d30bfce.md +128 -0
  35. package/vendor/Archive/data/docs/experiences/kn_mspug2de3cb1f7c3.md +115 -0
  36. package/vendor/Archive/data/docs/experiences/kn_skill_opt_001.md +38 -0
  37. package/vendor/Archive/data/docs/experiences/loop-artifacts-verification-evidence-triangle.md +19 -0
  38. package/vendor/Archive/data/docs/experiences/macos-bash-replace-build-ps1.md +19 -0
  39. package/vendor/Archive/data/docs/experiences/macos-bsd-diff-q-illegal-option.md +15 -0
  40. package/vendor/Archive/data/docs/experiences/migrate-cjs-compatible-api-version-map-limit.md +17 -0
  41. package/vendor/Archive/data/docs/experiences/mp3agic-arkts-library-behavior-quirks.md +21 -0
  42. package/vendor/Archive/data/docs/experiences/ohos-face-detection-scan-api-mapping.md +15 -0
  43. package/vendor/Archive/data/docs/experiences/pr-metadata-and-diff-integrity-verification.md +12 -0
  44. package/vendor/Archive/data/docs/experiences/rn-coverage-index-signature-pseudo-member-false-negative.md +32 -0
  45. package/vendor/Archive/data/docs/experiences/rn-memory-check-severity-calibration.md +21 -0
  46. package/vendor/Archive/data/docs/experiences/rn-platform-specific-api-exclusion-evidence.md +24 -0
  47. package/vendor/Archive/data/docs/experiences/rn-upstream-version-diff-pitfalls.md +17 -0
  48. package/vendor/Archive/data/docs/experiences/rn-version-gap-risk-rating-rules.md +13 -0
  49. package/vendor/Archive/data/docs/experiences/rn-view-lib-native-contract-diff-fabric-spec.md +16 -0
  50. package/vendor/Archive/data/docs/experiences/rnoh-adapter-package-version-field-semantics.md +18 -0
  51. package/vendor/Archive/data/docs/experiences/rnoh-arkts-sqlite-rows-array-format.md +18 -0
  52. package/vendor/Archive/data/docs/experiences/rnoh-dependency-residue-scan-strategy.md +18 -0
  53. package/vendor/Archive/data/docs/experiences/rnoh-example-local-lib-dep-use-tgz.md +53 -0
  54. package/vendor/Archive/data/docs/experiences/rnoh-example-prereserve-rntesterlist.md +17 -0
  55. package/vendor/Archive/data/docs/experiences/rnoh-example-template-compatiblesdkversion-upgrade.md +29 -0
  56. package/vendor/Archive/data/docs/experiences/rnoh-example-turbomodule-shell-adaptation-checklist.md +41 -0
  57. package/vendor/Archive/data/docs/experiences/rnoh-mcp-build-project-tool-risk.md +18 -0
  58. package/vendor/Archive/data/docs/experiences/rnoh-npm-devdependencies-version-precheck.md +29 -0
  59. package/vendor/Archive/data/docs/experiences/rnoh-repo-baseline-version-verification.md +13 -0
  60. package/vendor/Archive/data/docs/experiences/rnoh-repo-upstream-directory-mapping.md +18 -0
  61. package/vendor/Archive/data/docs/experiences/rnoh-stateless-library-zero-leak-verification.md +31 -0
  62. package/vendor/Archive/data/docs/experiences/rnoh-template-npmrc-credential-removal.md +15 -0
  63. package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-codegen-wiring-verification.md +19 -0
  64. package/vendor/Archive/data/docs/experiences/rnoh-turbomodule-cpp-methodmap-compatibility-check.md +20 -0
  65. package/vendor/Archive/data/docs/experiences/scenario-doc-vs-source-signature-diff-four-patterns.md +24 -0
  66. package/vendor/Archive/data/docs/experiences/static-analysis-grep-cross-validation.md +29 -0
  67. package/vendor/Archive/demo.js +489 -0
  68. package/vendor/Archive/index.js +43 -0
  69. package/vendor/Archive/package.json +16 -0
  70. package/vendor/Archive/src/constants.js +83 -0
  71. package/vendor/Archive/src/data/stopwords.txt +110 -0
  72. package/vendor/Archive/src/data/synonyms.json +25 -0
  73. package/vendor/Archive/src/data/terms.txt +59 -0
  74. package/vendor/Archive/src/db/sqlite-backend.js +312 -0
  75. package/vendor/Archive/src/db/sqlite-schema.js +64 -0
  76. package/vendor/Archive/src/engine.js +501 -0
  77. package/vendor/Archive/src/index/index-manager.js +203 -0
  78. package/vendor/Archive/src/index/index-state.js +94 -0
  79. package/vendor/Archive/src/index/search-text-builder.js +106 -0
  80. package/vendor/Archive/src/index.js +22 -0
  81. package/vendor/Archive/src/parser/api-identifiers.js +121 -0
  82. package/vendor/Archive/src/parser/api-suffixes.js +48 -0
  83. package/vendor/Archive/src/parser/heading-normalize.js +40 -0
  84. package/vendor/Archive/src/parser/markdown-splitter.js +215 -0
  85. package/vendor/Archive/src/search/catalog-routing.js +87 -0
  86. package/vendor/Archive/src/search/fts-search.js +289 -0
  87. package/vendor/Archive/src/search/query-normalizer.js +159 -0
  88. package/vendor/Archive/src/search/query-rewriter.js +72 -0
  89. package/vendor/Archive/src/search/search-engine.js +72 -0
  90. package/vendor/Archive/src/search/snippet.js +64 -0
  91. package/vendor/Archive/src/store/dir-store.js +103 -0
  92. package/vendor/Archive/src/store/doc-store.js +36 -0
  93. package/vendor/Archive/src/tokenizer/lexicon.js +151 -0
  94. package/vendor/Archive/src/tokenizer/tokenizer.js +167 -0
  95. package/vendor/Archive/src/types.js +86 -0
  96. package/vendor/Archive/src/utils/hash.js +16 -0
  97. package/vendor/Archive/src/utils/lock.js +73 -0
  98. package/vendor/Archive/src/utils/path-safety.js +96 -0
  99. package/vendor/Archive/src/utils/paths.js +39 -0
  100. package/vendor/BadCase/rn/INDEX.md +127 -0
  101. package/vendor/BadCase/rn/cases/KI-001-webview/350/247/206/351/242/221/346/227/240/346/263/225/346/250/252/345/261/217.md +52 -0
  102. package/vendor/BadCase/rn/cases/KI-002-fastImage/347/203/255/346/233/264/346/226/260/345/233/276/347/211/207/345/244/261/350/264/245.md +37 -0
  103. package/vendor/BadCase/rn/cases/KI-003-wechat/347/274/251/347/225/245/345/233/276/346/234/254/345/234/260/345/233/276/347/211/207.md +62 -0
  104. package/vendor/BadCase/rn/cases/KI-004-wechat/345/233/236/350/260/203/346/227/266/345/272/217.md +47 -0
  105. package/vendor/BadCase/rn/cases/KI-005-geolocation/345/257/274/345/205/245/350/267/257/345/276/204/345/220/216/347/274/200.md +31 -0
  106. package/vendor/BadCase/rn/cases/KI-006-SmartRefreshLayout/346/231/272/350/203/275/346/214/207/351/222/210/345/264/251/346/272/203.md +55 -0
  107. package/vendor/BadCase/rn/cases/KI-007-orientation-locker/344/274/240/346/204/237/345/231/250/345/210/235/345/247/213/345/214/226.md +58 -0
  108. package/vendor/BadCase/rn/cases/KI-008-orientation-locker/344/274/240/346/204/237/345/231/250/345/274/225/347/224/250/350/256/241/346/225/260.md +47 -0
  109. package/vendor/BadCase/rn/cases/KI-009-pager-view/345/265/214/345/245/227/346/273/221/345/212/250.md +38 -0
  110. package/vendor/BadCase/rn/cases/KI-010-screens/346/211/213/345/212/277/345/206/262/347/252/201.md +48 -0
  111. package/vendor/BadCase/rn/cases/KI-011-spring-scrollview/346/211/213/345/212/277/351/207/215/345/244/215/347/273/221/345/256/232.md +49 -0
  112. package/vendor/BadCase/rn/cases/KI-012-qr-camera/346/250/252/345/261/217/351/200/202/351/205/215.md +59 -0
  113. package/vendor/BadCase/rn/cases/KI-013-webview/346/267/261/350/211/262/346/250/241/345/274/217/350/203/214/346/231/257/350/211/262.md +37 -0
  114. package/vendor/BadCase/rn/cases/KI-014-amap-geolocation/345/233/236/350/260/203/347/274/272/345/244/261.md +42 -0
  115. package/vendor/BadCase/rn/cases/KI-015-reanimated/350/277/220/350/241/214/346/227/266/346/236/220/346/236/204/345/264/251/346/272/203.md +54 -0
  116. package/vendor/BadCase/rn/cases/KI-016-fs/346/226/207/344/273/266/350/257/273/345/217/226/347/274/226/347/240/201.md +58 -0
  117. package/vendor/BadCase/rn/cases/KI-017-blob-util/345/217/202/346/225/260/347/274/226/347/240/201/351/224/231/350/257/257.md +39 -0
  118. package/vendor/BadCase/rn/cases/KI-018-modal/345/274/271/347/252/227/351/227/252/347/203/201.md +53 -0
  119. package/vendor/BadCase/rn/cases/KI-019-code-push/351/207/215/345/220/257/351/200/273/350/276/221/345/244/261/346/225/210.md +79 -0
  120. package/vendor/BadCase/rn/cases/KI-020-netinfo/346/225/217/346/204/237/344/277/241/346/201/257/346/263/204/351/234/262.md +60 -0
  121. package/vendor/BadCase/rn/cases/KI-021-video/346/234/254/345/234/260/350/247/206/351/242/221/346/222/255/346/224/276/345/274/202/345/270/270.md +79 -0
  122. package/vendor/BadCase/rn/cases/KI-022-audio-recorder-player/346/236/232/344/270/276/347/274/272/345/244/261.md +38 -0
  123. package/vendor/BadCase/rn/cases/KI-023-svg/346/270/220/345/217/230/347/273/247/346/211/277/345/244/261/346/225/210.md +62 -0
  124. package/vendor/BadCase/rn/generalization-log.md +55 -0
  125. package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.json +328 -0
  126. package/vendor/BadCase/rn/pr-info/rntpc_react-native-SmartRefreshLayout-32.md +382 -0
  127. package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.json +1351 -0
  128. package/vendor/BadCase/rn/pr-info/rntpc_react-native-amap-geolocation-27.md +1176 -0
  129. package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.json +538 -0
  130. package/vendor/BadCase/rn/pr-info/rntpc_react-native-audio-recorder-player-22.md +1488 -0
  131. package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.json +211 -0
  132. package/vendor/BadCase/rn/pr-info/rntpc_react-native-blob-util-23.md +35 -0
  133. package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.json +2048 -0
  134. package/vendor/BadCase/rn/pr-info/rntpc_react-native-code-push-17.md +3866 -0
  135. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.json +198 -0
  136. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fast-image-102.md +40 -0
  137. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.json +751 -0
  138. package/vendor/BadCase/rn/pr-info/rntpc_react-native-fs-38.md +883 -0
  139. package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.json +1544 -0
  140. package/vendor/BadCase/rn/pr-info/rntpc_react-native-geolocation-24.md +2598 -0
  141. package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.json +246 -0
  142. package/vendor/BadCase/rn/pr-info/rntpc_react-native-modal-20.md +554 -0
  143. package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.json +211 -0
  144. package/vendor/BadCase/rn/pr-info/rntpc_react-native-netinfo-31.md +54 -0
  145. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.json +1626 -0
  146. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-45.md +2213 -0
  147. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.json +208 -0
  148. package/vendor/BadCase/rn/pr-info/rntpc_react-native-orientation-locker-51.md +77 -0
  149. package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.json +377 -0
  150. package/vendor/BadCase/rn/pr-info/rntpc_react-native-pager-view-32.md +174 -0
  151. package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.json +232 -0
  152. package/vendor/BadCase/rn/pr-info/rntpc_react-native-qr-decode-image-camera-37.md +194 -0
  153. package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.json +198 -0
  154. package/vendor/BadCase/rn/pr-info/rntpc_react-native-reanimated-82.md +67 -0
  155. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.json +198 -0
  156. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-87.md +38 -0
  157. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.json +208 -0
  158. package/vendor/BadCase/rn/pr-info/rntpc_react-native-screens-93.md +34 -0
  159. package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.json +222 -0
  160. package/vendor/BadCase/rn/pr-info/rntpc_react-native-spring-scrollview-38.md +56 -0
  161. package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.json +463 -0
  162. package/vendor/BadCase/rn/pr-info/rntpc_react-native-svg-117.md +383 -0
  163. package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.json +464 -0
  164. package/vendor/BadCase/rn/pr-info/rntpc_react-native-video-66.md +565 -0
  165. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.json +198 -0
  166. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-112.md +47 -0
  167. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.json +232 -0
  168. package/vendor/BadCase/rn/pr-info/rntpc_react-native-webview-121.md +422 -0
  169. package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.json +295 -0
  170. package/vendor/BadCase/rn/pr-info/rntpc_react-native-wechat-lib-15.md +1038 -0
  171. package/vendor/BadCase/rn/rules/R-01-/345/205/250/345/261/217/347/252/227/345/217/243/347/212/266/346/200/201/347/256/241/347/220/206/345/256/214/346/225/264/346/200/247.md +20 -0
  172. package/vendor/BadCase/rn/rules/R-02-/350/265/204/346/272/220URI/345/275/242/346/200/201/345/210/206/346/224/257/350/246/206/347/233/226.md +21 -0
  173. package/vendor/BadCase/rn/rules/R-03-/351/231/204/345/261/236/346/223/215/344/275/234/345/244/261/350/264/245/351/230/273/346/226/255/344/270/273/346/265/201/347/250/213.md +20 -0
  174. package/vendor/BadCase/rn/rules/R-04-/345/274/202/346/255/245/345/233/236/350/260/203/346/263/250/345/206/214/346/227/266/345/272/217.md +20 -0
  175. package/vendor/BadCase/rn/rules/R-05-/346/250/241/345/235/227/345/257/274/345/205/245/350/267/257/345/276/204/350/247/204/350/214/203.md +19 -0
  176. package/vendor/BadCase/rn/rules/R-06-/344/274/240/346/204/237/345/231/250/347/241/254/344/273/266/346/235/203/351/231/220/346/214/211/351/234/200/350/216/267/345/217/226.md +21 -0
  177. package/vendor/BadCase/rn/rules/R-07-/346/231/272/350/203/275/346/214/207/351/222/210/347/224/237/345/221/275/345/221/250/346/234/237/347/256/241/347/220/206.md +20 -0
  178. package/vendor/BadCase/rn/rules/R-08-/346/211/213/345/212/277/344/272/213/344/273/266/346/263/250/345/206/214/344/270/216/345/206/262/347/252/201/345/244/204/347/220/206.md +22 -0
  179. package/vendor/BadCase/rn/rules/R-09-/346/250/252/347/253/226/345/261/217/345/244/232/345/275/242/346/200/201/345/270/203/345/261/200/351/200/202/351/205/215.md +20 -0
  180. package/vendor/BadCase/rn/rules/R-10-/346/267/261/350/211/262/346/250/241/345/274/217/344/270/273/351/242/230/351/242/234/350/211/262/351/200/202/351/205/215.md +19 -0
  181. package/vendor/BadCase/rn/rules/R-11-/346/216/245/345/217/243/345/233/236/350/260/203/345/256/236/347/216/260/345/256/214/346/225/264/346/200/247.md +20 -0
  182. package/vendor/BadCase/rn/rules/R-12-/345/216/237/347/224/237/350/277/220/350/241/214/346/227/266/350/265/204/346/272/220/346/236/220/346/236/204/346/227/266/345/272/217.md +20 -0
  183. package/vendor/BadCase/rn/rules/R-13-/346/226/207/344/273/266/346/225/260/346/215/256/347/274/226/347/240/201/344/270/216/346/240/274/345/274/217/345/205/274/345/256/271.md +21 -0
  184. package/vendor/BadCase/rn/rules/R-14-/345/212/250/347/224/273/345/210/235/345/247/213/345/214/226/346/227/266/345/272/217/344/270/216/347/212/266/346/200/201/345/220/214/346/255/245.md +20 -0
  185. package/vendor/BadCase/rn/rules/R-15-/347/212/266/346/200/201/346/214/201/344/271/205/345/214/226/344/270/216/351/207/215/345/220/257/351/200/273/350/276/221/344/270/200/350/207/264/346/200/247.md +20 -0
  186. package/vendor/BadCase/rn/rules/R-16-/346/225/217/346/204/237/344/277/241/346/201/257/346/227/245/345/277/227/346/263/204/351/234/262.md +19 -0
  187. package/vendor/BadCase/rn/rules/R-17-/345/252/222/344/275/223/350/265/204/346/272/220/347/224/237/345/221/275/345/221/250/346/234/237/344/270/216/351/224/231/350/257/257/345/244/204/347/220/206.md +21 -0
  188. package/vendor/BadCase/rn/rules/R-18-/350/203/275/345/212/233/346/236/232/344/270/276/351/205/215/347/275/256/345/256/214/346/225/264/346/200/247.md +19 -0
  189. package/vendor/BadCase/rn/rules/R-19-/345/233/276/345/275/242/346/270/262/346/237/223/345/261/236/346/200/247/347/273/247/346/211/277/344/270/216/351/207/215/347/275/256.md +19 -0
  190. package/vendor/MCP/README.md +490 -0
  191. package/vendor/MCP/config.json +29 -0
  192. package/vendor/MCP/package.json +23 -0
  193. package/vendor/MCP/scripts/analyze-demo-coverage.cjs +1203 -0
  194. package/vendor/MCP/scripts/analyze-xts-coverage.cjs +1245 -0
  195. package/vendor/MCP/scripts/deveco_docs.js +247 -0
  196. package/vendor/MCP/scripts/extract-interfaces.cjs +1487 -0
  197. package/vendor/MCP/scripts/flutter-analyze-demo-coverage.cjs +666 -0
  198. package/vendor/MCP/scripts/flutter-analyze-xts-coverage.cjs +684 -0
  199. package/vendor/MCP/scripts/flutter-extract-interfaces.cjs +1251 -0
  200. package/vendor/MCP/scripts/flutter-render-spec-doc.cjs +351 -0
  201. package/vendor/MCP/scripts/render-spec-doc.cjs +347 -0
  202. package/vendor/MCP/scripts/rn-analyze-demo-coverage.cjs +645 -0
  203. package/vendor/MCP/scripts/rn-analyze-test-coverage.cjs +614 -0
  204. package/vendor/MCP/scripts/rn-extract-interfaces.cjs +1462 -0
  205. package/vendor/MCP/scripts/rn-render-spec-doc.cjs +327 -0
  206. package/vendor/MCP/scripts/rn-scan-exports.cjs +1336 -0
  207. package/vendor/MCP/src/client/MCPClientPool.js +220 -0
  208. package/vendor/MCP/src/config/ConfigLoader.js +189 -0
  209. package/vendor/MCP/src/executor/ScriptExecutor.js +110 -0
  210. package/vendor/MCP/src/gateway/Gateway.js +451 -0
  211. package/vendor/MCP/src/index.js +87 -0
  212. package/vendor/MCP/src/library/KBToolProvider.js +229 -0
  213. package/vendor/MCP/src/library/logger.js +60 -0
  214. package/vendor/MCP/src/registry/ScriptRegistry.js +238 -0
  215. package/vendor/MCP/src/registry/ToolRegistry.js +111 -0
  216. package/vendor/MCP/src/types.js +115 -0
  217. package/vendor/Server/CLI/cli.js +3 -3
  218. package/vendor/Server/Routes/server.js +3 -3
  219. package/vendor/Server/Skills/arkts-library-test-coverage-check/references/MCP_TOOL_USAGE.md +4 -2
  220. package/vendor/Server/Skills/arkts-library-xts-coverage/SKILL.md +3 -3
  221. package/vendor/Server/Skills/knowledge-import/SKILL.md +1 -1
  222. package/vendor/Server/Skills/knowledge-import/references/MCP_TOOL_USAGE.md +12 -4
  223. package/vendor/Server/Skills/ohos-lib-pr-push/SKILL.md +5 -4
  224. package/vendor/Server/Skills/rn-library-issue-generalizer/SKILL.md +2 -2
  225. package/vendor/Server/Skills/rn-library-known-issue-check/SKILL.md +2 -2
  226. package/vendor/Server/Skills/rnoh-lib-demo-coverage/SKILL.md +1 -2
  227. package/vendor/Server/Skills/rnoh-lib-test-align/references/port-test-demo-guide.md +1 -1
  228. package/vendor/Server/Skills/rnoh-lib-xts-coverage/SKILL.md +1 -2
  229. package/vendor/Server/package.json +5 -1
  230. package/vendor/VERSION +3 -3
@@ -0,0 +1,1351 @@
1
+ {
2
+ "pr": {
3
+ "id": 8828972,
4
+ "html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/merge_requests/27",
5
+ "number": 27,
6
+ "state": "merged",
7
+ "title": "feat(77):实现onLocationError功能",
8
+ "url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-amap-geolocation/pulls/27",
9
+ "issue_url": "https://api.gitcode.com/api/v5/repos/CPF-RN/rntpc_react-native-amap-geolocation/pulls/27/issues",
10
+ "body": "feat(77):实现onLocationError功能",
11
+ "assignees_number": 2,
12
+ "assignees": [
13
+ {
14
+ "id": "6731c8f2fbbddc0c200a6019",
15
+ "login": "zhu_chengcheng",
16
+ "name": "zhu_chengcheng",
17
+ "avatar_url": "https://cdn-img.gitcode.com/fe/bd/f406eb600317d9bbb6a5c23042b49e5193dfbb7a63ee407f5bbfcbabcd177af1.jpg",
18
+ "html_url": "https://gitcode.com/zhu_chengcheng",
19
+ "assignee": true,
20
+ "code_owner": false,
21
+ "accept": false
22
+ },
23
+ {
24
+ "id": "67fdb69df01e3c566929edd4",
25
+ "login": "gcw_N7oHqLFR",
26
+ "name": "huang_jy",
27
+ "avatar_url": "",
28
+ "html_url": "https://gitcode.com/gcw_N7oHqLFR",
29
+ "assignee": true,
30
+ "code_owner": false,
31
+ "accept": false
32
+ }
33
+ ],
34
+ "testers": [
35
+ {
36
+ "id": "6541ccea82d8f837210e92c3",
37
+ "login": "openharmony_ci",
38
+ "name": "openharmony_ci",
39
+ "avatar_url": "https://cdn-img.gitcode.com/cb/be/5cb10620b4e9195576142df69cd44bb84df15d769c2a04eff5bf7324b903022c.png?time=1723462328974",
40
+ "html_url": "https://gitcode.com/openharmony_ci",
41
+ "assignee": false,
42
+ "code_owner": false,
43
+ "accept": false
44
+ }
45
+ ],
46
+ "approval_reviewers": [],
47
+ "labels": [
48
+ {
49
+ "id": 13245237,
50
+ "color": "#428BCA",
51
+ "name": "dco检查成功",
52
+ "repository_id": 4368964,
53
+ "created_at": "2026-07-04T09:26:41+08:00",
54
+ "updated_at": "2026-07-04T09:26:41+08:00"
55
+ }
56
+ ],
57
+ "created_at": "2026-07-04T09:26:06+08:00",
58
+ "updated_at": "2026-07-04T15:53:42+08:00",
59
+ "closed_at": "2026-07-04T15:53:42+08:00",
60
+ "merged_at": "2026-07-04T15:53:42+08:00",
61
+ "merged_by": {
62
+ "id": "67fdb69df01e3c566929edd4",
63
+ "login": "gcw_N7oHqLFR",
64
+ "name": "huang_jy",
65
+ "avatar_url": "",
66
+ "html_url": "https://gitcode.com/gcw_N7oHqLFR"
67
+ },
68
+ "draft": false,
69
+ "can_merge_check": false,
70
+ "prune_branch": false,
71
+ "mergeable": true,
72
+ "user": {
73
+ "id": "672d6a09fbbddc0c2008a7e2",
74
+ "login": "a1461848339",
75
+ "name": "zeming",
76
+ "avatar_url": "https://cdn-img.gitcode.com/ab/dc/abdcdcafbd23a9e56c109f0dae4cc4a297703fd55236c2ab6354770ed17b8ef2.jpg",
77
+ "html_url": "https://gitcode.com/a1461848339"
78
+ },
79
+ "head": {
80
+ "ref": "77code",
81
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
82
+ "label": "77code",
83
+ "repo": {
84
+ "path": "rntpc_react-native-amap-geolocation",
85
+ "name": "rntpc_react-native-amap-geolocation",
86
+ "namespace": {
87
+ "path": "a1461848339"
88
+ },
89
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
90
+ "html_url": "https://gitcode.com/a1461848339/rntpc_react-native-amap-geolocation.git"
91
+ },
92
+ "user": {
93
+ "id": "672d6a09fbbddc0c2008a7e2",
94
+ "login": "a1461848339",
95
+ "name": "zeming",
96
+ "avatar_url": "https://cdn-img.gitcode.com/ab/dc/abdcdcafbd23a9e56c109f0dae4cc4a297703fd55236c2ab6354770ed17b8ef2.jpg",
97
+ "html_url": "https://gitcode.com/a1461848339"
98
+ }
99
+ },
100
+ "base": {
101
+ "ref": "br_rnoh0.77",
102
+ "sha": "7d754e65450002cf58f02c5d0090de8371fa8fa0",
103
+ "label": "br_rnoh0.77",
104
+ "repo": {
105
+ "path": "rntpc_react-native-amap-geolocation",
106
+ "name": "rntpc_react-native-amap-geolocation",
107
+ "namespace": {
108
+ "path": "CPF-RN"
109
+ },
110
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
111
+ "html_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation.git"
112
+ }
113
+ },
114
+ "mergeable_state": {
115
+ "merge_request_id": 8828972,
116
+ "state": false,
117
+ "status_without_user_auth": false,
118
+ "conflict_passed": true,
119
+ "branch_missing_passed": true,
120
+ "non_ff_passed": true,
121
+ "mr_state_passed": true,
122
+ "merged_by_user_passed": true,
123
+ "work_in_progress_passed": true,
124
+ "resolve_discussion_passed": false,
125
+ "ci_state_passed": true,
126
+ "merge_by_self_passed": true,
127
+ "can_force_merge": true,
128
+ "approval_reviewers_required_passed": true,
129
+ "approval_approvers_required_passed": false,
130
+ "approval_testers_required_passed": false,
131
+ "merge_request_switch": {
132
+ "review_mode": "approval",
133
+ "merge_method": "merge",
134
+ "only_allow_merge_if_all_discussions_are_resolved": true,
135
+ "disable_merge_by_self": true,
136
+ "only_allow_merge_if_pipeline_succeeds": false,
137
+ "disable_squash_merge": false,
138
+ "squash_merge_with_no_merge_commit": false,
139
+ "approval_required_reviewers_count": 0,
140
+ "approval_required_reviewers_branch": "*",
141
+ "add_notes_after_merged": true,
142
+ "mark_auto_merged_mr_as_closed": false,
143
+ "can_force_merge": true,
144
+ "can_reopen": true
145
+ },
146
+ "reason": {},
147
+ "check_tasks_num": 2,
148
+ "all_depend_merge_request_merged_passed": true,
149
+ "approval_approvers_result": 1,
150
+ "approval_testers_result": 1
151
+ },
152
+ "visibility_reason": "public",
153
+ "close_related_issue": true,
154
+ "squash_merge": false
155
+ },
156
+ "files": [
157
+ {
158
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
159
+ "filename": "CHANGELOG.md",
160
+ "additions": 4,
161
+ "deletions": 1,
162
+ "blob_id": "eace9aa611bd2aa2a4597e286cdf731a5ccb3f4c",
163
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/CHANGELOG.md",
164
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/CHANGELOG.md",
165
+ "patch": "@@ -1,5 +1,8 @@\n-# v1.2.4-rc.1\n+\n+\n ## ReleaseLog\n+### v1.3.1-rc.1\n+- feat: 实现onLocationError功能\n ### v1.3.0\n - release version 1.3.0\n \n",
166
+ "target_branch": "br_rnoh0.77",
167
+ "source_branch": "77code",
168
+ "source_project": {
169
+ "id": 9487170,
170
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
171
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
172
+ "path": "rntpc_react-native-amap-geolocation"
173
+ },
174
+ "target_project": {
175
+ "id": 4368964,
176
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
177
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
178
+ "path": "rntpc_react-native-amap-geolocation"
179
+ }
180
+ },
181
+ {
182
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
183
+ "filename": "OAT.xml",
184
+ "additions": 6,
185
+ "deletions": 1,
186
+ "blob_id": "8ba1001740032b3e9be961b3e34f6a9d2e7cb119",
187
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/OAT.xml",
188
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/OAT.xml",
189
+ "patch": "@@ -4,6 +4,8 @@\n <licensefile>LICENSE</licensefile>\n <filefilterlist>\n <filefilter name=\"copyrightPolicyFilter\" desc=\"Filters for compatibility,license header policies\">\n+ <filteritem type=\"filepath\" name=\"example/.*\" desc=\"generated example project, no copyright header required\"/>\n+ <filteritem type=\"filepath\" name=\"buildEnv.sh\" desc=\"generated example build environment script, no copyright header required\"/>\n <filteritem type=\"filename\" name=\"hvigorfile.ts\" desc=\"hvigor构建脚本,DevEco Studio自动生成,不需要添加版权头\"/>\n <filteritem type=\"filename\" name=\"*.json5\" desc=\"hvigor工程配置文件,DevEco Studio自动生成,不需要添加版权头\"/>\n <filteritem type=\"filename\" name=\"*.proto\" desc=\"资源文件,不需要添加版权头\"/>\n@@ -14,6 +16,8 @@\n <filteritem type=\"filename\" name=\"LICENSE\" desc=\"工程文件,不修改版权头\"/>\n </filefilter>\n <filefilter name=\"defaultPolicyFilter\" desc=\"Filters for compatibility,license header policies\">\n+ <filteritem type=\"filepath\" name=\"example/.*\" desc=\"generated example project, no license header required\"/>\n+ <filteritem type=\"filepath\" name=\"buildEnv.sh\" desc=\"generated example build environment script, no license header required\"/>\n <filteritem type=\"filename\" name=\"hvigorfile.ts\" desc=\"hvigor构建脚本,DevEco Studio自动生成,不需要添加许可证头\"/>\n <filteritem type=\"filename\" name=\"*.json5\" desc=\"hvigor工程配置文件,DevEco Studio自动生成,不需要添加许可证头\"/>\n <filteritem type=\"filename\" name=\"LICENSE\" desc=\"原三方库证书文件无需更改,因此添加过滤\"/>\n@@ -24,6 +28,7 @@\n <filteritem type=\"filepath\" name=\"hvigor/hvigor-wrapper.js\" desc=\"工程模板,不修改版权头,以防有修改版权风险\"/>\n </filefilter>\n <filefilter name=\"binaryFileTypePolicyFilter\" desc=\"Filters for resources files policies\">\n+ <filteritem type=\"filepath\" name=\"example/.*\" desc=\"generated example project resources\"/>\n <filteritem type=\"filename\" name=\"icon.png\" desc=\"应用图标\"/>\n <filteritem type=\"filename\" name=\"app_icon.png\" desc=\"应用图标\"/>\n </filefilter>\n@@ -34,4 +39,4 @@\n </policy>\n </policylist>\n </oatconfig>\n-</configuration>\n\\n+</configuration>\n",
190
+ "target_branch": "br_rnoh0.77",
191
+ "source_branch": "77code",
192
+ "source_project": {
193
+ "id": 9487170,
194
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
195
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
196
+ "path": "rntpc_react-native-amap-geolocation"
197
+ },
198
+ "target_project": {
199
+ "id": 4368964,
200
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
201
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
202
+ "path": "rntpc_react-native-amap-geolocation"
203
+ }
204
+ },
205
+ {
206
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
207
+ "filename": "example/.eslintrc",
208
+ "status": "added",
209
+ "additions": 13,
210
+ "deletions": 0,
211
+ "blob_id": "f66f0badf79a3bf439968dbf2fcac3977918883d",
212
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/.eslintrc",
213
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/.eslintrc",
214
+ "patch": "@@ -0,0 +1,13 @@\n+{\n+ \"extends\": \"@react-native\",\n+ \"rules\": {\n+ \"react-native/no-inline-styles\": \"off\",\n+ \"react/no-unstable-nested-components\": \"off\",\n+ \"react/react-in-jsx-scope\": \"off\",\n+ \"@typescript-eslint/no-unused-vars\": \"warn\",\n+ \"react-hooks/exhaustive-deps\": \"off\",\n+ \"radix\": \"off\",\n+ \"prettier/prettier\": \"warn\",\n+ \"max-lines\": \"off\"\n+ }\n+}\n",
215
+ "target_branch": "br_rnoh0.77",
216
+ "source_branch": "77code",
217
+ "source_project": {
218
+ "id": 9487170,
219
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
220
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
221
+ "path": "rntpc_react-native-amap-geolocation"
222
+ },
223
+ "target_project": {
224
+ "id": 4368964,
225
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
226
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
227
+ "path": "rntpc_react-native-amap-geolocation"
228
+ }
229
+ },
230
+ {
231
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
232
+ "filename": "example/.gitignore",
233
+ "status": "added",
234
+ "additions": 43,
235
+ "deletions": 0,
236
+ "blob_id": "d21cbdbc990762db1057404234301d314065b16e",
237
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/.gitignore",
238
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/.gitignore",
239
+ "patch": "@@ -0,0 +1,43 @@\n+.husky\n+bundle.harmony.js\n+package-lock.json\n+*.hbc\n+lintCppResult.txt\n+\n+# OSX\n+.DS_Store\n+\n+# Xcode\n+build/\n+*.pbxuser\n+!default.pbxuser\n+*.mode1v3\n+!default.mode1v3\n+*.mode2v3\n+!default.mode2v3\n+*.perspectivev3\n+!default.perspectivev3\n+xcuserdata\n+*.xccheckout\n+*.moved-aside\n+DerivedData\n+*.hmap\n+*.ipa\n+*.xcuserstate\n+\n+# Android/IntelliJ\n+build/\n+.idea\n+.gradle\n+local.properties\n+*.iml\n+*.hprof\n+.cxx/\n+*.keystore\n+!debug.keystore\n+BuildProfile.ets\n+\n+# node.js\n+node_modules/\n+npm-debug.log\n+yarn-error.log\n",
240
+ "target_branch": "br_rnoh0.77",
241
+ "source_branch": "77code",
242
+ "source_project": {
243
+ "id": 9487170,
244
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
245
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
246
+ "path": "rntpc_react-native-amap-geolocation"
247
+ },
248
+ "target_project": {
249
+ "id": 4368964,
250
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
251
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
252
+ "path": "rntpc_react-native-amap-geolocation"
253
+ }
254
+ },
255
+ {
256
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
257
+ "filename": "example/.node-version",
258
+ "status": "added",
259
+ "additions": 1,
260
+ "deletions": 0,
261
+ "blob_id": "3c032078a4a21c5c51d3c93d91717c1dabbb8cd0",
262
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/.node-version",
263
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/.node-version",
264
+ "patch": "@@ -0,0 +1 @@\n+18\n",
265
+ "target_branch": "br_rnoh0.77",
266
+ "source_branch": "77code",
267
+ "source_project": {
268
+ "id": 9487170,
269
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
270
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
271
+ "path": "rntpc_react-native-amap-geolocation"
272
+ },
273
+ "target_project": {
274
+ "id": 4368964,
275
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
276
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
277
+ "path": "rntpc_react-native-amap-geolocation"
278
+ }
279
+ },
280
+ {
281
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
282
+ "filename": "example/.prettierrc.js",
283
+ "status": "added",
284
+ "additions": 7,
285
+ "deletions": 0,
286
+ "blob_id": "2ae7b381ed9590ddf3ba512a496dc8d53dadeea0",
287
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/.prettierrc.js",
288
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/.prettierrc.js",
289
+ "patch": "@@ -0,0 +1,7 @@\n+module.exports = {\n+ arrowParens: 'avoid',\n+ bracketSameLine: true,\n+ bracketSpacing: true,\n+ singleQuote: true,\n+ trailingComma: 'all',\n+};\n",
290
+ "target_branch": "br_rnoh0.77",
291
+ "source_branch": "77code",
292
+ "source_project": {
293
+ "id": 9487170,
294
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
295
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
296
+ "path": "rntpc_react-native-amap-geolocation"
297
+ },
298
+ "target_project": {
299
+ "id": 4368964,
300
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
301
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
302
+ "path": "rntpc_react-native-amap-geolocation"
303
+ }
304
+ },
305
+ {
306
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
307
+ "filename": "example/.watchmanconfig",
308
+ "status": "added",
309
+ "additions": 1,
310
+ "deletions": 0,
311
+ "blob_id": "0967ef424bce6791893e9a57bb952f80fd536e93",
312
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/.watchmanconfig",
313
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/.watchmanconfig",
314
+ "patch": "@@ -0,0 +1 @@\n+{}\n",
315
+ "target_branch": "br_rnoh0.77",
316
+ "source_branch": "77code",
317
+ "source_project": {
318
+ "id": 9487170,
319
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
320
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
321
+ "path": "rntpc_react-native-amap-geolocation"
322
+ },
323
+ "target_project": {
324
+ "id": 4368964,
325
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
326
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
327
+ "path": "rntpc_react-native-amap-geolocation"
328
+ }
329
+ },
330
+ {
331
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
332
+ "filename": "example/app.json",
333
+ "status": "added",
334
+ "additions": 4,
335
+ "deletions": 0,
336
+ "blob_id": "fca72ae57ac061d7cb91cf81d05477199ff03d57",
337
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/app.json",
338
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/app.json",
339
+ "patch": "@@ -0,0 +1,4 @@\n+{\n+ \"name\": \"app_name\",\n+ \"displayName\": \"tester\"\n+}\n",
340
+ "target_branch": "br_rnoh0.77",
341
+ "source_branch": "77code",
342
+ "source_project": {
343
+ "id": 9487170,
344
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
345
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
346
+ "path": "rntpc_react-native-amap-geolocation"
347
+ },
348
+ "target_project": {
349
+ "id": 4368964,
350
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
351
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
352
+ "path": "rntpc_react-native-amap-geolocation"
353
+ }
354
+ },
355
+ {
356
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
357
+ "filename": "example/babel.config.js",
358
+ "status": "added",
359
+ "additions": 5,
360
+ "deletions": 0,
361
+ "blob_id": "5b1f856cf9500e80cde00a5addb155612341fbd1",
362
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/babel.config.js",
363
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/babel.config.js",
364
+ "patch": "@@ -0,0 +1,5 @@\n+module.exports = {\n+ presets: ['module:@react-native/babel-preset'],\n+ plugins: [\n+ ],\n+};\n",
365
+ "target_branch": "br_rnoh0.77",
366
+ "source_branch": "77code",
367
+ "source_project": {
368
+ "id": 9487170,
369
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
370
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
371
+ "path": "rntpc_react-native-amap-geolocation"
372
+ },
373
+ "target_project": {
374
+ "id": 4368964,
375
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
376
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
377
+ "path": "rntpc_react-native-amap-geolocation"
378
+ }
379
+ },
380
+ {
381
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
382
+ "filename": "example/contexts.ts",
383
+ "status": "added",
384
+ "additions": 3,
385
+ "deletions": 0,
386
+ "blob_id": "9437598452691ccc56d19f5532607475aa5d33b4",
387
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/contexts.ts",
388
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/contexts.ts",
389
+ "patch": "@@ -0,0 +1,3 @@\n+import React from 'react';\n+\n+export const AppParamsContext = React.createContext(undefined);\n",
390
+ "target_branch": "br_rnoh0.77",
391
+ "source_branch": "77code",
392
+ "source_project": {
393
+ "id": 9487170,
394
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
395
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
396
+ "path": "rntpc_react-native-amap-geolocation"
397
+ },
398
+ "target_project": {
399
+ "id": 4368964,
400
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
401
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
402
+ "path": "rntpc_react-native-amap-geolocation"
403
+ }
404
+ },
405
+ {
406
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
407
+ "filename": "example/harmony/.gitignore",
408
+ "status": "added",
409
+ "additions": 17,
410
+ "deletions": 0,
411
+ "blob_id": "f0517cd5ca1c01e7eb76d9a79df3712b7e05dd7d",
412
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/.gitignore",
413
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/.gitignore",
414
+ "patch": "@@ -0,0 +1,17 @@\n+package-lock.json\n+/build-profile.json5\n+\n+rnoh_modules\n+\n+**/oh-package-lock.json5\n+\n+/node_modules\n+/local.properties\n+/.idea\n+**/build\n+/.hvigor\n+.cxx\n+/.clangd\n+/.clang-format\n+/.clang-tidy\n+/oh_modules\n",
415
+ "target_branch": "br_rnoh0.77",
416
+ "source_branch": "77code",
417
+ "source_project": {
418
+ "id": 9487170,
419
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
420
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
421
+ "path": "rntpc_react-native-amap-geolocation"
422
+ },
423
+ "target_project": {
424
+ "id": 4368964,
425
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
426
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
427
+ "path": "rntpc_react-native-amap-geolocation"
428
+ }
429
+ },
430
+ {
431
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
432
+ "filename": "example/harmony/AppScope/app.json5",
433
+ "status": "added",
434
+ "additions": 10,
435
+ "deletions": 0,
436
+ "blob_id": "aeefa99e4d2ef4be0c4fcdf5b9071f051c5ce92b",
437
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/AppScope/app.json5",
438
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/AppScope/app.json5",
439
+ "patch": "@@ -0,0 +1,10 @@\n+{\n+ \"app\": {\n+ \"bundleName\": \"com.rntpc.amapgeolocation.demo\",\n+ \"vendor\": \"example\",\n+ \"versionCode\": 1000000,\n+ \"versionName\": \"1.0.0\",\n+ \"icon\": \"$media:app_icon\",\n+ \"label\": \"$string:app_name\"\n+ }\n+}\n",
440
+ "target_branch": "br_rnoh0.77",
441
+ "source_branch": "77code",
442
+ "source_project": {
443
+ "id": 9487170,
444
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
445
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
446
+ "path": "rntpc_react-native-amap-geolocation"
447
+ },
448
+ "target_project": {
449
+ "id": 4368964,
450
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
451
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
452
+ "path": "rntpc_react-native-amap-geolocation"
453
+ }
454
+ },
455
+ {
456
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
457
+ "filename": "example/harmony/AppScope/resources/base/element/string.json",
458
+ "status": "added",
459
+ "additions": 8,
460
+ "deletions": 0,
461
+ "blob_id": "698a720065342ae0dadad63eb87d45fec8725f36",
462
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/AppScope/resources/base/element/string.json",
463
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/AppScope/resources/base/element/string.json",
464
+ "patch": "@@ -0,0 +1,8 @@\n+{\n+ \"string\": [\n+ {\n+ \"name\": \"app_name\",\n+ \"value\": \"RN Tester\"\n+ }\n+ ]\n+}\n",
465
+ "target_branch": "br_rnoh0.77",
466
+ "source_branch": "77code",
467
+ "source_project": {
468
+ "id": 9487170,
469
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
470
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
471
+ "path": "rntpc_react-native-amap-geolocation"
472
+ },
473
+ "target_project": {
474
+ "id": 4368964,
475
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
476
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
477
+ "path": "rntpc_react-native-amap-geolocation"
478
+ }
479
+ },
480
+ {
481
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
482
+ "filename": "example/harmony/build-profile.template.json5",
483
+ "status": "added",
484
+ "additions": 45,
485
+ "deletions": 0,
486
+ "blob_id": "9ef6c16de6d2c10b35bcaa344199734a5a431669",
487
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/build-profile.template.json5",
488
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/build-profile.template.json5",
489
+ "patch": "@@ -0,0 +1,45 @@\n+{\n+ \"app\": {\n+ \"products\": [\n+ {\n+ \"name\": 'default',\n+ \"signingConfig\": 'default',\n+ \"compatibleSdkVersion\": '5.0.0(12)',\n+ \"runtimeOS\": 'HarmonyOS',\n+ \"buildOption\": {\n+ \"strictMode\": {\n+ \"caseSensitiveCheck\": true,\n+ \"useNormalizedOHMUrl\": false\n+ }\n+ }\n+ },\n+ ],\n+ \"buildModeSet\": [\n+ {\n+ \"name\": 'debug',\n+ },\n+ {\n+ \"name\": 'release',\n+ },\n+ ],\n+ \"signingConfigs\": []\n+ },\n+ \"modules\": [\n+ {\n+ \"name\": 'entry',\n+ \"srcPath\": './entry',\n+ \"targets\": [\n+ {\n+ \"name\": 'default',\n+ \"applyToProducts\": [\n+ 'default'\n+ ],\n+ },\n+ ],\n+ },\n+ {\n+ \"name\": 'amap_geolocation',\n+ \"srcPath\": '../../harmony/amap_geolocation'\n+ }\n+ ],\n+}\n",
490
+ "target_branch": "br_rnoh0.77",
491
+ "source_branch": "77code",
492
+ "source_project": {
493
+ "id": 9487170,
494
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
495
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
496
+ "path": "rntpc_react-native-amap-geolocation"
497
+ },
498
+ "target_project": {
499
+ "id": 4368964,
500
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
501
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
502
+ "path": "rntpc_react-native-amap-geolocation"
503
+ }
504
+ },
505
+ {
506
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
507
+ "filename": "example/harmony/codelinter.json",
508
+ "status": "added",
509
+ "additions": 1,
510
+ "deletions": 0,
511
+ "blob_id": "0967ef424bce6791893e9a57bb952f80fd536e93",
512
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/codelinter.json",
513
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/codelinter.json",
514
+ "patch": "@@ -0,0 +1 @@\n+{}\n",
515
+ "target_branch": "br_rnoh0.77",
516
+ "source_branch": "77code",
517
+ "source_project": {
518
+ "id": 9487170,
519
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
520
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
521
+ "path": "rntpc_react-native-amap-geolocation"
522
+ },
523
+ "target_project": {
524
+ "id": 4368964,
525
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
526
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
527
+ "path": "rntpc_react-native-amap-geolocation"
528
+ }
529
+ },
530
+ {
531
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
532
+ "filename": "example/harmony/entry/.gitignore",
533
+ "status": "added",
534
+ "additions": 7,
535
+ "deletions": 0,
536
+ "blob_id": "bbc049cfeb689c61d6c2922810f652cbb19aad21",
537
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/.gitignore",
538
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/.gitignore",
539
+ "patch": "@@ -0,0 +1,7 @@\n+/node_modules\n+/.preview\n+/build\n+/.cxx\n+package-lock.json\n+/oh_modules\n+/assets\n",
540
+ "target_branch": "br_rnoh0.77",
541
+ "source_branch": "77code",
542
+ "source_project": {
543
+ "id": 9487170,
544
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
545
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
546
+ "path": "rntpc_react-native-amap-geolocation"
547
+ },
548
+ "target_project": {
549
+ "id": 4368964,
550
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
551
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
552
+ "path": "rntpc_react-native-amap-geolocation"
553
+ }
554
+ },
555
+ {
556
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
557
+ "filename": "example/harmony/entry/build-profile.json5",
558
+ "status": "added",
559
+ "additions": 22,
560
+ "deletions": 0,
561
+ "blob_id": "3aece2468be44758ce364d009d2e8a07dcf8ba7b",
562
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/build-profile.json5",
563
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/build-profile.json5",
564
+ "patch": "@@ -0,0 +1,22 @@\n+{\n+ \"apiType\": 'stageMode',\n+ \"buildOption\": {\n+ \"externalNativeOptions\": {\n+ \"path\": \"./src/main/cpp/CMakeLists.txt\",\n+ \"arguments\": \"\",\n+ \"cppFlags\": \"-s\",\n+ \"abiFilters\": [\n+ \"arm64-v8a\",\n+ \"x86_64\"\n+ ]\n+ },\n+ },\n+ \"targets\": [\n+ {\n+ \"name\": \"default\",\n+ },\n+ {\n+ \"name\": \"ohosTest\",\n+ }\n+ ]\n+}\n",
565
+ "target_branch": "br_rnoh0.77",
566
+ "source_branch": "77code",
567
+ "source_project": {
568
+ "id": 9487170,
569
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
570
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
571
+ "path": "rntpc_react-native-amap-geolocation"
572
+ },
573
+ "target_project": {
574
+ "id": 4368964,
575
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
576
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
577
+ "path": "rntpc_react-native-amap-geolocation"
578
+ }
579
+ },
580
+ {
581
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
582
+ "filename": "example/harmony/entry/hvigorfile.ts",
583
+ "status": "added",
584
+ "additions": 1,
585
+ "deletions": 0,
586
+ "blob_id": "dcb7475839707ffb18ebbbd4c2dd0fc048f30309",
587
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/hvigorfile.ts",
588
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/hvigorfile.ts",
589
+ "patch": "@@ -0,0 +1 @@\n+export { hapTasks } from '@ohos/hvigor-ohos-plugin';\n",
590
+ "target_branch": "br_rnoh0.77",
591
+ "source_branch": "77code",
592
+ "source_project": {
593
+ "id": 9487170,
594
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
595
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
596
+ "path": "rntpc_react-native-amap-geolocation"
597
+ },
598
+ "target_project": {
599
+ "id": 4368964,
600
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
601
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
602
+ "path": "rntpc_react-native-amap-geolocation"
603
+ }
604
+ },
605
+ {
606
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
607
+ "filename": "example/harmony/entry/oh-package.json5",
608
+ "status": "added",
609
+ "additions": 11,
610
+ "deletions": 0,
611
+ "blob_id": "733be6a3d24b14ef4ddc565924538a76da09ec9c",
612
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/oh-package.json5",
613
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/oh-package.json5",
614
+ "patch": "@@ -0,0 +1,11 @@\n+{\n+ \"license\": \"ISC\",\n+ \"devDependencies\": {},\n+ \"name\": \"entry\",\n+ \"description\": \"example description\",\n+ \"version\": \"1.0.0\",\n+ \"dependencies\": {\n+ \"@rnoh/react-native-openharmony\": \"file:../../node_modules/react-native-harmony/react_native_openharmony.har\",\n+ \"@react-native-ohos/react-native-amap-geolocation\": \"file:../../node_modules/@react-native-ohos/react-native-amap-geolocation/harmony/amap_geolocation.har\"\n+ }\n+}\n",
615
+ "target_branch": "br_rnoh0.77",
616
+ "source_branch": "77code",
617
+ "source_project": {
618
+ "id": 9487170,
619
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
620
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
621
+ "path": "rntpc_react-native-amap-geolocation"
622
+ },
623
+ "target_project": {
624
+ "id": 4368964,
625
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
626
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
627
+ "path": "rntpc_react-native-amap-geolocation"
628
+ }
629
+ },
630
+ {
631
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
632
+ "filename": "example/harmony/entry/src/main/cpp/.gitignore",
633
+ "status": "added",
634
+ "additions": 2,
635
+ "deletions": 0,
636
+ "blob_id": "881dde5479f322de9db2b2bb98fd94a95f73715e",
637
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/cpp/.gitignore",
638
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/cpp/.gitignore",
639
+ "patch": "@@ -0,0 +1,2 @@\n+jsbundle.h\n+generated/\n",
640
+ "target_branch": "br_rnoh0.77",
641
+ "source_branch": "77code",
642
+ "source_project": {
643
+ "id": 9487170,
644
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
645
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
646
+ "path": "rntpc_react-native-amap-geolocation"
647
+ },
648
+ "target_project": {
649
+ "id": 4368964,
650
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
651
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
652
+ "path": "rntpc_react-native-amap-geolocation"
653
+ }
654
+ },
655
+ {
656
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
657
+ "filename": "example/harmony/entry/src/main/cpp/CMakeLists.txt",
658
+ "status": "added",
659
+ "additions": 35,
660
+ "deletions": 0,
661
+ "blob_id": "53666e1a2a71ad8d45999e036c75d15ac9eebc04",
662
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/cpp/CMakeLists.txt",
663
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/cpp/CMakeLists.txt",
664
+ "patch": "@@ -0,0 +1,35 @@\n+project(rnapp)\n+cmake_minimum_required(VERSION 3.4.1)\n+set(CMAKE_SKIP_BUILD_RPATH TRUE)\n+set(RNOH_APP_DIR \"${CMAKE_CURRENT_SOURCE_DIR}\")\n+set(NODE_MODULES \"${CMAKE_CURRENT_SOURCE_DIR}/../../../../../node_modules\")\n+set(OH_MODULE_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules\")\n+set(RNOH_CPP_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp\")\n+set(LOG_VERBOSITY_LEVEL 1)\n+set(CMAKE_ASM_FLAGS \"-Wno-error=unused-command-line-argument -Qunused-arguments\")\n+set(CMAKE_CXX_FLAGS \"-fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie\")\n+set(OH_MODULES \"${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules\")\n+\n+set(WITH_HITRACE_SYSTRACE 1)\n+add_compile_definitions(WITH_HITRACE_SYSTRACE)\n+\n+set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})\n+\n+include_directories(${NATIVERENDER_ROOT_PATH}\n+ ${NATIVERENDER_ROOT_PATH}/include)\n+\n+add_subdirectory(\"${RNOH_CPP_DIR}\" ./rn)\n+\n+# RNOH_BEGIN: manual_package_linking_1\n+add_subdirectory(\"${OH_MODULE_DIR}/@react-native-ohos/react-native-amap-geolocation/src/main/cpp\" ./amap_geolocation)\n+# RNOH_END: manual_package_linking_1\n+\n+add_library(rnoh_app SHARED\n+ \"./PackageProvider.cpp\"\n+ \"${RNOH_CPP_DIR}/RNOHAppNapiBridge.cpp\"\n+)\n+target_link_libraries(rnoh_app PUBLIC rnoh)\n+\n+# RNOH_BEGIN: manual_package_linking_2\n+target_link_libraries(rnoh_app PUBLIC rnoh_amap_geolocation)\n+# RNOH_END: manual_package_linking_2\n",
665
+ "target_branch": "br_rnoh0.77",
666
+ "source_branch": "77code",
667
+ "source_project": {
668
+ "id": 9487170,
669
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
670
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
671
+ "path": "rntpc_react-native-amap-geolocation"
672
+ },
673
+ "target_project": {
674
+ "id": 4368964,
675
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
676
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
677
+ "path": "rntpc_react-native-amap-geolocation"
678
+ }
679
+ },
680
+ {
681
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
682
+ "filename": "example/harmony/entry/src/main/cpp/PackageProvider.cpp",
683
+ "status": "added",
684
+ "additions": 11,
685
+ "deletions": 0,
686
+ "blob_id": "30b6041215140bae399bdcc2d0438a2d5407f368",
687
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/cpp/PackageProvider.cpp",
688
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/cpp/PackageProvider.cpp",
689
+ "patch": "@@ -0,0 +1,11 @@\n+#include \"RNOH/PackageProvider.h\"\n+#include \"AMapGeolocationPackage.h\"\n+\n+using namespace rnoh;\n+\n+std::vector<std::shared_ptr<Package>> PackageProvider::getPackages(Package::Context ctx)\n+{\n+ return {\n+ std::make_shared<AMapGeolocationPackage>(ctx),\n+ };\n+}\n",
690
+ "target_branch": "br_rnoh0.77",
691
+ "source_branch": "77code",
692
+ "source_project": {
693
+ "id": 9487170,
694
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
695
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
696
+ "path": "rntpc_react-native-amap-geolocation"
697
+ },
698
+ "target_project": {
699
+ "id": 4368964,
700
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
701
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
702
+ "path": "rntpc_react-native-amap-geolocation"
703
+ }
704
+ },
705
+ {
706
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
707
+ "filename": "example/harmony/entry/src/main/ets/RNPackagesFactory.ets",
708
+ "status": "added",
709
+ "additions": 8,
710
+ "deletions": 0,
711
+ "blob_id": "6297e49c42ae87b16b1c4d796c2d90375391d09e",
712
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/RNPackagesFactory.ets",
713
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/RNPackagesFactory.ets",
714
+ "patch": "@@ -0,0 +1,8 @@\n+import type {RNPackageContext, RNPackage} from '@rnoh/react-native-openharmony/ts';\n+import { AMapGeolocationPackage } from '@react-native-ohos/react-native-amap-geolocation/ts';\n+\n+export function createRNPackages(ctx: RNPackageContext): RNPackage[] {\n+ return [\n+ new AMapGeolocationPackage(ctx),\n+ ];\n+}\n",
715
+ "target_branch": "br_rnoh0.77",
716
+ "source_branch": "77code",
717
+ "source_project": {
718
+ "id": 9487170,
719
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
720
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
721
+ "path": "rntpc_react-native-amap-geolocation"
722
+ },
723
+ "target_project": {
724
+ "id": 4368964,
725
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
726
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
727
+ "path": "rntpc_react-native-amap-geolocation"
728
+ }
729
+ },
730
+ {
731
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
732
+ "filename": "example/harmony/entry/src/main/ets/entryability/EntryAbility.ets",
733
+ "status": "added",
734
+ "additions": 8,
735
+ "deletions": 0,
736
+ "blob_id": "5a0074221f74c4c9929378a68209eb6351c3cb49",
737
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/entryability/EntryAbility.ets",
738
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/entryability/EntryAbility.ets",
739
+ "patch": "@@ -0,0 +1,8 @@\n+import {RNAbility} from '@rnoh/react-native-openharmony';\n+import { AbilityConstant, Want } from '@kit.AbilityKit';\n+\n+export default class EntryAbility extends RNAbility {\n+ getPagePath() {\n+ return 'pages/Index';\n+ }\n+}\n",
740
+ "target_branch": "br_rnoh0.77",
741
+ "source_branch": "77code",
742
+ "source_project": {
743
+ "id": 9487170,
744
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
745
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
746
+ "path": "rntpc_react-native-amap-geolocation"
747
+ },
748
+ "target_project": {
749
+ "id": 4368964,
750
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
751
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
752
+ "path": "rntpc_react-native-amap-geolocation"
753
+ }
754
+ },
755
+ {
756
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
757
+ "filename": "example/harmony/entry/src/main/ets/pages/Index.ets",
758
+ "status": "added",
759
+ "additions": 67,
760
+ "deletions": 0,
761
+ "blob_id": "db9e7aca4214bdc2509d5c7dfa0ff65c095d3130",
762
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/pages/Index.ets",
763
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/pages/Index.ets",
764
+ "patch": "@@ -0,0 +1,67 @@\n+import {\n+ AnyJSBundleProvider,\n+ FileJSBundleProvider,\n+ MetroJSBundleProvider,\n+ ResourceJSBundleProvider,\n+ RNApp,\n+ RNOHErrorDialog,\n+ RNOHLogger,\n+ TraceJSBundleProviderDecorator,\n+ RNOHCoreContext\n+} from '@rnoh/react-native-openharmony';\n+import { createRNPackages } from '../RNPackagesFactory';\n+\n+@Entry\n+@Component\n+struct Index {\n+ @StorageLink('RNOHCoreContext') private rnohCoreContext: RNOHCoreContext | undefined = undefined\n+ @State shouldShow: boolean = false\n+ private logger!: RNOHLogger\n+ bundlePath: string = 'bunlde.harmony.js'\n+ @State hasBundle: boolean = false\n+\n+ aboutToAppear() {\n+ this.logger = this.rnohCoreContext!.logger.clone(\"Index\")\n+ const stopTracing = this.logger.clone(\"aboutToAppear\").startTracing()\n+ this.shouldShow = true\n+ stopTracing()\n+ }\n+\n+ onBackPress(): boolean | undefined {\n+ this.rnohCoreContext!.dispatchBackPress()\n+ return true\n+ }\n+\n+ build() {\n+ Column() {\n+ if (this.rnohCoreContext && this.shouldShow) {\n+ if (this.rnohCoreContext?.isDebugModeEnabled) {\n+ RNOHErrorDialog({ ctx: this.rnohCoreContext })\n+ }\n+ RNApp({\n+ rnInstanceConfig: {\n+ createRNPackages,\n+ enableNDKTextMeasuring: true,\n+ enableBackgroundExecutor: false,\n+ enableCAPIArchitecture: true,\n+ },\n+ initialProps: { \"foo\": \"bar\" } as Record<string, string>,\n+ appKey: \"app_name\",\n+ onSetUp: (rnInstance) => {\n+ rnInstance.enableFeatureFlag(\"ENABLE_RN_INSTANCE_CLEAN_UP\")\n+ },\n+ jsBundleProvider: new TraceJSBundleProviderDecorator(\n+ new AnyJSBundleProvider([\n+ new MetroJSBundleProvider(),\n+ new FileJSBundleProvider('/data/storage/el2/base/files/bundle.harmony.js'),\n+ new ResourceJSBundleProvider(this.rnohCoreContext.uiAbilityContext.resourceManager, 'hermes_bundle.hbc'),\n+ new ResourceJSBundleProvider(this.rnohCoreContext.uiAbilityContext.resourceManager, 'bundle.harmony.js')\n+ ]),\n+ this.rnohCoreContext.logger),\n+ })\n+ }\n+ }\n+ .height('100%')\n+ .width('100%')\n+ }\n+}\n",
765
+ "target_branch": "br_rnoh0.77",
766
+ "source_branch": "77code",
767
+ "source_project": {
768
+ "id": 9487170,
769
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
770
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
771
+ "path": "rntpc_react-native-amap-geolocation"
772
+ },
773
+ "target_project": {
774
+ "id": 4368964,
775
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
776
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
777
+ "path": "rntpc_react-native-amap-geolocation"
778
+ }
779
+ },
780
+ {
781
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
782
+ "filename": "example/harmony/entry/src/main/ets/pages/TouchDisplayer.ets",
783
+ "status": "added",
784
+ "additions": 37,
785
+ "deletions": 0,
786
+ "blob_id": "fec37e80cbc6a795c51952067c18223088201483",
787
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/pages/TouchDisplayer.ets",
788
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/ets/pages/TouchDisplayer.ets",
789
+ "patch": "@@ -0,0 +1,37 @@\n+@Component\n+export struct TouchDisplayer {\n+ @State currentTouches: TouchObject[] = []\n+ @State touchIndicatorOpacity: number = 0\n+ @BuilderParam buildChildren: () => void\n+ build() {\n+ Stack() {\n+ this.buildChildren()\n+ ForEach(this.currentTouches, (activeTouch: TouchObject) => {\n+ Stack() {\n+ }\n+ .width(64)\n+ .height(64)\n+ .backgroundColor(\"blue\")\n+ .borderWidth(2)\n+ .borderColor(\"white\")\n+ .opacity(this.touchIndicatorOpacity)\n+ .position({ x: activeTouch.x - 32, y: activeTouch.y - 32 })\n+ .borderRadius(1000)\n+ .hitTestBehavior(HitTestMode.Transparent)\n+ })\n+ }\n+ .width(\"100%\")\n+ .height(\"100%\")\n+ .hitTestBehavior(HitTestMode.Transparent)\n+ .onTouch(e => {\n+ this.currentTouches = e.touches\n+ this.touchIndicatorOpacity = 0.5\n+ animateTo({\n+ duration: 500,\n+ curve: Curve.Linear,\n+ }, () => {\n+ this.touchIndicatorOpacity = 0\n+ })\n+ })\n+ }\n+}\n",
790
+ "target_branch": "br_rnoh0.77",
791
+ "source_branch": "77code",
792
+ "source_project": {
793
+ "id": 9487170,
794
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
795
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
796
+ "path": "rntpc_react-native-amap-geolocation"
797
+ },
798
+ "target_project": {
799
+ "id": 4368964,
800
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
801
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
802
+ "path": "rntpc_react-native-amap-geolocation"
803
+ }
804
+ },
805
+ {
806
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
807
+ "filename": "example/harmony/entry/src/main/module.json5",
808
+ "status": "added",
809
+ "additions": 67,
810
+ "deletions": 0,
811
+ "blob_id": "ec785e4e92fd4568c3fda7a69bc28b28536b1da1",
812
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/module.json5",
813
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/module.json5",
814
+ "patch": "@@ -0,0 +1,67 @@\n+{\n+ \"module\": {\n+ \"name\": \"entry\",\n+ \"type\": \"entry\",\n+ \"description\": \"$string:module_desc\",\n+ \"mainElement\": \"EntryAbility\",\n+ \"deviceTypes\": [\n+ \"default\"\n+ ],\n+ \"deliveryWithInstall\": true,\n+ \"installationFree\": false,\n+ \"pages\": \"$profile:main_pages\",\n+ \"requestPermissions\": [\n+ {\n+ \"name\": \"ohos.permission.INTERNET\"\n+ },\n+ {\n+ \"name\": \"ohos.permission.LOCATION\",\n+ \"reason\": \"$string:location_permission_reason\",\n+ \"usedScene\": {\n+ \"abilities\": [\n+ \"EntryAbility\"\n+ ],\n+ \"when\": \"inuse\"\n+ }\n+ },\n+ {\n+ \"name\": \"ohos.permission.APPROXIMATELY_LOCATION\",\n+ \"reason\": \"$string:location_permission_reason\",\n+ \"usedScene\": {\n+ \"abilities\": [\n+ \"EntryAbility\"\n+ ],\n+ \"when\": \"inuse\"\n+ }\n+ },\n+ ],\n+ \"metadata\": [\n+ {\n+ \"name\": \"OPTLazyForEach\",\n+ \"value\": \"true\",\n+ }\n+ ],\n+ \"abilities\": [\n+ {\n+ \"name\": \"EntryAbility\",\n+ \"srcEntry\": \"./ets/entryability/EntryAbility.ets\",\n+ \"description\": \"$string:EntryAbility_desc\",\n+ \"icon\": \"$media:icon\",\n+ \"label\": \"$string:EntryAbility_label\",\n+ \"startWindowIcon\": \"$media:icon\",\n+ \"startWindowBackground\": \"$color:start_window_background\",\n+ \"visible\": true,\n+ \"skills\": [\n+ {\n+ \"entities\": [\n+ \"entity.system.home\"\n+ ],\n+ \"actions\": [\n+ \"action.system.home\"\n+ ]\n+ }\n+ ]\n+ }\n+ ]\n+ }\n+}\n",
815
+ "target_branch": "br_rnoh0.77",
816
+ "source_branch": "77code",
817
+ "source_project": {
818
+ "id": 9487170,
819
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
820
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
821
+ "path": "rntpc_react-native-amap-geolocation"
822
+ },
823
+ "target_project": {
824
+ "id": 4368964,
825
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
826
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
827
+ "path": "rntpc_react-native-amap-geolocation"
828
+ }
829
+ },
830
+ {
831
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
832
+ "filename": "example/harmony/entry/src/main/resources/base/element/color.json",
833
+ "status": "added",
834
+ "additions": 8,
835
+ "deletions": 0,
836
+ "blob_id": "162a7b6f4af5d7d48a35aeed67e3eadf3a019853",
837
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/base/element/color.json",
838
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/base/element/color.json",
839
+ "patch": "@@ -0,0 +1,8 @@\n+{\n+ \"color\": [\n+ {\n+ \"name\": \"start_window_background\",\n+ \"value\": \"#FFFFFF\"\n+ }\n+ ]\n+}\n",
840
+ "target_branch": "br_rnoh0.77",
841
+ "source_branch": "77code",
842
+ "source_project": {
843
+ "id": 9487170,
844
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
845
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
846
+ "path": "rntpc_react-native-amap-geolocation"
847
+ },
848
+ "target_project": {
849
+ "id": 4368964,
850
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
851
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
852
+ "path": "rntpc_react-native-amap-geolocation"
853
+ }
854
+ },
855
+ {
856
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
857
+ "filename": "example/harmony/entry/src/main/resources/base/element/string.json",
858
+ "status": "added",
859
+ "additions": 20,
860
+ "deletions": 0,
861
+ "blob_id": "02a0c9e8e80d12b5c44d548d7bde78f10520bbd9",
862
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/base/element/string.json",
863
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/base/element/string.json",
864
+ "patch": "@@ -0,0 +1,20 @@\n+{\n+ \"string\": [\n+ {\n+ \"name\": \"module_desc\",\n+ \"value\": \"module description\"\n+ },\n+ {\n+ \"name\": \"EntryAbility_desc\",\n+ \"value\": \"description\"\n+ },\n+ {\n+ \"name\": \"EntryAbility_label\",\n+ \"value\": \"RN Tester\"\n+ },\n+ {\n+ \"name\": \"location_permission_reason\",\n+ \"value\": \"Required to demonstrate location features.\"\n+ }\n+ ]\n+}\n",
865
+ "target_branch": "br_rnoh0.77",
866
+ "source_branch": "77code",
867
+ "source_project": {
868
+ "id": 9487170,
869
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
870
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
871
+ "path": "rntpc_react-native-amap-geolocation"
872
+ },
873
+ "target_project": {
874
+ "id": 4368964,
875
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
876
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
877
+ "path": "rntpc_react-native-amap-geolocation"
878
+ }
879
+ },
880
+ {
881
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
882
+ "filename": "example/harmony/entry/src/main/resources/base/profile/main_pages.json",
883
+ "status": "added",
884
+ "additions": 5,
885
+ "deletions": 0,
886
+ "blob_id": "1898d94f58d6128ab712be2c68acc7c98e9ab9ce",
887
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/base/profile/main_pages.json",
888
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/base/profile/main_pages.json",
889
+ "patch": "@@ -0,0 +1,5 @@\n+{\n+ \"src\": [\n+ \"pages/Index\"\n+ ]\n+}\n",
890
+ "target_branch": "br_rnoh0.77",
891
+ "source_branch": "77code",
892
+ "source_project": {
893
+ "id": 9487170,
894
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
895
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
896
+ "path": "rntpc_react-native-amap-geolocation"
897
+ },
898
+ "target_project": {
899
+ "id": 4368964,
900
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
901
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
902
+ "path": "rntpc_react-native-amap-geolocation"
903
+ }
904
+ },
905
+ {
906
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
907
+ "filename": "example/harmony/entry/src/main/resources/rawfile/1.txt",
908
+ "status": "added",
909
+ "additions": 0,
910
+ "deletions": 0,
911
+ "blob_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
912
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/rawfile/1.txt",
913
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/entry/src/main/resources/rawfile/1.txt",
914
+ "patch": "The file is empty",
915
+ "target_branch": "br_rnoh0.77",
916
+ "source_branch": "77code",
917
+ "source_project": {
918
+ "id": 9487170,
919
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
920
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
921
+ "path": "rntpc_react-native-amap-geolocation"
922
+ },
923
+ "target_project": {
924
+ "id": 4368964,
925
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
926
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
927
+ "path": "rntpc_react-native-amap-geolocation"
928
+ }
929
+ },
930
+ {
931
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
932
+ "filename": "example/harmony/hvigor/.gitignore",
933
+ "status": "added",
934
+ "additions": 1,
935
+ "deletions": 0,
936
+ "blob_id": "aa1ec1ea0618124672d14a63d00d943240f2db2a",
937
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/hvigor/.gitignore",
938
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/hvigor/.gitignore",
939
+ "patch": "@@ -0,0 +1 @@\n+*.tgz\n",
940
+ "target_branch": "br_rnoh0.77",
941
+ "source_branch": "77code",
942
+ "source_project": {
943
+ "id": 9487170,
944
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
945
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
946
+ "path": "rntpc_react-native-amap-geolocation"
947
+ },
948
+ "target_project": {
949
+ "id": 4368964,
950
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
951
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
952
+ "path": "rntpc_react-native-amap-geolocation"
953
+ }
954
+ },
955
+ {
956
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
957
+ "filename": "example/harmony/hvigor/hvigor-config.json5",
958
+ "status": "added",
959
+ "additions": 14,
960
+ "deletions": 0,
961
+ "blob_id": "9c2d60edd74bd2d945a465b3317b5e80382323ac",
962
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/hvigor/hvigor-config.json5",
963
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/hvigor/hvigor-config.json5",
964
+ "patch": "@@ -0,0 +1,14 @@\n+{\n+ \"modelVersion\": \"5.0.0\",\n+ \"dependencies\": {\n+ },\n+ \"execution\": {\n+ },\n+ \"logging\": {\n+ },\n+ \"debugging\": {\n+ \"stacktrace\": false\n+ },\n+ \"nodeOptions\": {\n+ }\n+}\n",
965
+ "target_branch": "br_rnoh0.77",
966
+ "source_branch": "77code",
967
+ "source_project": {
968
+ "id": 9487170,
969
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
970
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
971
+ "path": "rntpc_react-native-amap-geolocation"
972
+ },
973
+ "target_project": {
974
+ "id": 4368964,
975
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
976
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
977
+ "path": "rntpc_react-native-amap-geolocation"
978
+ }
979
+ },
980
+ {
981
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
982
+ "filename": "example/harmony/hvigorfile.ts",
983
+ "status": "added",
984
+ "additions": 1,
985
+ "deletions": 0,
986
+ "blob_id": "985a82685fbf0b5c4565441c105c5d1ea77147c1",
987
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/hvigorfile.ts",
988
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/hvigorfile.ts",
989
+ "patch": "@@ -0,0 +1 @@\n+export { appTasks } from '@ohos/hvigor-ohos-plugin';\n",
990
+ "target_branch": "br_rnoh0.77",
991
+ "source_branch": "77code",
992
+ "source_project": {
993
+ "id": 9487170,
994
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
995
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
996
+ "path": "rntpc_react-native-amap-geolocation"
997
+ },
998
+ "target_project": {
999
+ "id": 4368964,
1000
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1001
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1002
+ "path": "rntpc_react-native-amap-geolocation"
1003
+ }
1004
+ },
1005
+ {
1006
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1007
+ "filename": "example/harmony/oh-package.json5",
1008
+ "status": "added",
1009
+ "additions": 12,
1010
+ "deletions": 0,
1011
+ "blob_id": "c117020cfde550b5d6ce211199fe43a965ecd6a0",
1012
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/oh-package.json5",
1013
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/harmony/oh-package.json5",
1014
+ "patch": "@@ -0,0 +1,12 @@\n+{\n+ \"modelVersion\": \"5.0.0\",\n+ \"license\": \"ISC\",\n+ \"name\": \"rnoh\",\n+ \"description\": \"example description\",\n+ \"repository\": {},\n+ \"version\": \"1.0.0\",\n+ \"overrides\": {\n+ \"@rnoh/react-native-openharmony\": \"file:../node_modules/react-native-harmony/react_native_openharmony.har\"\n+ },\n+ \"dynamicDependencies\": {}\n+}\n",
1015
+ "target_branch": "br_rnoh0.77",
1016
+ "source_branch": "77code",
1017
+ "source_project": {
1018
+ "id": 9487170,
1019
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1020
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1021
+ "path": "rntpc_react-native-amap-geolocation"
1022
+ },
1023
+ "target_project": {
1024
+ "id": 4368964,
1025
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1026
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1027
+ "path": "rntpc_react-native-amap-geolocation"
1028
+ }
1029
+ },
1030
+ {
1031
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1032
+ "filename": "example/index.js",
1033
+ "status": "added",
1034
+ "additions": 5,
1035
+ "deletions": 0,
1036
+ "blob_id": "44330505e4fdbafd06cb6092c8edf9a3702d38e8",
1037
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/index.js",
1038
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/index.js",
1039
+ "patch": "@@ -0,0 +1,5 @@\n+import {AppRegistry} from 'react-native';\n+import {name as appName} from './app.json';\n+import AMapGeolocationDemo from './src/index';\n+\n+AppRegistry.registerComponent(appName, () => AMapGeolocationDemo);\n",
1040
+ "target_branch": "br_rnoh0.77",
1041
+ "source_branch": "77code",
1042
+ "source_project": {
1043
+ "id": 9487170,
1044
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1045
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1046
+ "path": "rntpc_react-native-amap-geolocation"
1047
+ },
1048
+ "target_project": {
1049
+ "id": 4368964,
1050
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1051
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1052
+ "path": "rntpc_react-native-amap-geolocation"
1053
+ }
1054
+ },
1055
+ {
1056
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1057
+ "filename": "example/jest.config.js",
1058
+ "status": "added",
1059
+ "additions": 5,
1060
+ "deletions": 0,
1061
+ "blob_id": "3745fc223702d5de74319e30d185b1dd5960d87b",
1062
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/jest.config.js",
1063
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/jest.config.js",
1064
+ "patch": "@@ -0,0 +1,5 @@\n+/** @type {import('ts-jest').JestConfigWithTsJest} */\n+module.exports = {\n+ preset: 'ts-jest',\n+ testEnvironment: 'node',\n+};\n",
1065
+ "target_branch": "br_rnoh0.77",
1066
+ "source_branch": "77code",
1067
+ "source_project": {
1068
+ "id": 9487170,
1069
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1070
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1071
+ "path": "rntpc_react-native-amap-geolocation"
1072
+ },
1073
+ "target_project": {
1074
+ "id": 4368964,
1075
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1076
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1077
+ "path": "rntpc_react-native-amap-geolocation"
1078
+ }
1079
+ },
1080
+ {
1081
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1082
+ "filename": "example/metro.config.js",
1083
+ "status": "added",
1084
+ "additions": 21,
1085
+ "deletions": 0,
1086
+ "blob_id": "c2f4736083173b7393530663764a8dce5de8a579",
1087
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/metro.config.js",
1088
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/metro.config.js",
1089
+ "patch": "@@ -0,0 +1,21 @@\n+const {mergeConfig, getDefaultConfig} = require('@react-native/metro-config');\n+const {createHarmonyMetroConfig} = require('react-native-harmony/metro.config');\n+\n+const config = {\n+ transformer: {\n+ getTransformOptions: async () => ({\n+ transform: {\n+ experimentalImportSupport: false,\n+ inlineRequires: true,\n+ },\n+ }),\n+ },\n+};\n+\n+module.exports = mergeConfig(\n+ getDefaultConfig(__dirname),\n+ createHarmonyMetroConfig({\n+ reactNativeHarmonyPackageName: 'react-native-harmony',\n+ }),\n+ config,\n+);\n",
1090
+ "target_branch": "br_rnoh0.77",
1091
+ "source_branch": "77code",
1092
+ "source_project": {
1093
+ "id": 9487170,
1094
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1095
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1096
+ "path": "rntpc_react-native-amap-geolocation"
1097
+ },
1098
+ "target_project": {
1099
+ "id": 4368964,
1100
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1101
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1102
+ "path": "rntpc_react-native-amap-geolocation"
1103
+ }
1104
+ },
1105
+ {
1106
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1107
+ "filename": "example/package.json",
1108
+ "status": "added",
1109
+ "additions": 59,
1110
+ "deletions": 0,
1111
+ "blob_id": "b945ca8bd4eaea2396da9b86a5f54ef656ace702",
1112
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/package.json",
1113
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/package.json",
1114
+ "patch": "@@ -0,0 +1,59 @@\n+{\n+ \"name\": \"react-native-harmony-tester\",\n+ \"version\": \"1.0.0\",\n+ \"private\": true,\n+ \"scripts\": {\n+ \"i\": \"cd ../ && npm i --legacy-peer-deps && npm pack && cd ./example && npm i\",\n+ \"reStart\": \"npm run install:pkg && npm run codegen && hdc rport tcp:8081 tcp:8081 && react-native start\",\n+ \"start\": \"hdc rport tcp:8081 tcp:8081 && react-native start\",\n+ \"codegen\": \"react-native codegen-harmony --rnoh-module-path ./harmony/entry/oh_modules/@rnoh/react-native-openharmony\",\n+ \"pack:pkg\": \"cd ../ && npm pack && cd ./example\",\n+ \"install:pkg\": \"npm uninstall @react-native-ohos/react-native-amap-geolocation && npm run pack:pkg && npm i @react-native-ohos/react-native-amap-geolocation@file:../react-native-ohos-react-native-amap-geolocation-1.3.1-rc.1.tgz\",\n+ \"dev\": \"npm run codegen && react-native bundle-harmony --dev --minify=false\",\n+ \"prod\": \"npm run codegen && react-native bundle-harmony --dev=false --minify=true\",\n+ \"postinstall\": \"node ./scripts/create-build-profile\",\n+ \"fast:pkg\": \"cd ../ && npm i --legacy-peer-deps && npm pack && cd ./example && npm i --force && npm run dev\"\n+ },\n+ \"dependencies\": {\n+ \"@react-native-ohos/react-native-amap-geolocation\": \"file:../react-native-ohos-react-native-amap-geolocation-1.3.1-rc.1.tgz\",\n+ \"react\": \"18.2.0\",\n+ \"react-native\": \"0.77.1\",\n+ \"react-native-harmony\": \"npm:@react-native-oh/react-native-harmony@0.77.72\"\n+ },\n+ \"devDependencies\": {\n+ \"@babel/core\": \"^7.25.2\",\n+ \"@babel/preset-env\": \"^7.25.3\",\n+ \"@babel/runtime\": \"^7.25.0\",\n+ \"@react-native-oh/react-native-harmony-cli\": \"0.77.72\",\n+ \"@react-native/babel-preset\": \"0.77.1\",\n+ \"@react-native-community/cli\": \"15.0.1\",\n+ \"@react-native-community/cli-platform-android\": \"15.0.1\",\n+ \"@react-native-community/cli-platform-ios\": \"15.0.1\",\n+ \"@react-native-community/eslint-config\": \"^3.2.0\",\n+ \"@react-native/eslint-config\": \"0.77.1\",\n+ \"@react-native/metro-config\": \"0.77.1\",\n+ \"@react-native/typescript-config\": \"0.77.1\",\n+ \"@tsconfig/react-native\": \"^3.0.0\",\n+ \"@types/d3-scale-chromatic\": \"^3.0.0\",\n+ \"@types/jest\": \"^29.5.13\",\n+ \"@types/react\": \"^18.2.6\",\n+ \"@types/react-test-renderer\": \"^18.0.0\",\n+ \"babel-jest\": \"^29.6.3\",\n+ \"eslint\": \"^8.19.0\",\n+ \"jest\": \"^29.7.0\",\n+ \"json5\": \"^2.2.3\",\n+ \"metro-react-native-babel-preset\": \"0.76.8\",\n+ \"prettier\": \"2.8.8\",\n+ \"react-test-renderer\": \"18.2.0\",\n+ \"typescript\": \"5.5.4\"\n+ },\n+ \"overrides\": {\n+ \"@react-native-community/cli\": \"15.0.1\"\n+ },\n+ \"resolutions\": {\n+ \"@react-native-community/cli\": \"15.0.1\"\n+ },\n+ \"engines\": {\n+ \"node\": \">=18\"\n+ }\n+}\n",
1115
+ "target_branch": "br_rnoh0.77",
1116
+ "source_branch": "77code",
1117
+ "source_project": {
1118
+ "id": 9487170,
1119
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1120
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1121
+ "path": "rntpc_react-native-amap-geolocation"
1122
+ },
1123
+ "target_project": {
1124
+ "id": 4368964,
1125
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1126
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1127
+ "path": "rntpc_react-native-amap-geolocation"
1128
+ }
1129
+ },
1130
+ {
1131
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1132
+ "filename": "example/react-native.config.js",
1133
+ "status": "added",
1134
+ "additions": 3,
1135
+ "deletions": 0,
1136
+ "blob_id": "327ab197a76149e0dd3635b54a1ce1450b2ae693",
1137
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/react-native.config.js",
1138
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/react-native.config.js",
1139
+ "patch": "@@ -0,0 +1,3 @@\n+module.exports = {\n+ project: {},\n+};\n",
1140
+ "target_branch": "br_rnoh0.77",
1141
+ "source_branch": "77code",
1142
+ "source_project": {
1143
+ "id": 9487170,
1144
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1145
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1146
+ "path": "rntpc_react-native-amap-geolocation"
1147
+ },
1148
+ "target_project": {
1149
+ "id": 4368964,
1150
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1151
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1152
+ "path": "rntpc_react-native-amap-geolocation"
1153
+ }
1154
+ },
1155
+ {
1156
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1157
+ "filename": "example/scripts/create-build-profile.js",
1158
+ "status": "added",
1159
+ "additions": 38,
1160
+ "deletions": 0,
1161
+ "blob_id": "092128940adba1e12dc34f1d0541eccc32ddd168",
1162
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/scripts/create-build-profile.js",
1163
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/scripts/create-build-profile.js",
1164
+ "patch": "@@ -0,0 +1,38 @@\n+const fs = require('fs');\n+const JSON5 = require('json5');\n+const path = require('path');\n+\n+const templatePath = path.join(\n+ __dirname,\n+ '..',\n+ 'harmony',\n+ 'build-profile.template.json5',\n+);\n+const existingProfilePath = path.join(\n+ __dirname,\n+ '..',\n+ 'harmony',\n+ 'build-profile.json5',\n+);\n+\n+if (fs.existsSync(existingProfilePath)) {\n+ let existingProfile = JSON5.parse(\n+ fs.readFileSync(existingProfilePath, 'utf-8'),\n+ );\n+ let template = JSON5.parse(fs.readFileSync(templatePath, 'utf-8'));\n+ let signingConfigs =\n+ existingProfile.app && existingProfile.app.signingConfigs;\n+\n+ existingProfile = {...template};\n+\n+ if (signingConfigs) {\n+ existingProfile.app.signingConfigs = signingConfigs;\n+ }\n+\n+ fs.writeFileSync(\n+ existingProfilePath,\n+ JSON5.stringify(existingProfile, null, 2),\n+ );\n+} else {\n+ fs.copyFileSync(templatePath, existingProfilePath);\n+}\n",
1165
+ "target_branch": "br_rnoh0.77",
1166
+ "source_branch": "77code",
1167
+ "source_project": {
1168
+ "id": 9487170,
1169
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1170
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1171
+ "path": "rntpc_react-native-amap-geolocation"
1172
+ },
1173
+ "target_project": {
1174
+ "id": 4368964,
1175
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1176
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1177
+ "path": "rntpc_react-native-amap-geolocation"
1178
+ }
1179
+ },
1180
+ {
1181
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1182
+ "filename": "example/src/index.tsx",
1183
+ "status": "added",
1184
+ "additions": 59,
1185
+ "deletions": 0,
1186
+ "blob_id": "e3e61d33669e72da891eee376d0fdb5d74b192be",
1187
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/src/index.tsx",
1188
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/src/index.tsx",
1189
+ "patch": "@@ -0,0 +1,59 @@\n+import React, {useState} from 'react';\n+import {Button, SafeAreaView, StyleSheet, Text, View} from 'react-native';\n+import {\n+ Geolocation,\n+ setNeedAddress,\n+ setOnceLocation,\n+} from '@react-native-ohos/react-native-amap-geolocation';\n+\n+export default function AMapGeolocationDemo(): React.JSX.Element {\n+ const [message, setMessage] = useState('Ready');\n+\n+ const requestLocation = () => {\n+ setNeedAddress(true);\n+ setOnceLocation(true);\n+ setMessage('Locating...');\n+\n+ Geolocation.getCurrentPosition(\n+ position => {\n+ const {latitude, longitude} = position.coords;\n+ setMessage(`lat: ${latitude}, lng: ${longitude}`);\n+ },\n+ error => {\n+ setMessage(error.message || `Location error: ${error.code}`);\n+ },\n+ );\n+ };\n+\n+ return (\n+ <SafeAreaView style={styles.container}>\n+ <View style={styles.panel}>\n+ <Text style={styles.title}>AMap Geolocation</Text>\n+ <Text style={styles.message}>{message}</Text>\n+ <Button title=\"Get Current Location\" onPress={requestLocation} />\n+ </View>\n+ </SafeAreaView>\n+ );\n+}\n+\n+const styles = StyleSheet.create({\n+ container: {\n+ flex: 1,\n+ backgroundColor: '#f5f5f5',\n+ },\n+ panel: {\n+ flex: 1,\n+ justifyContent: 'center',\n+ padding: 24,\n+ gap: 16,\n+ },\n+ title: {\n+ color: '#111111',\n+ fontSize: 22,\n+ fontWeight: '600',\n+ },\n+ message: {\n+ color: '#333333',\n+ fontSize: 16,\n+ },\n+});\n",
1190
+ "target_branch": "br_rnoh0.77",
1191
+ "source_branch": "77code",
1192
+ "source_project": {
1193
+ "id": 9487170,
1194
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1195
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1196
+ "path": "rntpc_react-native-amap-geolocation"
1197
+ },
1198
+ "target_project": {
1199
+ "id": 4368964,
1200
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1201
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1202
+ "path": "rntpc_react-native-amap-geolocation"
1203
+ }
1204
+ },
1205
+ {
1206
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1207
+ "filename": "example/tsconfig.json",
1208
+ "status": "added",
1209
+ "additions": 14,
1210
+ "deletions": 0,
1211
+ "blob_id": "7d8103e9a3fc88a813670a77c63686d69bb852d1",
1212
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/example/tsconfig.json",
1213
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/example/tsconfig.json",
1214
+ "patch": "@@ -0,0 +1,14 @@\n+{\n+ \"extends\": \"@react-native/typescript-config/tsconfig.json\",\n+ \"compilerOptions\": {\n+ \"jsx\": \"react-native\",\n+ \"paths\": {\n+ \"react-native\": [\n+ \"./node_modules/react-native-harmony\"\n+ ],\n+ },\n+ },\n+ \"exclude\": [\n+ \"harmony\"\n+ ]\n+}\n",
1215
+ "target_branch": "br_rnoh0.77",
1216
+ "source_branch": "77code",
1217
+ "source_project": {
1218
+ "id": 9487170,
1219
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1220
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1221
+ "path": "rntpc_react-native-amap-geolocation"
1222
+ },
1223
+ "target_project": {
1224
+ "id": 4368964,
1225
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1226
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1227
+ "path": "rntpc_react-native-amap-geolocation"
1228
+ }
1229
+ },
1230
+ {
1231
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1232
+ "filename": "harmony/amap_geolocation.har",
1233
+ "additions": 0,
1234
+ "deletions": 0,
1235
+ "blob_id": "0998ee463cc0ffe77f99bf1600a3a142e01fcc66",
1236
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/harmony/amap_geolocation.har",
1237
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/harmony/amap_geolocation.har",
1238
+ "patch": "Binary files no preview for this file type",
1239
+ "target_branch": "br_rnoh0.77",
1240
+ "source_branch": "77code",
1241
+ "source_project": {
1242
+ "id": 9487170,
1243
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1244
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1245
+ "path": "rntpc_react-native-amap-geolocation"
1246
+ },
1247
+ "target_project": {
1248
+ "id": 4368964,
1249
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1250
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1251
+ "path": "rntpc_react-native-amap-geolocation"
1252
+ }
1253
+ },
1254
+ {
1255
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1256
+ "filename": "harmony/amap_geolocation/oh-package.json5",
1257
+ "additions": 1,
1258
+ "deletions": 1,
1259
+ "blob_id": "ea1f1fd12debc3cbdb8848b98b523cf325b4d892",
1260
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/harmony/amap_geolocation/oh-package.json5",
1261
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/harmony/amap_geolocation/oh-package.json5",
1262
+ "patch": "@@ -1,6 +1,6 @@\n {\n \"name\": \"@react-native-ohos/react-native-amap-geolocation\",\n- \"version\": \"1.3.0\",\n+ \"version\": \"1.3.1-rc.1\",\n \"description\": \"ReactNative geolocation module for Harmony\",\n \"main\": \"Index.ets\",\n \"author\": \"\",\n",
1263
+ "target_branch": "br_rnoh0.77",
1264
+ "source_branch": "77code",
1265
+ "source_project": {
1266
+ "id": 9487170,
1267
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1268
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1269
+ "path": "rntpc_react-native-amap-geolocation"
1270
+ },
1271
+ "target_project": {
1272
+ "id": 4368964,
1273
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1274
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1275
+ "path": "rntpc_react-native-amap-geolocation"
1276
+ }
1277
+ },
1278
+ {
1279
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1280
+ "filename": "harmony/amap_geolocation/src/main/ets/AMapGeolocationModule.ts",
1281
+ "additions": 4,
1282
+ "deletions": 0,
1283
+ "blob_id": "e64977f766ed31c1899ac61fbfad144225677b60",
1284
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/harmony/amap_geolocation/src/main/ets/AMapGeolocationModule.ts",
1285
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/harmony/amap_geolocation/src/main/ets/AMapGeolocationModule.ts",
1286
+ "patch": "@@ -95,6 +95,10 @@ export class AMapGeolocationModule extends TurboModule implements IAMapLocationL\n };\n \n onLocationError(locationErrorInfo: e45): void {\n+ this.ctx.rnInstance.emitDeviceEvent(\"AMapGeolocation\", {\n+ errorCode: locationErrorInfo.errorCode,\n+ errorInfo: locationErrorInfo.errorMsg\n+ })\n };\n \n requestPermissions(): void {\n",
1287
+ "target_branch": "br_rnoh0.77",
1288
+ "source_branch": "77code",
1289
+ "source_project": {
1290
+ "id": 9487170,
1291
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1292
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1293
+ "path": "rntpc_react-native-amap-geolocation"
1294
+ },
1295
+ "target_project": {
1296
+ "id": 4368964,
1297
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1298
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1299
+ "path": "rntpc_react-native-amap-geolocation"
1300
+ }
1301
+ },
1302
+ {
1303
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1304
+ "filename": "package.json",
1305
+ "additions": 1,
1306
+ "deletions": 1,
1307
+ "blob_id": "a3926e02d7fc435f5202e4a6ee939d9cacf8f07c",
1308
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/package.json",
1309
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/package.json",
1310
+ "patch": "@@ -7,7 +7,7 @@\n \"location\",\n \"geolocation\"\n ],\n- \"version\": \"1.3.0\",\n+ \"version\": \"1.3.1-rc.1\",\n \"author\": \"7c00 <i@7c00.cc>\",\n \"repository\": {\n \"type\": \"git\",\n",
1311
+ "target_branch": "br_rnoh0.77",
1312
+ "source_branch": "77code",
1313
+ "source_project": {
1314
+ "id": 9487170,
1315
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1316
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1317
+ "path": "rntpc_react-native-amap-geolocation"
1318
+ },
1319
+ "target_project": {
1320
+ "id": 4368964,
1321
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1322
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1323
+ "path": "rntpc_react-native-amap-geolocation"
1324
+ }
1325
+ },
1326
+ {
1327
+ "sha": "81053a12bb059ef39989c988093cb9519cf1d27a",
1328
+ "filename": "readme.md",
1329
+ "additions": 2,
1330
+ "deletions": 2,
1331
+ "blob_id": "b8891842fc873cd2a03a3dc227f1aeef7c89236a",
1332
+ "blob_url": "https://gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/blob/81053a12bb059ef39989c988093cb9519cf1d27a/readme.md",
1333
+ "raw_url": "https://raw.gitcode.com/CPF-RN/rntpc_react-native-amap-geolocation/raw/81053a12bb059ef39989c988093cb9519cf1d27a/readme.md",
1334
+ "patch": "@@ -4,9 +4,9 @@ This project is based on [react-native-amap-geolocation@1.2.3](http://github.c\n \n ## Documentation\n \n-[中文](https://gitcode.com/OpenHarmony-RN/usage-docs/blob/master/zh-cn/react-native-amap-geolocation.md)\n+[中文](https://gitcode.com/CPF-RN/usage-docs/blob/master/zh-cn/react-native-amap-geolocation.md)\n \n-[English](https://gitcode.com/OpenHarmony-RN/usage-docs/blob/master/en/react-native-amap-geolocation.md)\n+[English](https://gitcode.com/CPF-RN/usage-docs/blob/master/en/react-native-amap-geolocation.md)\n \n ## License\n \n",
1335
+ "target_branch": "br_rnoh0.77",
1336
+ "source_branch": "77code",
1337
+ "source_project": {
1338
+ "id": 9487170,
1339
+ "full_name": "a1461848339/rntpc_react-native-amap-geolocation",
1340
+ "human_name": "a1461848339 / rntpc_react-native-amap-geolocation",
1341
+ "path": "rntpc_react-native-amap-geolocation"
1342
+ },
1343
+ "target_project": {
1344
+ "id": 4368964,
1345
+ "full_name": "CPF-RN/rntpc_react-native-amap-geolocation",
1346
+ "human_name": "CPF-RN / rntpc_react-native-amap-geolocation",
1347
+ "path": "rntpc_react-native-amap-geolocation"
1348
+ }
1349
+ }
1350
+ ]
1351
+ }