Installation

Requirements

Android API version 24 or higher

Storage Migration Notice (from v1.0.0)

  • Starting from v1.0.0, changes to the storage key system may cause previously stored data to become inaccessible.

  • If the existing key is determined to be invalid, stored data will be automatically reset and a new key will be generated.

  • If the key is valid, your data will remain unchanged.

  • Downgrading from v1.0.0 to an earlier version may result in loss of access to previously stored data.

We strongly recommend backing up important data before updating to avoid potential issues.

Compatibility with WepinLogin

  • If you are using this module alongside WepinLogin, please ensure that you are also using WepinLogin v1.0.0 or higher.

  • Mixing different major versions of Wepin modules may result in compatibility issues, unexpected errors, or inconsistent behavior.

  • For a stable integration, always use v1.0.0+ across all Wepin modules together.

  • Starting from WepinPin v1.1.0, WepinLogin is included as a dependency within WepinPin. You no longer need to install or import WepinLogin separately.

Installation

Add Wepin PIN Pad Library to .gradle

Add the JitPack repository to the project-level's build gradle file

 dependencyResolutionManagement {
     repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
     repositories {
         google()
         mavenCentral()
         maven("https://jitpack.io") // <= Add JitPack Repository
     }
 }

Add Wepin PIN Pad Library to dependencies

Add the following to the app's build gradle file. You can insert the release version you want to use.

dependencies {
  // ...
  implementation("com.github.WepinWallet:wepin-android-sdk-pin-v1:vX.X.X") 
}

Release

The released package versions can be found on the GitHub repository below.

Last updated

Was this helpful?