BlackBerry Dynamics SDK for Android User Guide

June 8, 2024
BlackBerry

Dynamics SDK for Android
User Guide

BlackBerry Dynamics SDK for Android version 10.0

What’s new in the BlackBerry Dynamics SDK for Android version 10.0
Changes to the SDK and software requirements

Feature Description
Support for Android 12 Android 12 is supported in this release. BlackBerry

Dynamics apps can now target API level 31.
Integrate the SDK with a Maven
repository| You can now use a remote Maven repository to integrate the SDK. It’s a best practice to integrate the  SDK using this new repository. For more information, see the Development Guide.
Removal of
QUERY_ALL_PACKAGES
permission| The QUERY_ALL_PACKAGES permission has been removed in this release. As a result, the Protect  Mobile malware scanning and sideload detection features have been disabled. To include these features, developers must include the QUERY_ALL_PACKAGES permission in their Android manifest and request the required permission from Google when they submit their apps to the Google Play store.
Unsupported methods| Due to current data leakage prevention (DLP) controls, the setOnReceiveContentListener method is not  supported in the following components and widgets:
com.good.gd.widget.GDAutoCompleteTextView
com.good.gd.widget.GDEditText
com.good.gd.widget.GDMultiAutoCompleteTextView
com.good.gd.widget.GDSearchView
com.good.gd.widget.GDTextView
com.good.gd.widget.GDWebView
com.blackberry.bbwebview.BBWebView
CURL upgrade| In this release CURL has been upgraded to version 7.77.0.

BlackBerry Dynamics Launcher Library
This release uses BlackBerry Dynamics Launcher Library version 3.3.0.215.
Fixed issues
The following issues are fixed in this release:

  • Error handling has been improved for QR code activation. (FIRST-17678)
  • If an administrator configured a BlackBerry Dynamics profile to require the UEM Client to serve as an authentication delegate for other BlackBerry Dynamics apps, the  user would receive a notification explaining this requirement if they tried to activate a BlackBerry Dynamics app without having the UEM Client installed on their device.  In this release, the same notification also displays if the UEM Client is installed but not activated. (GD-56528)

Known issues

  • If you use direct references to the BlackBerry Dynamics SDK .aar files in your build.gradle repositories (for example, compile(name:’android_handheld_platform- 8.1.0.57′, ext:’aar’)) instead of using Maven linkage (for example, api “com.blackberry.blackberrydynamics:android_handheld_platform:8.1.0.57”), errors may occur in the  AndroidManifest file in the Gradle caches directory. To resolve, use Maven linkage or specify android_handheld_resources and android_handheld_platform in the  build.gradle file.

  • The Android certificate import API for the BlackBerry Dynamics SDK is no longer supported. BlackBerry recommends using certificates from the Android Native  Keystore if it is acceptable that the key material is protected by the device and not by BlackBerry Dynamics.

  • If a user is prompted to activate a BlackBerry Dynamics app using their password for another BlackBerry  Dynamics app that they have previously activated (also known  as Easy Activation), then cancels out of the prompt, the lock screen for the previously activated app displays instead of the screen to enter their activation credentials.  (GD-56598)

  • If “Allow Android biometric authentication” is enabled in the BlackBerry Dynamics profile, when the user activates a BlackBerry Dynamics app on an Android 12  emulator, fingerprint authentication fails for the app with the error message “Internal error: Retry or restart”. (GD-56289)

  • If you configured the BlackBerry Dynamics profile to require users to enter their password when a BlackBerry Dynamics app returns to the foreground, on Android 12  devices, this functionality does not work as expected (the app does not prompt the user for their password when it returns to the foreground). (GD-56162)

  • If a user with Android 11 or later is activating a BlackBerry Dynamics app using a QR code and selects the”Only this time” option when prompted to grant permissions,  certificate import issues might occur if the app remains in the background for longer than one minute during the import process. BlackBerry recommends that users  select the “While using the app” option when prompted. (GD-54972) Workaround: Instruct users to force close the app and open it again.

  • If a BlackBerry Dynamics app uses Kerberos authentication and the app tries to access a web page using an IP address, after the user enters their credentials, the web  page does not load as expected and the user is prompted for their credentials again in a loop. (GD-54481)
    Workaround: When developing BlackBerry Dynamics apps, do not hard code URLs that use IP addresses. If users can manually enter a URL, instruct users to avoid  URLs that use an IP address.

  • If an app tries to open a BlackBerry Dynamics app that was not already open using AppKinetics, the BlackBerry Dynamics app might not come to the foreground. (GD- 54205)
    Workaround: The user can start the BlackBerry Dynamics app and leave it running in the background before performing the AppKinetics operation.

Installing or upgrading the software

For complete installation instructions, upgrade guidance, and software requirements, see the BlackBerry Dynamics SDK for Android Development Guide. The Development  Guide also provides instructions for implementing the SDK libraries as .aar files that can be published to an internal repository.
If you installed the SDK using Android Studio SDK manager and you made changes to the sample apps, the update might override the sample apps, discarding your changes.
Note: The BlackBerry Dynamics SDK for Android 5.0 and later includes a compliance enhancement to protect against malicious attempts to add a debugger to deployed  BlackBerry Dynamics apps. Your options for configuring this feature depend on the version of BlackBerry UEM and the BlackBerry Dynamics SDK. For more information,  see Configure compliance settings so you can debug your app in the BlackBerry Dynamics SDK Development Guide.

