This repository demonstrates how to build a geolocation app with Back4app and React Native/Expo.
To learn more check out the article.
-
Install the dependencies via NPM.
$ npm install
-
Create the .env.local environmental variables file:
EXPO_PUBLIC_PARSE_APPLICATION_ID=<parse_app_id> EXPO_PUBLIC_PARSE_JAVASCRIPT_KEY=<parse_javascript_key>
Make sure to replace
<parse_app_id>
and<parse_javascript_key>
with your actual ID and key. To obtain your credentials navigate to your Back4app app and select "App Settings > Security & Keys" in the sidebar. -
Run the Expo development server.
$ expo start
-
Press
A
to open your app in the emulator/connected Android device.