@reactiive/ennio-expo-plugin
v0.0.3
Published
Expo config plugin for Ennio E2E testing — links the native runtime into Debug builds only via CocoaPods :configurations.
Maintainers
Readme
@reactiive/ennio-expo-plugin
[!WARNING] Experimental. Companion to
@reactiive/ennio. APIs and behavior may change without notice.
Expo config plugin that links the Ennio native runtime into your iOS
app's Debug builds only, via CocoaPods :configurations.
The plugin:
- Edits the generated
Podfileto addpod 'EnnioCore'scoped to the Debug configuration. Release builds get a no-op — no Ennio symbols, no test-runner code ships in production. - Writes an
ENNIORibbonEnabledflag intoInfo.plistso the in-app ribbon indicator (Debug-only) can be toggled per profile.
Install
bun add @reactiive/ennio react-native-nitro-modules
bun add -d @reactiive/ennio-expo-plugin(Or use the equivalent npm install / yarn add — this package is a
build-time config plugin, so it belongs in devDependencies.)
Then register in app.json:
{
"plugins": ["expo-router", "@reactiive/ennio-expo-plugin"]
}Optional config:
{
"plugins": [
[
"@reactiive/ennio-expo-plugin",
{
"configurations": ["Debug"],
"showRibbon": false
}
]
]
}Rebuild after configuring: npx expo prebuild --clean && npx expo run:ios.
Docs
See @reactiive/ennio's README
for architecture notes, the security model, and example flows.
License
MIT
