CourtneyLiang / VersionChecker

Simple Android library to check the version of the application with Google Play and force update.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Version Checker Download

VersionChecker is an Android library to check the version of the application with Google Play Store and force update.

How to integrate

Add this dependency in your build.gradle:

dependencies {
    compile 'com.statickidz.versionchecker:versionchecker:1.0.2'
}

How to use

The simplest integration:

public class MainActivity extends AppCompatActivity {

    VersionChecker versionChecker;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        versionChecker = new VersionChecker(this);
        versionChecker.check();
    }
}

Have a look at the sample project for other examples.

License

Licensed under the Apache License. See the LICENSE.md file for more details.

About

Simple Android library to check the version of the application with Google Play and force update.

License:Other


Languages

Language:Java 100.0%