Adding the GDSafetyNet library to the app project
BlackBerry Dynamics SDK for Androidversion 5.0 and later includes a GDSafetyNet library. To support SafetyNet, add this library to the app project dependencies along with the main GDLibrary.
The GDSafetyNet library includes all of the client-side source code that is required to support
SafetyNet. No additional app code is required. The GDSafetyNet library requires
Google PlayServices 11.0 or later to use device
SafetyNetAPIs. Verify that your
BlackBerry Dynamicsapp is dependent on a single version of
Google PlayServices only.
Add the following to cordova-plugin-bbd-base/scripts/gradle/bbd.gradle before you add the base plug-in to the app:
implementation 'com.google.android.gms:play-services-safetynet:xx.x.x' implementation 'com.blackberry.blackberrydynamics:android_handheld_gd_safetynet:+'