https://react-native-app-template.web.app/
-
Download or clone this repo.
-
Install dependencies.
npm install
// or
yarn install
- Go to
src/core/config.js
and replaceFIREBASE_CONFIG
with your own firebase config.
export const FIREBASE_CONFIG = {
apiKey: 'xxx-yyy-zzz', // etc.
// rest of your firebase config
}
-
Turn on Google and Facebook Providers inside your Firebase Project:
-
Google Sign In configuration:
- Follow official Expo docs on Google Sign In: https://docs.expo.io/versions/latest/sdk/google/#using-it-inside-of-the-expo-app
- Go to
src/core/config.js
and replaceANDROID_GOOGLE_CLIENT_ID
andIOS_GOOGLE_CLIENT_ID
with your own generated IDs. - Before submitting your app to Google Play, make sure to follow these docs: https://docs.expo.io/versions/latest/sdk/google/#deploying-to-a-standalone-app-on-android
- Before submitting your app to App Store, make sure to follow these docs: https://docs.expo.io/versions/latest/sdk/google/#deploying-to-a-standalone-app-on-ios
-
Facebook Login configuration:
- Follow official Expo docs on Facebook Login: https://docs.expo.io/versions/latest/sdk/facebook/#registering-your-app-with-facebook
- Go to
app.json
and replacefacebookScheme
,facebookAppId
andfacebookDisplayName
with your own generated IDs/names.
-
Run project on iOS / Android.
npm run ios // npm run android
// or
yarn ios // yarn android
In case of any questions or problems, please contact me at: [email protected]