Reference for all deprecated interfaces, classes, and methods

This document specifies the interfaces, classes, and methods that were deprecated in this release of the SDK (if any). For a full list of all deprecated objects, view the API  reference for your platform and open the deprecated list in the appendix.
You should plan to stop using any interfaces, classes, and methods that are included in the deprecated list.

Legal notice

©2021 BlackBerry Limited. Trademarks, including but not limited to BLACKBERRY, BBM, BES, EMBLEM Design, ATHOC, CYLANCE and SECUSMART are the  trademarks or registered trademarks of BlackBerry Limited, its subsidiaries and/or affiliates, used under license, and the exclusive rights to such trademarks are expressly reserved. All other trademarks are the property of their respective owners.
This documentation including all documentation incorporated by reference herein such as documentation provided or made available on the BlackBerry website provided or  made accessible “AS IS” and “AS AVAILABLE” and without condition, endorsement, guarantee, representation, or warranty of any kind by BlackBerry Limited and its  affiliated companies (“BlackBerry”) and BlackBerry assumes no responsibility for any typographical, technical, or other inaccuracies, errors, or omissions in this  documentation. In order to protect BlackBerry proprietary and confidential information and/or trade secrets, this documentation may describe some aspects of BlackBerry technology in generalized terms. BlackBerry reserves the right to periodically change information that is contained in this documentation; however, BlackBerry makes no  commitment to provide any such changes, updates, enhancements, or other additions to this documentation to you in a timely manner or at all.
This documentation might contain references to third-party sources of information, hardware or software, products or services including components and content such as  content protected by copyright and/or thirdparty websites (collectively the “Third Party Products and Services”). BlackBerry does not control, and is not responsible for, any  Third Party Products and Services including, without limitation the content, accuracy, copyright compliance, compatibility, performance, trustworthiness, legality, decency,  links, or any other aspect of Third Party Products and Services. The inclusion of a reference to Third Party Products and Services in this documentation does not imply  endorsement by BlackBerry of the Third Party Products and Services or the third party in any way.
EXCEPT TO THE EXTENT SPECIFICALLY PROHIBITED BY APPLICABLE LAW IN YOUR JURISDICTION, ALL CONDITIONS, ENDORSEMENTS,  GUARANTEES, REPRESENTATIONS, OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY CONDITIONS, ENDORSEMENTS, GUARANTEES, REPRESENTATIONS OR WARRANTIES OF DURABILITY, FITNESS FOR A PARTICULAR PURPOSE  OR USE, MERCHANTABILITY, MERCHANTABLE QUALITY, NON-INFRINGEMENT, SATISFACTORY QUALITY, OR TITLE, OR ARISING FROM A  STATUTE OR CUSTOM OR A COURSE OF DEALING OR USAGE OF TRADE, OR RELATED TO THE DOCUMENTATION OR ITS USE, OR  PERFORMANCE OR NON-PERFORMANCE OF ANY SOFTWARE, HARDWARE, SERVICE, OR ANY THIRD PARTY PRODUCTS AND SERVICES REFERENCED HEREIN, ARE HEREBY EXCLUDED. YOU MAY ALSO HAVE OTHER RIGHTS THAT VARY BY STATE OR PROVINCE. SOME  JURISDICTIONS MAY NOT ALLOW THE EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES AND CONDITIONS. TO THE EXTENT PERMITTED BY LAW, ANY IMPLIED WARRANTIES OR CONDITIONS RELATING TO THE DOCUMENTATION TO THE EXTENT THEY CANNOT BE  EXCLUDED AS SET OUT ABOVE, BUT CAN BE LIMITED, ARE HEREBY LIMITED TO NINETY (90) DAYS FROM THE DATE YOU FIRST ACQUIRED  THE DOCUMENTATION OR THE ITEM THAT IS THE SUBJECT OF THE CLAIM.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW IN YOUR JURISDICTION, IN NO EVENT SHALL BLACKBERRY BE LIABLE FOR ANY  TYPE OF DAMAGES RELATED TO THIS DOCUMENTATION OR ITS USE, OR PERFORMANCE OR NON-PERFORMANCE OF ANY SOFTWARE, HARDWARE, SERVICE, OR ANY THIRD PARTY PRODUCTS AND SERVICES REFERENCED HEREIN INCLUDING WITHOUT LIMITATION ANY OF  THE FOLLOWING DAMAGES: DIRECT, CONSEQUENTIAL, EXEMPLARY, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR AGGRAVATED  DAMAGES, DAMAGES FOR LOSS OF PROFITS OR REVENUES, FAILURE TO REALIZE ANY EXPECTED SAVINGS, BUSINESS INTERRUPTION, LOSS  OF BUSINESS INFORMATION, LOSS OF BUSINESS OPPORTUNITY, OR CORRUPTION OR LOSS OF DATA, FAILURES TO TRANSMIT OR RECEIVE ANY  DATA, PROBLEMS ASSOCIATED WITH ANY APPLICATIONS USED IN CONJUNCTION WITH BLACKBERRY PRODUCTS OR SERVICES, DOWNTIME COSTS, LOSS OF THE USE OF BLACKBERRY PRODUCTS OR SERVICES OR ANY PORTION THEREOF OR OF ANY AIRTIME SERVICES,  COST OF SUBSTITUTE GOODS, COSTS OF COVER, FACILITIES OR SERVICES, COST OF CAPITAL, OR OTHER SIMILAR PECUNIARY LOSSES,  WHETHER OR NOT SUCH DAMAGES WERE FORESEEN OR UNFORESEEN, AND EVEN IF BLACKBERRY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW IN YOUR JURISDICTION, BLACKBERRY SHALL HAVE NO OTHER OBLIGATION,  DUTY, OR LIABILITY WHATSOEVER IN CONTRACT, TORT, OR OTHERWISE TO YOU INCLUDING ANY LIABILITY FOR NEGLIGENCE OR STRICT  LIABILITY.
THE LIMITATIONS, EXCLUSIONS, AND DISCLAIMERS HEREIN SHALL APPLY: (A) IRRESPECTIVE OF THE NATURE OF THE CAUSE OF ACTION,  DEMAND, OR ACTION BY YOU INCLUDING BUT NOT LIMITED TO BREACH OF CONTRACT, NEGLIGENCE, TORT, STRICT LIABILITY OR ANY  OTHER LEGAL THEORY AND SHALL SURVIVE A FUNDAMENTAL BREACH OR BREACHES OR THE FAILURE OF THE ESSENTIAL PURPOSE OF  THIS AGREEMENT OR OF ANY REMEDY CONTAINED HEREIN; AND (B) TO BLACKBERRY AND ITS AFFILIATED COMPANIES, THEIR SUCCESSORS,  ASSIGNS, AGENTS, SUPPLIERS (INCLUDING AIRTIME SERVICE PROVIDERS), AUTHORIZED BLACKBERRY DISTRIBUTORS (ALSO  INCLUDING AIRTIME SERVICE PROVIDERS) AND THEIR RESPECTIVE DIRECTORS, EMPLOYEES, AND INDEPENDENT CONTRACTORS.
IN ADDITION TO THE LIMITATIONS AND EXCLUSIONS SET OUT ABOVE, IN NO EVENT SHALL ANY DIRECTOR, EMPLOYEE, AGENT,  DISTRIBUTOR, SUPPLIER, INDEPENDENT CONTRACTOR OF BLACKBERRY OR ANY AFFILIATES OF BLACKBERRY HAVE ANY LIABILITY ARISING  FROM OR RELATED TO THE DOCUMENTATION.
Prior to subscribing for, installing, or using any Third Party Products and Services, it is your responsibility to ensure that your airtime service provider has agreed to support  all of their features. Some airtime service providers might not offer Internet browsing functionality with a subscription to the BlackBerry Internet Service.
Check with your service provider for availability, roaming arrangements, service plans and features. Installation or use of Third Party Products and Services with BlackBerry’s  products and services may require one or more patent, trademark, copyright, or other licenses in order to avoid infringement or violation of third party rights. You are solely  responsible for determining whether to use Third Party Products and Services and if any third party licenses are required to do so. If required you are responsible for acquiring them. You should not install or use Third Party Products and Services until all necessary licenses have been acquired. Any Third Party Products and Services that  are provided with BlackBerry’s products and services are provided as a convenience to you and are provided “AS IS” with no express or implied conditions, endorsements,  guarantees, representations, or warranties of any kind by BlackBerry and BlackBerry assumes no liability whatsoever, in relation thereto. Your use of Third Party Products and Services shall be governed by and subject to you agreeing to the terms of separate licenses and other agreements applicable thereto with third parties, except to the  extent expressly covered by a license or other agreement with BlackBerry.
The terms of use of any BlackBerry product or service are set out in a separate license or other agreement with BlackBerry applicable thereto. NOTHING IN THIS  DOCUMENTATION IS INTENDED TO SUPERSEDE ANY EXPRESS WRITTEN AGREEMENTS OR WARRANTIES PROVIDED BY BLACKBERRY FOR  PORTIONS OF ANY BLACKBERRY PRODUCT OR SERVICE OTHER THAN THIS DOCUMENTATION.
BlackBerry Enterprise Software incorporates certain third-party software. The license and copyright information associated with this software is available at  http://worldwide.blackberry.com/legal/thirdpartysoftware.jsp.

BlackBerry Limited
2200 University Avenue East
Waterloo, Ontario
Canada N2K 0A7
BlackBerry UK Limited
Ground Floor, The Pearce Building, West Street,
Maidenhead, Berkshire SL6 1RL
United Kingdom
Published in Canada

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

BlackBerry User Manuals

Related Manuals