Page tree
Skip to end of metadata
Go to start of metadata

The current release of the image injection feature has a small set of limitations that will be addressed in future releases. The user should be aware of these limitations before using the feature to test an application.

iOS limitations

API support limitations

  • AVCaptureVideoPreviewLayer - used by the application to display the preview view of the camera. The injected image will be displayed only after the camera snaps the picture, not during the preview display.
  • AVCapturePhotoCaptureDelegate - Image injection is not currently supported for applications based on this class.
  • AVCaptureMetadataOutput - used by different bar-code reader applications. When application uses this API, use Start image inject prior to activating the camera.
  • UIImagePicker - applications that use this API in iOS10 will only see the injected image after clicking the Use Photo button in the user-interface.

Functional limitations

  • When the application offers different view options for image display, Start image inject should be invoked separately when switching between different screens that use the camera, even if the same image needs to be injected.
  • Image injection is supported only for a single application that is instrumented for the image injection on the device. If an application on the device, other than the currently tested application, is instrumented for injection - uninstall it before testing the current application.

Android limitations

API support limitations

  • android.hardware.camera2 - new camera API. Image injection is currently not supported for applications using this API.
  • Image injection supported only for devices running Android 4.4 or later.
  • Image injection is supported for apps that activate the AndroidMediaStore.ACTION_IMAGE_CAPTURE Intent and store the image only to a public URL, apps that store the image to a "private" location or to FileProvider locations are not supported.

Functional limitations

  • When testing multiple applications, close the application that started image injection prior to starting image injection for a second application.
  • Image injection is not supported for applications running in multi-processing mode.
  • In Android 5, some applications using image injection may invoke a Perfecto popup that will cause the image injection to fail.