A React Native (Expo) application with an iOS Widget Extension that displays current weather information and supports Live Activity updates. The project includes a native iOS widget target integrated with the JS app via a small native bridge.
- Expo-managed React Native app
- Current weather via API
- Location-based weather lookup (with user permission)
- iOS Widget Extension (WidgetKit) with shared data
- Live Activity support (ActivityKit)
npm installnpx expo prebuild -p ios
- Development:
npx expo start- iOS Simulator: press i when Metro starts, or open in Expo Go
- Prebuilt iOS (needed for widget):
npx expo prebuild -p ios- Open
ios/WeatherApp.xcworkspacein Xcode - Select WeatherApp scheme and run on a simulator/device
WidgetDataModule.swift/.mexposes a module to JS for updating data accessible to the widgetwithWidgetModule.jsconfig plugin ensures the module + targets are added during prebuild
MIT

