Using a custom Application subclass
The
BlackBerry Dynamics SDK for Cordova
includes an Application subclass (com.good.gd.cordova.core.BBDCordovaApp
) that is the main application class in a Cordova
app for Android
.If you want to use a custom Application subclass, it must extend
com.good.gd.cordova.core.BBDCordovaApp
to ensure proper integration with the BlackBerry Dynamics SDK for Android
. To prevent merging issues, in <app>
/plugins/cordova-plugin-bbd-base/plugin.xml, in the appropriate edit-config tag, replace com.good.gd.cordova.core.BBDCordovaApp
with your custom com.good.gd.cordova.core.BBDCordovaApp
subclass. Run the cordova prepare
command to apply the changes.