An example of adding a Widget, Watch App, and Watch App Complication in Expo's Managed Workflow (EAS).
ios | watchos app | watchos complication |
---|---|---|
- plugin: Config Plugins
- widget: Template files for widget
- watch: Template files for watch app
- complication: Template files for watch app complication
yarn install
Edit following fields.
android.package
ios.bundleIdentifier
extra.eas.build.experimental.ios.appExtensions
<APPLE_DEV_TEAM_ID>
inplugins
Update the entitlements file to match your app group you have enabled for your team. Otherwise disbale the entitlements sections to not use default app groups
yarn android
# or
yarn ios
eas build --platform all --profile preview
Get shared files working between targets, whether just copying or actually copying once and sharing the file between targets