Sample applications for Application License Checker.
ALC v2 SDK is now available for Java.
First, clone the integrated OneStore SDK Unity Package. Link
After then, follow the guide for unity Guide for Korean / for English
These are required libraries for using check licenses.
- com.onestorecorp.core
- com.onestorecorp.auth
It's already obfuscated and in aar,so add the package to the proguard rules.
# Core proguard rules
-keep class com.gaa.sdk.base.** { *; }
-keep class com.gaa.sdk.auth.** { *; }
# Purchasing proguard rules
-keep class com.gaa.sdk.iap.** { *; }
# Licensing proguard rules
-keep class com.onestore.extern.licensing.** { *; }
using OneStore.Alc;
ILicenseCheckCallback callback = new ILicenseCheckCallback() {
// implements method
}
// License key for your app registered in the ONE store Developer Center.
var licenseKey = "...";
var licenseChecker = new OneStoreAppLicenseCheckerImpl(licenseKey);
licenseChecker.Initialize(callback);
If you want to change older SDK(v1) to SDK(v2), follow this for Korean / for English
If you want to download older SDK(v1), click This Link