meteor-native
Use when building or maintaining Meteor 3 Android/iOS apps through Cordova. Triggers on meteor add-platform, android-device, ios-device, mobile-config.js, Cordova plugins, native signing or store artifacts, and mobile hot code push compatibility. Use this skill when the task already concerns Meteor's Cordova app workflow; use meteor-debugging for an unexplained cross-layer failure and meteor-deployment for the backend. React Native/Expo, Capacitor, and native Node.js addons are separate workflows.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- meteor-native
- license
- MIT
- metadata
- { "area": "build", "kind": "workflow", "author": "meteor", "meteor": ">=3.0", "tagline": "Build and maintain Meteor 3 Cordova apps for Android and iOS, including plugins, native artifacts, and hot code push.", "docs_synced_at": "2026-11-13" }
- description
- Use when building or maintaining Meteor 3 Android/iOS apps through Cordova. Triggers on meteor add-platform, android-device, ios-device, mobile-config.js, Cordova plugins, native signing or store artifacts, and mobile hot code push compatibility. Use this skill when the task already concerns Meteor's Cordova app workflow; use meteor-debugging for an unexplained cross-layer failure and meteor-deployment for the backend. React Native/Expo, Capacitor, and native Node.js addons are separate workflows.
02 资源文件 5
- 参考文档references/build-and-distribution.md4.6 KB
- 参考文档references/configuration-and-plugins.md9.0 KB
- 参考文档references/eval-cases.md16.8 KB
- 参考文档references/hot-code-push.md5.9 KB
- 参考文档references/toolchain-and-development.md9.4 KB
03 SKILL.md 正文
Meteor native apps
Turn the existing Meteor application into a reproducible Cordova build and verify the requested device or distribution behavior. Meteor manages the web bundle, Cordova project and platform versions; Android Studio and Xcode provide native debugging, signing and distribution tools.
Choose the workflow
- Read
.meteor/release,.meteor/platforms,.meteor/cordova-plugins,.meteor/versions,package.json, andmobile-config.jswhen present. Record host OS, target device/platform, installed native binary version, and whether the task needs a development run, web update, or new binary. - Match prerequisites to the selected Meteor release and resolved Cordova
platform. Meteor 3.5.2 uses
cordova-lib@13.0.0,cordova-android@15.1.0, andcordova-ios@7.1.1; earlier releases have different pins. Do not select the newest standalone Cordova platform merely because it is available. - Choose the relevant reference below. Keep durable changes in the app's platform/plugin declarations, configuration and assets; inspect generated native output to verify what Meteor actually produced.
- Rebuild/reinstall when native plugins, platform versions, permissions or native configuration change. HCP can update compatible web code/assets; it cannot supply missing native code or change installed binary metadata.
- Verify on the target emulator/device or inspect the requested artifact. Record command, versions, endpoint and observable result. A successful web build alone does not validate a native app or a signed store artifact.
| Task | Read |
|---|---|
| Set up Android/iOS, add/remove platforms, run a device, choose WebView compatibility | Toolchain and development |
| Change app metadata/assets, native preferences, access rules, plugins, permissions or build overrides | Configuration and plugins |
| Build Android artifacts or an iOS project, configure signing and prepare distribution | Build and distribution |
| Repair mobile update delivery, compatibility rejection, download or reload behavior | Hot code push |
Persistent state and runtime boundaries
.meteor/local/cordova-build/is generated by default. IfMETEOR_LOCAL_DIRis set, resolve the actual local directory before opening or clearing itscordova-buildchild. Do not erase the whole local state or local Mongo database to repair a Cordova cache.mobile-config.jsis a build-time configuration file, not an application module.App.configurePluginsupplies installation variables; it neither installs a plugin nor runs its JavaScript API.- Call native plugin APIs from client code guarded by
Meteor.isCordova, insideMeteor.startupor after equivalent device readiness. Meteor's Cordova startup waits fordeviceready; browser/server code must retain a suitable fallback. Startup does not grant OS permissions automatically. - A physical device's
localhostis the device. Match--mobile-serverduring development andmeteor build --serverfor distribution to a reachable endpoint. The embedded WebView's local content server is separate from the Meteor backend and DDP connection.
Neighboring workflows
| Request | Owner |
|---|---|
| Unknown crash, stuck data, or failure not yet isolated to native behavior | meteor-debugging, then return with the confirmed native boundary |
| Host the backend, configure Galaxy/Docker, deploy server changes, preserve the HCP client bundle | meteor-deployment |
Rspack/SWC/module graph or a native npm addon such as sharp |
meteor-modern-build-stack or migrate-to-rspack |
| OAuth provider/login behavior | meteor-accounts; use this skill for required Cordova plugin or native configuration |
| Explicit React Native/Expo or Capacitor app | Keep the chosen stack; this skill does not implement those integrations |
Acceptance
Use evaluation cases to check native decisions, earlier-release behavior, and neighboring-skill routing.
04 同仓库更多 Skills
good-skill
Use when authoring a fixture skill for the validator. Triggers on validator unit tests. Use this skill when asserting the happy path through frontmatter validation.
meteor-foo
Use when testing the zip builder. Triggers on build-zips unit tests. Ask about archive layout.
_internal
Use when testing internal artifact exclusions. Triggers on ZIP builder tests.
internal-review
Use when testing that maintainer skills stay outside published ZIP artifacts.
oversize-body
Use when the body exceeds 8 KB. Triggers on validator size-limit testing.
one-trigger
Use when a description has only one trigger phrase and nothing else useful enough to push past the heuristic.