Sample apps in Objective-C
Visit Dynamics SDK Samples to view and download the following sample apps. In the SDK package, the samples are stored in ~/Library/ApplicationSupport/BlackBerry/Good.platform/iOS/Examples/objective-c. The apps use
It is recommended to make a copy of the source code in another location before making any changes. Reinstalling or upgrading will overwrite or even remove the sample apps in the default location.
Demonstrates how to create an app that can import a user's PKI credentials using the
BlackBerry DynamicsCertificate Credential Import API.
For more information, see Certificate Credential Import and Creating user credential profiles for app-based certificates in the
UEM Administration Guide.
Demonstrates how to search for, create, and subscribe to client services (AppKinetics). The sample demonstrates these concepts by implementing a consumer and a provider for the Transfer File service. It is intended as a starting point for developers making use of
BlackBerry DynamicsAppKinetics services.
This app also demonstrates how to support multiple UIWindow objects.
AppKinetics save/edit client and server
Demonstrates how to write a client and a server that use the
BlackBerry DynamicsInter Container Communications API (also known as AppKinetics).
Demonstrates how part of the application user interface can remain accessible after the
BlackBerry Dynamicsidle time out has expired. Bypass Unlock can be allowed or disallowed by implementing an application policy (see Adding custom policies for your app to the UEM management console). The ViewController that bypasses the unlock screen can be opened by pressing the volume controls if the application is in the foreground, or by using the auxiliary 'notifier' application (from the sub-project) if the application is in background.
Demonstrates how to use
BlackBerry Dynamicswith a Core Data Incremental Data Store backed by an encrypted SQLite database. The sample shows how Core Data can be used to securely store a sample set of 20,000 fictional employee details and their office locations.
Demonstrates how to use the Crypto C language programming interface that allows an app to retrieve public key certificates that are stored in the
BlackBerry Dynamicscredentials store and use those certificates for signing and verification of messages and documents such as PDFs.
Greetings client and greetings server
Provides a client/server example of how to use the
BlackBerry DynamicsServices API to communicate securely between two applications.
Demonstrates how to use
BlackBerry DynamicsRemote Settings and DB APIs. The sample allows you to configure remote settings in the management console, and upon receipt, it stores them in the secure DB. Any changes to the settings are automatically synchronized and stored.
Demonstrates how to use the
BlackBerry DynamicsSecure Communications APIs to access resources behind the enterprise firewall.
If cellular access is enabled for a feed, the name of the feed is green in the app. If cellular access is not enabled for a feed, the name of the feed is black in the app.
Demonstrates how to use the secure storage APIs, specifically the secure SQL database and secure file systems APIs.
Provides a starting point for developers making use of
BlackBerry DynamicsServer based Services. It retrieves the details of the google.timezone.service using getServiceProvidersFor. The sample prompts the user to supply a latitude and longitude and retrieves the corresponding results from
Before running this sample, make sure serviceId is created and associated with some existing app along with its endpoint details in the management console. Also, a user who is running this sample must have permission in the management console to run it.
The SwiftUI sample app pairs with Basic-iOS-Swift to provide examples of
iOSapps before and after integrating
BlackBerry Dynamics SDK. The two samples demonstrate features commonly used in
BlackBerry Dynamicsapps, including secure file storage, secure database, and secure communication (HTTP/S and Socket).
The app is available on GitHub: https://github.com/blackberry/BlackBerry-Dynamics-iOS-Samples/tree/master/Dynamics-SwiftUI-Sample.