8000 GitHub - ONE-store/applicense_unitySample
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ONE-store/applicense_unitySample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

ONEstore Application License Checker Unity Sample

Sample applications for Application License Checker.

ALC v2 SDK is now available for Java.

How to use ALC v2 SDK for unity?

First, clone the integrated OneStore SDK Unity Package. Link
After then, follow the guide for unity Guide for Korean / for English

Caution

These are required libraries for using check licenses.

  • com.onestorecorp.core
  • com.onestorecorp.auth

Use a proguard

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.** { *; }

Use Licensing Module

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0