Download/Clone the repo:
npm i
npm i ibm-mfp-web-push
- Setup Proxy in the App. Go to setupProxy.js and update
target
field to your MobileFirst Server URL.
On MobileFirst console:
- Register App with Application ID
com.webpush
with Web Platform. (You can choose any display name of your choice but Application ID should be com.webpush) - Make sure you add push.mobileclient, devices.read, devices.write, subscriptions.write security checks under the Security Section.
- Add appropriate config for web platforms - chrome, firefox, safari
npm start