To build you need to set the googleMapsApiKey
environment variable so we have it.
In one terminal run:
export googleMapsApiKey=...
npm start
In another terminal run:
export googleMapsApiKey=...
npm run android
See https://reactnative.dev/docs/next/running-on-device for more.
- On the phone enable debugging
- Find the device name with
adb devices
- Run the following:
adb -s <device name> reverse tcp:8081 tcp:8081