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