A collection of Expo brownfield apps
- AntennaPod: Integrated project using monorepo approach
- BlankAndroid: Integrated project using monorepo approach
- wikipedia-ios: Isolated approach using XCFramework
- simplenote-react-native: Integrated project using monorepo approach
- NetNewsWire: Integrated project using monorepo approach
- BlankIOS: Integrated project using monorepo approach
- IceCubesApp: Integrated project using monorepo approach
Check commits inside each repo for detailed steps, full instructions can be found in the expo-brownfield documentation.
-
Set up a yarn monorepo: Create a
package.jsonfile in the root directory, then add the following to it:{ "private": true, "workspaces": ["exp"] } -
Create the Expo app: Run
npx create-expo-app expto set up a new Expo app. -
Install dependencies: Add expo to you Podfile and run
pod install -
Add React Native view: Create a new Swift file in the
NetNewsWire-iOStarget, for exampleReactNativeView.swift, and implement a basic React Native view.
-
Create the Expo app: Run
npx create-expo-app expto set up a new Expo app. -
Install expo-brownfield: Add expo-brownfield to your project
npx expo install expo-brownfieldand generate a XCFramework. -
Add React Native view: Integrate the Expo app XCFramework into the existing iOS app.