2022-05-08 05:27:01 -07:00
|
|
|
# Locaft_mobile
|
|
|
|
|
|
|
|
## Steps to run the application in react-native
|
|
|
|
|
|
|
|
|
|
|
|
1. Connect the phone to the laptop through USB.
|
|
|
|
2. Go to the home directory of the project.
|
|
|
|
3. Run ```yarn run start``` to start refresher *metro*
|
|
|
|
4. Run ```yarn run android```
|
|
|
|
5. Shake the phone to unlock the settings or type d in the metro terminal.
|
|
|
|
6. Go to the port settings
|
|
|
|
7. Run ```ip address```
|
|
|
|
8. Type in the IP address of the laptop. Example: *192.168.29.141* and add port *8081*
|
|
|
|
9. Press ```r``` in the metro terminal to refresh wireless.
|
2022-05-08 05:19:40 -07:00
|
|
|
|
|
|
|
|
|
|
|
|