- What is the BlackBerry Dynamics SDK?
- Requirements and support for platform-specific features
- Steps to get started with the BlackBerry Dynamics SDK
- Integrating optional features
- Creating wearable apps for Wear OS devices
- Implementing SafetyNet attestation for BlackBerry Dynamics apps
- Sample apps
- Testing and troubleshooting
- Implementing automated testing for BlackBerry Dynamics apps
- Automated testing with the BlackBerry Dynamics sample apps
- Preparing for automated testing
- Components of a sample automated testing configuration
- Execute all tests from the command line with Gradle
- Execute specific tests from the command line with Gradle
- Execute tests from the Android Studio IDE
- Add automated testing to your BlackBerry Dynamics Android app
- Disable compliance settings so you can debug your app
- Emulators and the rooted OS compliance setting
- Using enterprise simulation mode
- Troubleshooting common issues
- Logging and diagnostics
- Implementing automated testing for BlackBerry Dynamics apps
- Deploying your BlackBerry Dynamics app
- Deploying certificates to BlackBerry Dynamics apps
- BlackBerry Docs
- BlackBerry Dynamics SDK for Android 6.0
- BlackBerry Dynamics SDK for Android Development Guide
- Integrating optional features
- Enforcing local compliance actions
Enforcing local compliance actions
The
BlackBerry Dynamics SDK
includes the following APIs that you can use to block or unblock a user’s access to the UI of a BlackBerry
Dynamics
app locally:You can use these APIs to temporarily prevent access to an app under certain conditions. For example, if the user accesses a public
Wi-Fi
network that is not trusted, you can use GDAndroid.executeBlock to prevent access to the app until the user is on a trusted Wi-Fi
network. While the app UI is blocked, the app’s network activity and container storage access is not affected.You can use GDAndroid.executeBlock to display a message to the user that explains why access to the app has been blocked and how the user can restore compliance and unblock the UI.
The GDInteraction sample app has been updated to demonstrate the use of these APIs.
It is possible to circumvent a UI block if the user is able to restore a backup that was created before the block occurred. Take this condition into account when you develop and test your app.