Plugin variables can reside at multiple locations:
- In your
packages.jsonfile, under the
- In your
config.xmlfile, under the
<plugin name="wonderpush-cordova-sdk" [...]>tag
- In the
plugins/fetch.jsonfile, under the
Take note of them, especially your
SENDER_ID, you'll need them in the next step.
If need be, you can always find your Client ID and Client Secret from the Platforms tab of the Settings page:
Run these commands:
cordova plugin rm wonderpush-cordova-sdk --variable CLIENT_ID= --variable CLIENT_SECRET= cordova plugin add wonderpush-cordova-sdk --variable CLIENT_ID=YOUR_CLIENT_ID --variable CLIENT_SECRET=YOUR_CLIENT_SECRET cordova plugin add wonderpush-cordova-sdk-fcm --variable SENDER_ID=YOUR_SENDER_ID
YOUR_CLIENT_SECRET with the appropriate values you find in the Platforms tab of the Settings page, in the Android application or iOS application section.
YOUR_SENDER_ID with the value from the previous step.
Remove any calls to
You do not need to wait to use WonderPush.
Updated almost 2 years ago