Skip to content

hu2di/CheckAppID

Repository files navigation

CheckAppID

The android library checks for the application id that matches the application id on the server

Screenshot

SDK Support

Support from SDK version 14 onwards

JSON on Server

{ "data":[
	{"package":"com.blogspot.hu2di.test1"},
	{"package":"com.blogspot.hu2di.test2"},
	{"package":"com.blogspot.hu2di.test3"}
]}

Download

JitPack:
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
    compile 'com.github.hu2di:CheckAppID:1.0.3'
}

Example

Add in your activity to check every application is opened

new CheckAppID(this,
        "https://yourServer/yourFile.json", 
	//Ex: https://raw.githubusercontent.com/hu2di/CheckAppID/master/Server/CheckAppIds.json
        "your-email@gmail.com")
        .execute();

Add in your activity to check every day once

new CheckAppID(this,
        "https://yourServer/yourFile.json", 
	//Ex: https://raw.githubusercontent.com/hu2di/CheckAppID/master/Server/CheckAppIds.json
        "your-email@gmail.com")
        .executeDayByDay();

About

About

The android library checks for the application id that matches the application id on the server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages