The following steps must be followed before integrating the Samsung Blockchain Keystore SDK:
Prepare a device for development.
Please refer to the Keystore SDK Restrictions section for the list of devices that support Samsung Blockchain Keystore.
Download the Samsung Blockchain Keystore aar file.
Configure your IDE to integrate Samsung Blockchain Keystore with your Android app.
Create an “aar” directory if you don’t have one. Add the downloaded Keystore aar file to the “aar” directory in your Android project.
Go to Gradle Scripts > build.gradle and enter the following dependencies:
For the release version of your Android app, in your Android Manifest file, add a metadata with a name as “scw_app_id” and a value as the App ID issued by Samsung Blockchain Keystore team. Samsung Blockchain Keystore aar file will read this value whenever your Android app is initialized and helps your Android app connect to Samsung Blockchain Keystore.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.samsung.android.sdk.coldwallet.test"
android:versionCode="1"
android:versionName="1.0">
<application>
<meta-data android:name="scw_app_id" android:value= <!-- PUT YOUR APP ID HERE --> />
</application>
</manifest>
Developer Mode
Samsung Blockchain Keystore provides a “Developer Mode” to help developers test the Samsung Blockchain Keystore. In Developer Mode, the App ID verification is bypassed, so Samsung Blockchain Keystore APIs will be enabled.
Developers can activate Developer Mode by following the steps below:
Go to the Samsung Blockchain Keystore .
Device > Settings > Biometrics and security > Samsung Blockchain Keystore
(The path may differ depending on the device model.)
General > About Blockchain Keystore
Tap the “Samsung Blockchain Keystore” area quickly 10 times or more.
If succeeded, "(Developer Mode)" will be shown before the version and it means the Developer Mode has been activated.
Now you can test your app with Samsung Blockchain Keystore.
Take note, that only a limited number of devices can be activated for one test app.
Manage Your Cookies
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.