This plugin exposes the Vibes Push SDK to cross-platform applications built using with the Cordova runtime in mind.
Run the following to install this plugin into your application.
ionic cordova plugin add https://github.com/Vibes/cordova-plugin-vibes-push --variable VIBES_APP_ID=MY_APP_ID
--variable VIBES_API_URL=MY_ENVIRONMENT_URL```
-
MY_APP_ID
will be the application id that you obtained from a Vibes Customer Care representative. -
MY_ENVIRONMENT_URL
will be the API environment that your application is targetted at. If no value is supplied for VIBES_API_URL, then the default data center URL is used.
The valid environment urls are
- https://public-api.vibescm.com/mobile_apps - Default non-EU data center
- https://public-api.vibescmeurope.com/mobile_apps - EU data center