Sample apps

Sample app

Description

ApacheHttp

Demonstrates the use of the GDHTTPRequest plug-in APIs.

AppKinetics Client and Server

Demonstrates how to use the file transfer service of the AppKinetics APIs.

Blank

Provides an empty skeleton app that you can use as a starting point.

InAppBrowser

Demonstrates how to use the cordova.InAppBrowser.open API of cordova-plugin-bbd-inappbrowser to securely open articles, videos, and other web resources without the user having to leave the app.

MailTo

Demonstrates how to use the "mailto" service to send email.

OnProgress

Demonstrates the proper usage of the "onprogress" event of GDFileTransfer plugin APIs.

Policy

Demonstrates how to use app-specific policies and server-side services.

RssReader

Demonstrates how to use GDHTTPRequest and GDStorage APIs to fetch RSS feeds.

Secure ICC

Demonstrates Secure Inter-Container Communication (ICC) within an Ionic 7 app.

There are two Secure ICC sample apps available:
  • Secure-ICC sample app for Ionic Cordova with Angular integration
  • Secure-ICC sample app for Ionic Capacitor with Angular integration

SQLite

Demonstrates how to use secure storage APIs.

UnitTest

Demonstrates how to use all APIs supported in this version of the SDK.

WebSocket

Demonstrates how to use the WebSocket API to communicate with WebSocket servers using the WebSocket protocol. Both ws:// and wss:// schemes are supported. The WebSocket API can send different data types to the server and receives messages of different types from the server.

Note that the build workflow for sample applications has changed. As a result, you must add the cordova-plugin-bbd-base plug-in before adding an OS platform. For example:
$cd <GD_Cordova_Folder>/SampleApplications/com.blackberry.bbd.example.cdv.blank
$cordova plugin add <path>/BlackBerry_Dynamics_SDK_for_Cordova_<version>/plugins/cordova-plugin-bbd-base        
$cordova platform add android
$cordova platform add ios
$cordova build