# Request Apk and Abb in Apphive

1.- Enter [https://editor.apphive.io ](https://editor.apphive.io/)and select your project<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/1/194c0a4afa4e43c72b73812d6b21ded94aea7492_2_690x395.png" alt=""><figcaption></figcaption></figure>

2.- Click on the Options icon and click on App dashboard<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/5/54536d1f0f4eaa0a3be1cb3d0a898b040ec894fc_2_690x397.png" alt=""><figcaption></figcaption></figure>

3.- Click on Compilations<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/a/a67c6161af6c2de7960f44c02ae681cd3af8c9e0_2_690x395.png" alt=""><figcaption></figcaption></figure>

4.- Click on the New Compilation button<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/f/f589ad56762a942854382706cc5877d530271831_2_690x395.png" alt=""><figcaption></figcaption></figure>

5.- Select Android (Google Play) and click on Create request<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/5/5018f5ab029d0b6418c425090d3c7fb6cae1d2bb_2_690x395.png" alt=""><figcaption></figcaption></figure>

6.- Add a compilation ID without typing Space, using the structure that is shown in\
the following picture, always separating between each one with a dot and with no\
spaces. **YOU DON’T NEED TO HAVE A WEB DOMAIN, DON’T WRITE**\
**LOWERCASE LETTERS, ACCENTS, NUMBERS, OR PUNCTUATION SYMBOLS,**\
**EXCEPT DOTS.**

Domain type: com, gov, edu, net, org, io, mx, etc.\
Name of your Firebase project: ubereatsplantillas\
Copy and paste, from the note or document, the NAME OF YOUR FIREBASE\
PROJECT and erase the spaces between each word, if any.\
Name of your app (the name your app is identified): plantillausuario,\
ubereatsusuario, appubereats.\
**IMPORTANT** Copy the Compilation ID of your app and then paste it in your notes or\
a document as below:\
COMPILATION ID: com.ubereatsplantillas.plantillausuario\
After that, click on Assign Compilation ID<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/f/f11107c5bd9d26b91e96896a22a6c05cba3588da_2_690x395.png" alt=""><figcaption></figcaption></figure>

7.- Click on Pick Service Account file.<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/9/951a7989b39aaeffeb32259d4fb6910f64ada9c1_2_690x395.png" alt=""><figcaption></figcaption></figure>

8.- Open the SERVICE ACCOUNT FILE folder, choose the .json file, and press Open<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/1/1eacf5e7cf91d248dbea067bd3ca368980fd3e5a_2_690x395.png" alt=""><figcaption></figcaption></figure>

9.- Verify that the button changes to File Uploaded Successfully, and click on Next\
Step<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/1/174c2759f530d168509b8bb080b94a0113871c24_2_690x395.png" alt=""><figcaption></figcaption></figure>

10.- Copy from your notes or documents the FIREBASE REAL-TIME DATABASE\
URL, paste it on the box and click on Next Step.<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/c/c2fd1142db4e6ca1b184971c9728019b9b765107_2_690x395.png" alt=""><figcaption></figcaption></figure>

11.- Copy from your notes or documents the FIREBASE STORAGE URL, paste it on\
the box and click on Next Step.

14.- Verify that you have enabled, in the “Authentication/sign-in method” section, Log\
in with your Firebase email, and click on Reload.

15.- Click on “Click here to get deployment token”.<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/8/8bc2db253e846182e6889cb38b5918e6a416971e_2_690x395.png" alt=""><figcaption></figcaption></figure>

16.- Choose your Gmail account

* Important: You must log in with the same account you used to create your\
  Firebase project<br>

  <figure><img src="https://community.apphive.io/uploads/default/optimized/2X/6/66e8d3d4a38bbd63d7ec0ec9a3f1ec9483ca28f3_2_690x396.png" alt=""><figcaption></figcaption></figure>

17.- Click on Allow<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/3/3a7e600f72e5703af8c47d6ce7e52b04dcb297f8_2_690x397.png" alt=""><figcaption></figcaption></figure>

18.- Click on the Copy icon<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/d/d16f3407b1ef73e29f17819fac7c995757d1ddf9_2_690x396.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/e/e8897842385abee826fe3ee396907708b5b8e27e_2_690x397.png" alt=""><figcaption></figcaption></figure>

\ <br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/1/16857995bf66d798fa662549f37be0da971035da_2_690x398.png" alt=""><figcaption></figcaption></figure>

19.- Paste it on the Cloud Deployment Token box, and click on Set Token<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/5/51a2b928093918e8f8efe57166fd1ec0202201fc_2_690x396.png" alt=""><figcaption></figcaption></figure>

20.- Copy the SHA-1 from the box, click on Project Dashboard<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/4/4e65060db1e037195fe47581e77cf856491854e4_2_690x395.png" alt=""><figcaption></figcaption></figure>

21.- Click on Add a fingerprint<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/9/9d646486a2e8c57d0b2a9c67928dec8155c9f16a_2_690x394.png" alt=""><figcaption></figcaption></figure>

22.- Paste the SHA-1 in Certificate Fingerprint, click on Save.<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/2/2910e0fb15d10af9d9c8b2faf6f5090fb7b0d0dd_2_690x394.png" alt=""><figcaption></figcaption></figure>

23.- Go back and click on Next Step<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/4/4e65060db1e037195fe47581e77cf856491854e4_2_690x395.png" alt=""><figcaption></figcaption></figure>

**VERY IMPORTANT: THE FOLLOWING TEMPLATES CAN DISPLAY DEPENDING**\
**ON THE FUNCTION YOU ADDED IN YOUR APP (LOGIN WITH WITH**\
**FACEBOOK, LOGIN WITH GMAIL, START GEOLOCATION TRACKING, MAP**\
**ELEMENT), AND YOU MUST COMPLETE THEM TO FINISH THE PROCESS OF**\
**APK AND AAB REQUEST, THESE REQUIREMENTS WON’T DISAPPEAR, EVEN**\
**IF YOU DELETE THE FUNCTION IN THE APP**

**SIGN IN GOOGLE METHOD**

1.- Click on Project Dashboard. Within your Firebase, check if you have enabled the\
Log In with Gmail function.

2.- Select “Google”, click on Activate, select your email and click on Save.

3.- Go back and click on Next Step

**SIGN IN FACEBOOK METHOD**

1.- Click on project dashboard, in your Firebase verify that you have enabled the login with Facebook<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/6/660c0955efabfb464e4c0fd3f3fce246379011b1_2_690x396.png" alt=""><figcaption></figcaption></figure>

2.- Click on Next step<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/6/660c0955efabfb464e4c0fd3f3fce246379011b1_2_690x396.png" alt=""><figcaption></figcaption></figure>

3.- Copy the FACEBOOK APP ID from your note or word and paste it into your box, then copy the FACEBOOK SECRET KEY from your note or word and paste it into your box

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FnfXwOaqv1rJrYe47gwlh%2Fimage.png?alt=media&#x26;token=d4cb3f2c-d0e6-47b0-a76a-45be91503cc7" alt=""><figcaption></figcaption></figure>

4.- Click on Next step

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FjVJdW6V2NiPBrY53vn87%2Fimage.png?alt=media&#x26;token=64ec804f-d1ef-4a00-a0d4-c34756f99c3f" alt=""><figcaption></figcaption></figure>

5.- Click on Facebook app dashboard

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FzSAJVrdqVMzxYZwyvZI7%2Fstep%20by%20step%2054(Facebook).png?alt=media&#x26;token=d9d96f18-b231-4974-b4de-a6139d9950f3" alt=""><figcaption></figcaption></figure>

6.- Click on Configure in Login with Facebook.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FVdSIINAiX9Hh14KCI9ZY%2Fstep%20by%20step%2055%20(Facebook).png?alt=media&#x26;token=8a51b349-b1f4-48bf-bd16-d81e9980923e" alt=""><figcaption></figcaption></figure>

7.- Click on Android.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FTexXraJz3z3QnnaI6XOB%2Fstep%20by%20step%2056%20(Facebook).png?alt=media&#x26;token=d8156f3c-1aaa-4d18-911d-aa77c5a2bee5" alt=""><figcaption></figcaption></figure>

8.- Click on next step

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FHkYoWz5rT1QWs4jzoVAK%2Fimage.png?alt=media&#x26;token=7555d366-6997-44f5-976a-2758ae1642f5" alt=""><figcaption></figcaption></figure>

9.- Click on Facebook app dashboard

10.- Click on the Android icon.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2F7G7BV04u9jWz90Tch4Xa%2Fstep%20by%20step%2056%20(Facebook).png?alt=media&#x26;token=3382c909-0fa4-4c5e-a59a-533909c9e5d6" alt=""><figcaption></figcaption></figure>

11.- Click on next.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FYi495qv1C2SATu3yclhR%2Fimage.png?alt=media&#x26;token=a6ef9ac5-2983-4203-88bc-4442f518b0ee" alt=""><figcaption></figcaption></figure>

12.- Click on next.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2F7nty2n0xMbG8Wju5VWLB%2Fimage.png?alt=media&#x26;token=f642328b-9ce8-48f9-858c-e8e0bd6cd958" alt=""><figcaption></figcaption></figure>

14.- Paste the Android package name in Package name, type MainActivity (with the exact same capitalization and no spaces) and click Save

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2F8PJld2sy3sBoBxlL8UHU%2Fimage.png?alt=media&#x26;token=6239596c-61e1-402c-9914-6230d7802099" alt=""><figcaption></figcaption></figure>

15.- Click on continue.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FZbLGuSotyZZVaQXEECqx%2Fstep%20by%20step%2057%20(Facebook).png?alt=media&#x26;token=958d9865-79b2-4afd-b946-7aa2a8601e7b" alt=""><figcaption></figcaption></figure>

17.- Paste the Release key hash in Key Hashes, select the key hash in blue and click save

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FFyPCROt6RXeKf2HDlpSZ%2Fimage.png?alt=media&#x26;token=4047062e-109a-4da9-8eb3-3bb3d685af78" alt=""><figcaption></figcaption></figure>

19.- Click to activate the Single Sign On switch, click Save and Next.

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2Fdj2ErxjwzRPQcWKbacss%2Fstep%20by%20step%2058%20(Facebook).png?alt=media&#x26;token=1adbf7d8-9919-4e4a-b059-e1ac541cf020" alt=""><figcaption></figcaption></figure>

**GOOGLE MAPS KEY**

1.- Paste your Google API Key in the marked box, then click on Next Step

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FAVJ04p2Ny5AdxE52793j%2Fstep%20by%20step%2059%20(Facebook).png?alt=media&#x26;token=db46e0c6-54ec-4a2d-9976-8bba46a5214b" alt=""><figcaption></figcaption></figure>

* \*In case you need to get your Google API Key
