Files
MapLibreParticleLab/integration/react-native/MapLibreParticlePackageConsumerTestHost/README.md
OpenAI Codex 5261f21c1a
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled
release: configure particle Maven repository
2026-09-09 11:42:43 +08:00

15 lines
921 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MapLibreParticlePackageConsumerTestHost
这是发布包 Consumer smoke host,不引用 `packages/`、Test Host bridge 源码、MapLibre Native source tree 或 workspace dependency。其 `package.json` 只直接依赖 `@navsea/maplibre-particle-rn@13.4.1-particle.1`;Map、Camera、WeatherRuntime 和 style helper 全部从该发布包导入。
最终 registry 未决定时,先在包目录生成 tarball,再在本目录手工执行:
```bash
npm install /absolute/path/navsea-maplibre-particle-rn-13.4.1-particle.1.tgz --save-exact
npm install --ignore-scripts
npx expo prebuild --platform android --clean
npx expo run:android
```
该 `.tgz` 是发布物而非源码路径。Android 正式 artifact 已发布到 `https://pbf.jpcn.ccwu.cc/maven`;package plugin 会自动加入该仓库,并将 MLRN 的唯一 OpenGL SDK 请求替换为 `cc.navsea.maplibre:android-sdk-particle-opengl:13.4.1-particle.1`。