diff --git a/README.md b/README.md index 0d6afd5..a0118fe 100644 --- a/README.md +++ b/README.md @@ -29,32 +29,32 @@ Google-Directions-Android: :https://github.com/jd-alexander/google-directions-an P.S: If ou're going to download the full project please use your own firebase API, the one in the project will NOT be mantained and the app may not work. -# Implementation Guide -**1 - Project** -1 - Open the Project in your android studio; -2 - !!!!IMPORTANT!!!! Change the Package Name. You can check how to do that here (https://stackoverflow.com/questions/16804093/android-studio-rename-package) - - -**2 - Firebase Panel** -1 - Create Firebase Project (https://console.firebase.google.com/); -2 - import the file google-service.json into your project as the instructions say; -3 - Change Pay Plan to either Flame or Blaze; -4 - Go to Firebase -> Registration and activate Login/Registrtion with email -5 - Go to Firebase -> storage and activate it; - -**3 - google maps** -1 - Add your project to the google API console (https://console.cloud.google.com/apis?pli=1) -2 - Activate google Maps API -3 - Activate google Places API -4 - Add google maps API key to the res/values/Strings.xml file in the string google_maps_key - -**4 - PayPal** -1 - Install Node.js. Check my video to see how it is done (https://www.youtube.com/watch?v=nLxH15a4-6g&list=PLxabZQCAe5fgXx8cn2iKOtt0VFJrf5bOd&index=42); -2 - go to paypal developer and create an app; -3 - enable payouts in the app you've just created; -4 - Add the paypal credentials to the node.js project. Again follow the youtube video to see how it is done; -5 - Set the fee in your index.js file to the percentage that you want -6 - deploy the project; -7 - Go to the android studio -> java -> your package name -> PayPalConfig: - a) add the PAYPAL_CLIENT_ID which you get from the paypal developer control Panel; - b) add the PAYPAL_PAYOUT_URL which you get in the firebase control panel -> functions and the url that you want is the payouts; +# Implementation Guide +**▷ Project** +1. Open the Project in your android studio +1. !!!!IMPORTANT!!!! Change the Package Name. You can check how to do that here (https://stackoverflow.com/questions/16804093/android-studio-rename-package) + + +**▷ Firebase Panel** +1. Create Firebase Project (https://console.firebase.google.com/) +1. import the file google-service.json into your project as the instructions say +1. Change Pay Plan to either Flame or Blaze +1. Go to Firebase -> Registration and activate Login/Registrtion with email +1. Go to Firebase -> storage and activate it + +**▷ Google maps** +1. Add your project to the google API console (https://console.cloud.google.com/apis?pli=1) +1. Activate google Maps API +1. Activate google Places API +1. Add google maps API key to the res/values/Strings.xml file in the string google_maps_key + +**▷ PayPal** +1. Install Node.js. Check my video to see how it is done (https://www.youtube.com/watch?v=nLxH15a4-6g&list=PLxabZQCAe5fgXx8cn2iKOtt0VFJrf5bOd&index=42) +1. go to paypal developer and create an app +1. enable payouts in the app you've just created +1. Add the paypal credentials to the node.js project. Again follow the youtube video to see how it is done +1. Set the fee in your index.js file to the percentage that you want +1. deploy the project +1. Go to the android studio -> java -> your package name -> PayPalConfig: + a) add the PAYPAL_CLIENT_ID which you get from the paypal developer control Panel + b) add the PAYPAL_PAYOUT_URL which you get in the firebase control panel -> functions and the url that you want is the payouts