Class to help diagnose issues, including checking the runtime version and uploading logs to BlackBerry Support.
Inherits StringUtils.
◆ getRuntimeVersion()
String getRuntimeVersion |
( |
| ) |
|
Provides the version of the runtime library in a dotted string representation. (e.g. 1.0.0)
- Returns
String
BlackBerry Spark AppSecure version
◆ getBlackBerryAppContainerID()
String getBlackBerryAppContainerID |
( |
| ) |
|
Provides the BlackBerry app container id. Please provide this value to BlackBerry Support to aid in identifying uploaded logs.
- Returns
String
BlackBerry Spark AppSecure app container id.
◆ uploadLogs()
Recent logs from the runtime are stored encrypted in the BlackBerry secure container. A developer may upload these securely to BlackBerry to assist with troubleshooting. After uploading please provide your BlackBerry App Container ID when contacting BlackBerry Support.
- Parameters
-
reason | Recommended to be provided as an aid to log analysis. This could be a user entered reason, or some internal identifier from the developer to help locate the logs. |
listener | Callback to be invoked when the log upload process finishes. |