Bluetooth pairing with Biometric Wallet
In order to develope android application with D'CENT biometric wallet, you must first connect your mobile phone together with the Biometric Wallet via Bluetooth pairing. Bluetooth pairing is required only once during the initial connection setup.
You can develop wallet application using D'CENT Andoird SDK.
Copy dependencies {
// # add dcent-biometric-sdk-android-vX.X.aar file
implementation files('libs/dcent-biometric-sdk-android-vX.X.aar')
// # required to use dcent-biometric-sdk-android
implementation 'com.google.protobuf:protobuf-java:3.5.1'
implementation 'org.web3j:core:3.3.1-android'
implementation 'com.klaytn.caver:core:1.0.0'
}
Copy <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
<!-- Bluetooth permissions: Android API >= 31 (Android 12)-->
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" tools:targetApi="s" />