0% found this document useful (0 votes)
47 views9 pages

Android App Setup Guide with Firebase

Here are the key steps to set up an Android app to run on a server using Firebase and Stripe: - Unzip the Android file and open the project in Android Studio. Rename the package if needed. - Set up a Firebase project and download the GoogleService.json file to include in the Android project. Configure authentication using Google Sign-In. - Configure Stripe by registering an account and copying the publishable and secret keys to include in the app's constants file. Make other configuration changes like contact info and policies.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views9 pages

Android App Setup Guide with Firebase

Here are the key steps to set up an Android app to run on a server using Firebase and Stripe: - Unzip the Android file and open the project in Android Studio. Rename the package if needed. - Set up a Firebase project and download the GoogleService.json file to include in the Android project. Configure authentication using Google Sign-In. - Configure Stripe by registering an account and copying the publishable and secret keys to include in the app's constants file. Make other configuration changes like contact info and policies.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Android Code Setup

Here are some quick steps to make this Android app run on your server.
- Unzip the Android file and you will find one folder named Vegi.

-Open android studio and open project Name Vegi.


Follow the steps provided in the link below to change the package name:
https://stackoverflow.com/questions/16804093/rename-package-in-android-studio
Setup Firebase Configuration :
- Open Firebase console ( https://console.firebase.google.com/u/0/ ).

- Select the add project tab.


- Enter your project name.

- Tap the Continue button.

- Tap the Continue button for google analytics.

- Select Default account for firebase.


- Enter your bundle identifier & app name.

- Tap on the Register app button.


- Download GoogleService.json file.
Move google-services.json file into android studio as below picture

-For google authentication


go to firebase console and open authentication tab
- Select Sign-In-Method.

- Select the Google edit icon.

- Enter Base URL & Upload Base URL & Unique-Key


> Configure Stripe
- Open https://dashboard.stripe.com/register URL.

- Register & Login your account

- Copy Publishable key & Secret key.

Chenge it in Const file as below picture


- Change Contact Info in string file

- Enter your terms & condition, privacy policy & aboust us URL in Const File
- Change App Icon:-

Change Map Api key:


Open Strings file and change “map_key” as below picture

You might also like