Sample applications for Application License Checker.
Now(ALC API v2), You can download Application License Checker SDK using the maven system.
Add the maven url to root gradle.
repositories {
...
maven { url 'https://repo.onestore.net/repository/onestore-sdk-public' }
}
And, add the dependency to your project gradle.
dependencies {
def onestore_alc_version = "2.2.1"
implementation "com.onestorecorp.sdk:sdk-licensing:$onestore_alc_version"
}
Next, enter your license key to your project gradle. The method below is used only in the test app.
Cause
For license keys, it is recommended to use it after receiving it through a server rather than saving it as an in-app code to ensure security.
android {
...
defaultConfig {
buildConfigField "String", "PUBLIC_KEY", "\"INSERT YOUR LICENSE KEY\""
}
...
}
If you want to download older SDK(v1), click This Link
- Changed instance of AppLicenseChecker calling method
- In version 1, the instance was created directly.
- In version 2, call get() static function for instance of AppLicenseChecker
- Deprecated the error code class
- Deprecated Enumeration.HandleError and Enumeration.HandleException and made new class for AppLicenseChecker.ResponseCode.
- Changed the deployment flow of json file(global-appstore.json)
- Can download json file for korea region using the maven.
- 2025-03-10
- Fix exception handling bug when using
getApplicationEnabledSetting()
- Fix exception handling bug when using
- 2025-02-25
- Enhanced developer option features
- Added
StoreEnvironment.getStoreType()API
- 2024-07-01
- Maven Url changed.
- Application License Checker v2.1.1 has been applied.
sdk-configuration-xxis deprecated.
- 2022-09-29
- Uploaded samples for ONEstore Application License Checker Library v2.
Copyright 2023 One store Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.