Android Mobile Kit
The Evinced Android Mobile Kit will enhance the existing accessibility testing effectiveness of the Evinced mobile automation SDKs suite and/or Evinced MFA users. Using native code richer data sets will be used to uncover a wider range of potential issues ultimately allowing for more comprehensive coverage and gradually unleashing new admin and governance capabilities.
Integration is seamless, requiring minimal integration steps and minimal ongoing maintenance efforts. New validations will be available once the Evinced Mobile Kit integration process is completed on a host app.
Supported versions / frameworks
Evinced Android Mobile Kit is supported from the following versions:
- Evinced Appium Java SDK 1.20.0 and higher;
- Evinced Espresso SDK 1.20.0 and higher;
- Evinced MFA 7.0.0 and higher.
Older versions of automation SDKs or MFA are not supported by Android Mobile Kit.
Prerequisites:
- Android 5.0 (API 21) or higher;
- Java 11 or higher;
- Kotlin 1.5 or higher.
Get Started
Setup
In order to use Evinced Android Mobile Kit:
- Add a new dependency to your host app
- Once the new dependency is added, sync and rebuild the target application
Here is an example of build.gradle in the root of the project for Gradle < 7.0:
1 allprojects {2 repositories {3 ...4 maven { url 'https://evinced.jfrog.io/artifactory/public-gradle' }5 }6 }7
For Gradle 7.0 and higher:
1 dependencyResolutionManagement {2 ...3 repositories {4 ...5 maven { url 'https://evinced.jfrog.io/artifactory/public-gradle' }6 }7 }8 ```9 For Kotlin Script:10 ```java11 dependencyResolutionManagement {12 ...13 repositories {14 ...15 maven(url = "https://evinced.jfrog.io/artifactory/public-gradle")16 }17 }
Add the dependency into your build.gradle of the app level:
1dependencies {2 ...3 implementation "com.evinced:mobile-kit:{sdk-version}"4 ...5 }
Sync and rebuild your application project with updated gradle files.
Note: No initialization like call is required.
Mobile automation SDKs Enablement
See the below examples to enable the Mobile Kit on Evinced Mobile Automation SDKs.
Evinced Appium Java SDK example:
1@BeforeClass2public static void setupAppiumDriver() {3 final InitOptions initOptions = new InitOptions(new MobileKitConfig(true));4 // Or5 final InitOptions initOptions = new InitOptions().setMobileKitConfig(new MobileKitConfig(true));67 evincedAppiumSdk = new EvincedAppiumSdk(driver, initOptions);8 }
More detailed instructions can be found here:
- Evinced Appium Java SDK Mobile Kit documentation;
- Evinced Espresso / UI Automator SDK Mobile Kit documentation.
Additional Information
Version Details
SDK Version # | Release Date | Version Download Link | Artifact Size, MB | Integrated Size, MB | Peak RAM usage, MB |
---|---|---|---|---|---|
0.1.9 | 12/02/24 | 0.1.9 | 0.3 | ~0.3 | 7.6 |
0.2.0 | 13/02/24 | 0.2.0 | 0.3 | ~0.3 | 7.6 |
1.0.0 | 22/05/24 | 1.0.0 | 0.7 | ~0.7 | 8.2 |
Release notes per version are available in the following link - Android Mobile Kit release notes
Note: Currently the version artifact is not supported by Maven and is retrieved using Jfrog private servers ('artifactory')
Internal Mobile Kit dependencies
This section shows a list of all internal Mobile Kit dependencies.
Dependency name | Version number |
---|---|
androidx.appcompat:appcompat | 1.3.0 |
androidx.core:core | 1.9.0 |
Security & Production Stage
WARNING: The Mobile Kit is a non-production library that is not currently intended to be used in a production app version.>
As per the warning above, the Mobile Kit is secure and self-contained:
- No data leaves your environment
- There are no external API calls made