Integrate the BBWebView library

Add the BBWebView library dependency to the app project dependencies.
Use one of the following methods to integrate the BBWebView library with a BlackBerry Dynamics app:

Method

Steps

Use the public BlackBerry maven or local repository

Add the following to the build.gradle project file:
implementation ('com.blackberry.blackberrydynamics:android_webview:$DYNAMICS_SDK_VERSION')

Use the build.gradle project file

  1. Add the following to the build.gradle project file:
    implementation project(':BBWebView')
  2. Add the following to the settings.gradle project file:
    include(':BBWebView')project(':BBWebView').projectDir = newFile('${SDK_DISTRIBUTION_FOLDER}/sdk/libs/handheld/bb_webview')