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 aBlackBerry Dynamicsapp:MethodStepsUse the publicBlackBerrymaven or local repositoryAdd the following to the build.gradle project file:implementation ('com.blackberry.blackberrydynamics:android_webview:$DYNAMICS_SDK_VERSION')Use the build.gradle project file
- Add the following to the build.gradle project file:implementation project(':BBWebView')
- Add the following to the settings.gradle project file:include(':BBWebView')project(':BBWebView').projectDir = newFile('${SDK_DISTRIBUTION_FOLDER}/sdk/libs/handheld/bb_webview')
- Add the following dependencies to the build.gradle project file:dependencies { implementation 'org.brotli:dec:0.1.2' implementation group: 'org.apache.commons', name: 'commons-pool2', version: '2.6.2' implementation 'androidx.webkit:webkit:1.4.0' }