Skip to content

Commit 7e94287

Browse files
authored
Merge pull request #1347 from shreybansal-lambdatest/stage
updated firebase documentation
2 parents b3a9abf + 0c36960 commit 7e94287

File tree

6 files changed

+28
-11
lines changed

6 files changed

+28
-11
lines changed
42 KB
Loading
51.3 KB
Loading
187 KB
Loading
31.1 KB
Loading
35.5 KB
Loading

docs/install-apps-from-firebase.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,31 @@ Let’s dive in to learn how to test apps installed from Firebase.
4141

4242
**Prerequisites:**
4343

44-
Create a project on Firebase and open this project on Google Cloud Platform (GCP).
44+
Create a new project on Firebase and open it in Google Cloud Platform (GCP). Using a new project is preferred, though an existing one can be used.
4545

46-
Here, create an OAuth Client ID.
46+
Here, create an [OAuth Client ID](https://developers.google.com/identity/protocols/oauth2).
4747

48-
In this step, add the Authorized Redirect URL:
49-
https://mobile-mwc-bye-app-center-dev.lambdatestinternal.com/app
50-
and the Authorized JavaScript URL:
51-
https://mobile-mwc-bye-app-center-dev.lambdatestinternal.com
48+
In this step, update the following URLs as -
49+
| Input Field | URL |
50+
|-----------------|-------------|
51+
| JavaScript origins | https://applive.lambdatest.com |
52+
| Redirect URIs| https://applive.lambdatest.com/app |
53+
54+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/vaibhavrox.png').default} alt="Real " className="doc_img" width="1366" height="450"/>
5255

5356

5457
Download the OAuth client config JSON file, or simply take note of the Project ID, Client ID, and Client Secret Key.
5558

56-
Go to Firebase and navigate to App Distribution to upload your application.
59+
Next, add an app, navigate to Firebase, and proceed to App Distribution to upload the application releases.
5760

5861

5962
:::tip
60-
In GCP, go to the OAuth consent screen --> Audience section, and you can add more testers for your project.
61-
You must be a tester for your own project, or you must publish it to ensure that this works.
63+
Access to the project is granted only if-
64+
1. You are the owner.
65+
2. You are a tester for the app.
66+
3. The app is published.
67+
68+
These settings can be updated in the OAuth consent screen.
6269
:::
6370

6471
Steps to Test apps:
@@ -71,16 +78,26 @@ Login to your LambdaTest account. Visit **Real Device** from the left panel and
7178
**Step 2:**
7279
When you click on Add Project, you can integrate your Firebase account with LambdaTest either by uploading a **config file** or connecting **using credentials**. You should have these credentials from the prerequisite step.
7380

81+
Upload a Config file -
7482
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/2photo.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
83+
Connect with credentials -
84+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/Animeshrox.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
7585

7686
**Step 3:**
7787
After entering these details, the option to **sign in with Google** will appear. Follow the steps and choose the Google account through which you would like to integrate Firebase with LambdaTest.
7888

7989
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/3photo.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
80-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/1blurry.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
81-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/2blurry.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
90+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/1blurryblurry.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
91+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/2blurryblurry.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
8292

8393
**Step 4:**
8494
You will have successfully integrated LambdaTest with Firebase. You can now click on **Share Now** to share the project with the testers you added in GCP.
8595

8696
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/6photo.png').default} alt="Real " className="doc_img" width="1366" height="629"/>
97+
98+
Note: Projects can also be shared later directly from the menu.
99+
100+
**Step 5:**
101+
Now, you can view all the apps you’ve uploaded along with their respective versions, which can be synced with LambdaTest. Select the application, choose the version, pick the device for testing, and **start the session.**
102+
103+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/firebase/akshayrox.png').default} alt="Real " className="doc_img" width="1366" height="629"/>

0 commit comments

Comments
 (0)