Geo Sharer is a React Native application that allows users to get their address with an accuracy of +/- 5 meters. This application is perfect for those who need precise location information quickly and easily.
-
Ensure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
-
Add values for
GOOGLE_MAPS_API_KEY
(to be able get human readable location formats) andAPI ENDPOINT
(to be able to share the info to a Rest API) in App.tsx file.
Metro, the JavaScript bundler that ships with React Native, needs to be running for the application to work. Start Metro by running the following command from the root of your React Native project:
# using npm
npm start
# OR using Yarn
yarn start
Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:
- For Android
# using npm
npm run android
# OR using Yarn
yarn android
- For iOS
# using npm
npm run ios
# OR using Yarn
yarn ios
If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly.
Open App.tsx
in your text editor of choice and edit some lines. Press the R key twice or select "Reload" from the Developer Menu to see your changes!
This project is maintained by:
If you can't get this to work, see the Troubleshooting page.
--Thanks--