cordova-plugin-vidinoti-push
v0.2.0
Published
Cordova Plugin for Vidinoti V-Director push integration
Downloads
3
Maintainers
Readme
Cordova plugin for Vidinoti Push integration with Android
This plugin can be used together with the cordova-plugin-pixlive.
It adds the support for the Android push notifications. Previously, it was directly integrated within the cordova-plugin-pixlive
but has been decoupled.
This plugin requires the Vidinoti SDK version >= 6.4.0
How to use
Install and follow the instructions for the cordova-plugin-pixlive.
Connect to the Firebase Console. Create a new Firebase project and download the
google-services.json
file.Place the
google-services.json
file in the root folder of your cordova project.Install the plugin
cordova plugin add cordova-plugin-vidinoti-push
What does the plugin
- Add required dependencies in gradle files
- Copy Java classes (Android services)
VidinotiFcmListenerService
- Add the Android services to the
AndroidManifest.xml
file - In the "after prepare" hook scripts, it takes the
google-services.json
file and copy it toplatforms/android
- In the "after prepare" hook scripts, it takes the
google-services.json
file and extracts the Google app ID and key. It then writes them in the Androidstrings.xml
file
How to contribute and create a new release
- Edit the plugin as needed
- Update the version number in
plugin.xml
andpackage.json
- Commit and push the changes to GitHub
- Create a new release from GitHub interface (releases > Draft a new release)
- Publish the release to npm registry (if necessary
npm login
):npm publish
Release note
Version 0.2.0 - 19 October 2022
Fix for Android 12
Version 0.1.2 - 27 February 2020
Set firebase dependencies version
Version 0.1.1 - 18 April 2018
Fix the plugin such that it can be correctly removed.
Version 0.1.0 - 25 June 2018
Initial release