Installation
Voltra v2 ships as platform packages. In most apps, you install one package for JSX primitives and one package for runtime APIs per platform.
1. Install packages
iOS (Live Activities and widgets)
Android (Home Screen widgets and ongoing notifications)
Use the platform package for JSX primitives:
@use-voltra/iosexportsVoltra@use-voltra/androidexportsVoltraAndroid,AndroidDynamicColors, andAndroidOngoingNotification
Use the client package for React Native runtime APIs:
@use-voltra/ios-clientexportsstartLiveActivity,updateWidget,VoltraView,VoltraWidgetPreview, and other app-side APIs@use-voltra/android-clientexportsupdateAndroidWidget,requestPinAndroidWidget,reloadAndroidWidgets,VoltraView,VoltraWidgetPreview, and other app-side APIs
Server rendering (optional)
Use these in your backend or SSR service-not in the React Native app bundle:
- iOS payloads:
@use-voltra/ios-server - Android payloads:
@use-voltra/android-server - Cross-platform widget HTTP handlers:
@use-voltra/server
2. Import patterns
The docs use these package boundaries consistently:
- React Native app code: JSX from
@use-voltra/iosor@use-voltra/android, lifecycle APIs from the matching*-clientpackage - Node/server code: JSX plus render helpers from
@use-voltra/ios-serveror@use-voltra/android-server - Pre-render files such as
initialStatePath: import from@use-voltra/iosor@use-voltra/android, not from client packages
3. Next Steps
After installing packages, configure the Voltra Expo plugin for each platform you support:
