# 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="/files/4w76S9Jbgq0mmj6fULmG" alt=""><figcaption></figcaption></figure>

4.- Click on Next step

<figure><img src="/files/LI1WZED3EeyIDcuA71mY" alt=""><figcaption></figcaption></figure>

5.- Click on Facebook app dashboard

<figure><img src="/files/nmHYZW7t0SgVi1PnNtbg" alt=""><figcaption></figcaption></figure>

6.- Click on Configure in Login with Facebook.

<figure><img src="/files/nkiSdsHE5z1ASr1Gdwh4" alt=""><figcaption></figcaption></figure>

7.- Click on Android.

<figure><img src="/files/2rDEFNfT7eNbrGkHHi00" alt=""><figcaption></figcaption></figure>

8.- Click on next step

<figure><img src="/files/vx9QRIDkcaldlth2DZNl" alt=""><figcaption></figcaption></figure>

9.- Click on Facebook app dashboard

10.- Click on the Android icon.

<figure><img src="/files/E8p8gB90emqJKWj1OnVj" alt=""><figcaption></figcaption></figure>

11.- Click on next.

<figure><img src="/files/hoAiLoedzp6RmxiR76iK" alt=""><figcaption></figcaption></figure>

12.- Click on next.

<figure><img src="/files/LrCigy0H0h1kYy4UHmSo" 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="/files/16vzTc3sKx9FuIDveFQ8" alt=""><figcaption></figcaption></figure>

15.- Click on continue.

<figure><img src="/files/3FmuqEOaJ4y3FU9C14rH" 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="/files/jKXweRf8GeyL7pXONqXK" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/3iUSWYHAy8Rd1937d9Cy" 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="/files/J0GsyF6nd8xpdfXCZhCc" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/global-functions-1/android/estilos/margins.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
