Enable Background Authorize for a custom BlackBerry Dynamics app
- Instruct your organization's BlackBerry UEM administrator to enable the Background activity setting in the BlackBerry Dynamics profile that is assigned to device users. This setting is available in UEM Cloud or UEM version 12.21 or later and requires the BlackBerry Dynamics SDK version 14.0 or later. This setting must be enabled and applied to a device for Background Authorize to work in your custom BlackBerry Dynamics app.
- When the app attempts to access its data from a cold start in the background, it sends a
GDAppEventnotification with one of the followingGDAppEventTypesenumerations:GDAppEventBackgroundAuthorizedwhen authorized.GDAppEventBackgroundNotAuthorizedwhen not authorized.
You can check
GDAppResultCodeto determine the failure reason when the attempt is not authorized.