An open API service indexing awesome lists of open source software.

https://github.com/hu2di/checkappid

The android library checks for the application id that matches the application id on the server
https://github.com/hu2di/checkappid

android application-id check json library matchers server

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

### 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
```json
{ "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:
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```groovy
dependencies {
compile 'com.github.hu2di:CheckAppID:1.0.3'
}
```

### Example
Add in your activity to check every application is opened
```java
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
```java
new CheckAppID(this,
"https://yourServer/yourFile.json",
//Ex: https://raw.githubusercontent.com/hu2di/CheckAppID/master/Server/CheckAppIds.json
"your-email@gmail.com")
.executeDayByDay();
```

### About
- Created by HuyHung Dinh
- GitHub: https://github.com/hu2di
- Email: hebitaxy@gmail.com