Updating Base URL, Facebook , Apple and Google API Key, Driver package name

Note: You Can Create Facebook App Id and Google login for either rider or driver , and use the same Google Map Key for both rider and driver(changes in Android Studio ->

app/res/values/string.xml )

● Get Facebook APP ID used to authenticate into different types of Web Application, Mobile Application.

● Follow the link to create Facebook APP ID https://developers.facebook.com/

● Get Google APP ID used to authenticate into different types of Web Application, Mobile Application.

● Follow the link to create Google API Key h ttps://console.developers.google.com/

● Change the Driver Package name to open the driver app from rider app if driver app is installed otherwise open the play store link to download.

● For Apple login follow the below url and generate App ID and Service ID

https://github.com/GeneaLabs/laravel-sign-in-with-apple

● Update Service ID in admin panel api_credentials

Note:

Use same Facebook and Google API key in web and iOS also.

Enable library in google API

● Google+ API

● Google Maps SDK for Android

● Google Maps SDK for iOS

● Google Places API

● Google Directions API

● Google Distance Matrix API

Steps To Update Base URL, Facebook, Apple and Google API Key

1. Open the CommonKeys java file in app/java/com/cabme/user/utils(Android Studio)

2. Update baseurl

3. Open the app folder in android studio

4. And then open the res folder

5. And then open the values folder

6. String.xml file contains

6.1. Application name

6.2. Facebook_Key

6.3. Facebook provider

6.4. google maps key -Replace Your API Key here

6.5. Google client id

6.6. driver package name here you can change it.

6.7. App name should be updated for all Languages in all the string files

6.8. Change live and demo in real_time_db for Firebase real time db

Last updated