Install the BlackBerry Dynamics SDK for Cordova
BlackBerry Dynamics SDK for Cordova
Visit BlackBerry Developer Downloads to download the
BlackBerry Dynamics SDK for Cordova
. When you click the link, you are prompted to log in to the Developer site with your BlackBerry Online Account
. If you don’t already have an account, you can register and create one. Extract the BlackBerry Dynamics SDK for Cordova
package to the desired project directory.- If you are developing forAndroid, install the Android SDK.
- Integrate theBlackBerry Dynamics SDK for Androidand/or theBlackBerry Dynamics SDK for iOS. You can use the Base plug-in to download the BlackBerry Dynamics SDK for Android using Gradle and the BlackBerry Dynamics SDK for iOS using CocoaPods. For additional information, see the BlackBerry Dynamics SDK Development Guide for the desired platform.ForiOSapps, you must use the BlackBerry Dynamics SDK for iOS dynamic framework. TheBlackBerry Dynamics SDK for iOSstatic framework is no longer supported.
- If you are developing forAndroid, install the Android SDK/ADT bundle.
- If you are developing foriOS, install Xcode.
- Install Node.js.After the installation completes, thenpmcommand is available in your terminal shell.
- Install the BlackBerry Dynamics SDK for Cordova plug-ins. If you want to implementSafetyNetattestation for yourBlackBerry Dynamicsapp, see Implementing SafetyNet attestation for BlackBerry Dynamics apps before you install the Base plug-in.
- If you are developing foriOS, in theconfig.xmlfile, set the following to enable the enterprise discovery scheme that is required for keyBlackBerry Dynamicsfeatures:<preference name=“BBD_Enterprise_Discovery” value=“true” />
- To enable enterprise simulation mode, in theconfig.xmlfile, set the following:<preference name=“GDEnterpriseSimulationMode” value=“true” />For more information about enterprise simulation mode, see the Testing and troubleshooting section of the BlackBerry Dynamics SDK Development Guide for the desired platform.