Image injection in remote devices

Applications such as banking and payment apps, lifestyle apps, and social media apps use the mobile device camera to capture images and scan QR codes or barcodes.

App Live enables you to test image capture and QR code/barcode scanning for your apps on remote BrowserStack devices. You can upload an image, QR code, or barcode to the remote device by using the Image Injection feature. The uploaded image or QR/barcode is used as input to the remote device camera to simulate the action of capturing an image or scanning a code.

By using Image Injection on App Live, you can test your app for scenarios such as:

  • Capturing images of checks, receipts, and other images.
  • Scanning QR code.
  • Scanning barcode.

You can enable the Image Injection, Biometric Authentication, and Device Passcode settings together in the same test session on App Live.

In this guide, you learn about:

Supported devices, apps, and images/QR codes/barcodes

DevicesAppsImages or barcodes

App Live supports testing your app with Image Injection on the following devices:

App Live supports testing of the following types of apps using Image Injection:

App Live supports testing of the following types of images or QR codes/barcodes using Image Injection:

  • Images or QR codes/barcodes in the .jpg, .jpeg, and .png formats.
  • Image/QR code/barcode size not exceeding 10 MB.

Enable Image Injection setting for your Android app

  1. Log in to the App Live dashboard.
  2. On the App Live dashboard, upload your app from the left panel.
  3. After your app is uploaded, click the configuration icon next to the file name of your app.
  4. Under App Configurations, enable Image Injection.