iOS Setup
Once you have installed Voltra, you need to configure the Expo plugin for iOS.
Voltra requires iOS 16.2 or later. Make sure your app's deployment target is set to iOS 16.2 or higher. See the expo-build-properties documentation for details on configuring your iOS deployment target.
1. Configure the Expo Plugin
Add the Voltra plugin to your app.json or app.config.js. For iOS, you typically need to specify a groupIdentifier to enable data sharing between your main app and the Live Activity extension.
For a complete list of plugin configuration options, see the Plugin Configuration documentation.
2. Regenerate your native project with Expo Prebuild
It's time to update your native project. Run the following command to regenerate it and install native dependencies for Voltra.
3. Create your first Live Activity
Now let's create a simple "Hello World" live activity. Create a new component:
You've created your first live activity with Voltra. The JSX you write gets automatically converted to SwiftUI and displayed natively on iOS.
