This open source library allows you to A/B Test your Android app.
- Download the latest VWO Android SDK.
- Have a look at integrating SDK article on the VWO Knowledge Base Website.
- Android 4.0 (API 14) or later
This SDK requires an app key. You can sign up for an account at VWO. Once there, you can add a new Android App, and use the generated app key in the app.
- Sign Up for VWO account at https://vwo.com
- Create a new android app from create menu
- Use the app generated app key, while integrating SDK into android app.
- Create and run campaigns.
In your top level build.gradle
file add the following code under repositories.
buildscript {
...
repositories {
...
}
}
allprojects {
repositories {
...
mavenCentral()
...
}
}
Add dependencies to app/build.gradle
file
dependencies {
...
implementation 'com.vwo:mobile:2.9.0@aar'
implementation ('io.socket:socket.io-client:1.0.0') {
// excluding org.json which is provided by Android
exclude group: 'org.json', module: 'json'
}
// Skip this if you are already including support library in your app.
implementation 'com.android.support:support-core-utils:27.1.1'
...
}
Update your project AndroidManifest.xml with following permissions:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
MIT License
Copyright (c) 2018-2022 Wingify Software Pvt. Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.