Preconditions
For Android users, please check the following steps:
1. Add aar file
Download 'MYKEYWalletLib.aar' from following link, copy to libs directory of your app module
https://github.com/mykeylab/MYKEY-Client-SDK/tree/master/Android
2. Add libs
Add following code to file build.gradle
3. Add Jni configuration
In file build.gradle, add config for Jni directory
4. Add MYKEY dependencies
Add following dependency in file build.gradle
5. Add MYKEY activity
Copy following code to AndroidManifest.xml, and set the callback deeplink, composed by scheme、host and path
This configuration will generate a deeplink for MYKEY callback, which will be used in MYKEK SDK initlization, initSimple。
6. Proguard rules
Last updated