Skill Level: Intermediate
Note: Dial permission has been separated out into it's own module. If you use the dial action, you'll need to also install the co.acoustic.mobile.push.plugin.dial module.
Not what youâ€™re looking for? Check out all our available tutorials for mobile app messaging here.
Remove existing cordova plugins
A. Execute the following shell commands:
1. See what plugins are installed
Â Â Â cordova plugin ls
2. Remove only the ones that are installed
B. If the Cordova system refuses to remove the plugins, execute the following:
1. Remove the node modules
2. Remove the cordova plugins
Â Â Â Â
Â Â Â Â
3. Edit package.json and package-lock.json
Â Â Â Â a. Remove each entry starting with com.xtify.mce.sdk in the “cordova”, “plugins” object
Â Â Â Â b. Remove each entry containing IBM-MCE in the “dependencies” object
Install new plugins from 3.8.0 SDK Package (replace
Only install the plugins that were removed previously.
You may also need the AndroidX conversion plugins:
In Xcode, replace the IBMMobilePushNotificationService.framework
In Xcode, replace the IBMMobilePushNotificationService.framework with the AcousticMobilePushNotification.xcframework in the Notification Service Extension. This xcframework is included in the 3.8.0 SDK package.
Add the following to your index.js file
Execute cordova prepare
Load into development environment or compile from command line as normal
Dark Mode Support
There is no support for Dark Mode in Android 10 in Cordova due to the lack of support in the web view libraries of the OS. Without this support automatic styling via CSS and even detection in Javascrpt is impossible.
Need more help? Check out all of our available tutorials for mobile app messaging here.