Expo
Healkite works with Expo SDK 50 and newer through a config plugin. You don't edit native code.
Install
sh
npx expo install @healkite/react-nativeAdd the plugin
json
{
"expo": {
"plugins": [
["@healkite/react-native", {
"cdnUrl": "https://cdn.healkite.com",
"channel": "production-…",
"manifestKey": "MFkw…",
"publicKey": "MFkw…"
}]
]
}
}| Option | |
|---|---|
cdnUrl | CDN base URL (required) |
channel | Channel key (required) |
runtimeVersion | Defaults to the app version |
publicKey | Your bundle-signing public key |
manifestKey | Server manifest key (dashboard → Settings) |
cdnFallbackUrl | Backup CDN, used when the primary is unreachable |
Then rebuild: npx expo prebuild or an EAS Build. The plugin writes the values and makes release builds load
the OTA bundle (ExpoReactHostFactory on SDK 55+, MainApplication on older SDKs, AppDelegate on iOS).
Sync
Same as bare React Native: call Healkite.sync() after your first screen. See React Native SDK.
Releasing
healkite release detects Expo projects and bundles with npx expo export:embed, so the same commands work:
sh
npx healkite release -p ios -c <channel-key> -r 1.0.0 --sign healkite-signing.pem --guardedexpo-updates
Use one OTA system per app. The plugin warns when expo-updates is also installed. To switch, see
Migrate from expo-updates.