A minimal demo to get you started with universal apps.
React-Native + Next.js + React-Native-Web
From the root of this project run:
yarn bootstrap
At the root of this project run:
yarn watch
In universe-web run:
yarn dev
First open android-studio, then run an emulator by clicking Configure > AVD Manager.
Then run the following commands in separate terminal tabs.
Terminal tab 1:
As react-native does not like symlinks, this command will copy over all your local packages (powered by react-native-yarn-workspaces)
yarn watch
Terminal tab 2:
Start the metro bundler:
yarn start
Terminal tab 3:
Build the android version:
yarn android
Same as without expo, but once it runs, you can easily have the app running on your phone thanks to the expo app.