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
- Host: GitHub
- URL: https://github.com/hu2di/checkappid
- Owner: hu2di
- License: apache-2.0
- Created: 2017-05-09T17:13:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-04T11:57:48.000Z (about 6 years ago)
- Last Synced: 2025-08-10T10:29:33.802Z (11 months ago)
- Topics: android, application-id, check, json, library, matchers, server
- Language: Java
- Size: 1.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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