Skip to main content

How to Test Apps Installed via Firebase?

LambdaTest offers real device testing capabilities, enabling developers and QA teams to test on actual Android and iOS devices in the cloud. With Firebase App Distribution, you can easily configure your Firebase account within LambdaTest to seamlessly distribute apps from Firebase to LambdaTest App Live. This integration allows you to collaborate by sharing projects within your team on LambdaTest and test on real devices.

Let’s dive in to learn how to test apps installed from Firebase.

Prerequisites:

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.

Here, create an OAuth Client ID.

In this step, update the following URLs as -

Input FieldURL
JavaScript originshttps://applive.lambdatest.com
Redirect URIshttps://applive.lambdatest.com/app
Real

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

Next, add an app, navigate to Firebase, and proceed to App Distribution to upload the application releases.

tip

Access to the project is granted only if-

  1. You are the owner.
  2. You are a tester for the app.
  3. The app is published.

These settings can be updated in the OAuth consent screen.

Steps to Test apps:

Step 1: Login to your LambdaTest account. Visit Real Device from the left panel and navigate to App Testing and click on Install from Firebase.

Real

Step 2: 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.

Upload a Config file -

Real

Connect with credentials -

Real

Step 3: 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.

Real Real Real

Step 4: 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.

Real
note

Projects can also be shared later directly from the menu.

Step 5: 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.

Real

Key Actions Overview

Real
  1. Add new project: Click this button to add and sync new Firebase projects to your workspace.
  2. Refresh: This button refreshes the project list, apps, and releases to their latest state without affecting your synced releases.
  3. Project Menu: Click here to manage your project. You can share it with team members or delete it from the list.
  4. Sync: Sync your release. This is necessary to start any session and generates a unique app ID for the release, which will be used for automation test cases.
note

Please verify if your app is in testing mode.

If it is, ensure that you add your email as a test user in GCP. This option is available in the 'Audience' section of GCP.

Real

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles