In order to utilize Samsung Health Sensor SDK in your publicly distributed app, a prior registration in Samsung’s systems is required. This process involves submitting a request for becoming a Samsung’s partner, being granted an approval and having your app registered.
Otherwise, if your app tries to call Samsung Health Sensor SDK without a registered signature, the SDK will block the connection for security reasons, resulting in SDK Policy Error.
To have your app registered, it is necessary to provide a combination of your app's package name and signature (SHA-256). However, if you are still during development process, for your convenience you can test Samsung Health Sensor SDK without the need for providing such information yet.
Depending on your current scenario, choose one of the suggested ways to let your app use Samsung Health Sensor SDK
Development & testing
During development stage, you could build and test the app locally without a need to register your signature yet. Instead, you could use developer mode. Enabling it lets to temporarily bypass the signature check for your application.
NoteThe developer mode is intended only for testing or debugging your app. It is not intended for app users. Do not share the developer mode guide with app users.
App distribution
When the development stage is finished and you are ready to distribute your app, please proceed with registering your app in Samsung’s systems. To do this, create a partnership request and provide your app's package name and signature (SHA-256).
When you distribute your app via Galaxy Store or Google Play Store, pay attention to providing the correct SHA-256 in the partnership request.
NoteThe app signing key is used for distributing your app and should be registered in Samsung’s systems alongside with your app’s package name.
For more details, please refer to: Sign your app
How can I verify my app's signature?
If you are unsure which signature your app is actually using, try to use these methods.
Check via command line
This method verifies the app installed on your device:
Check the path of the app on the device.
adb shell pm path com.example.yourappname
Use the path to download the APK from the mobile device to your computer.
In common scenario, Google Play Console requires you to initially sign your app with SHA-256 (e.g., via Android Studio’s Generate Signed Bundle/APK option), which becomes an upload key. Then, this key is used for verifying your identity and your application gets signed by Google with app signing key. This lets to distribute your app securely.
For apps distributed via Google Play Store follow these steps:
Log in to Google Play Console.
Go to Release > Setup > App integrity.
Look for the "App signing key certificate" section.
Copy the SHA-256 certificate fingerprint.
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.