Download/Clone the repo:
npm inpm i ibm-mfp-web-push- Setup Proxy in the App. Go to setupProxy.js and update
targetfield to your MobileFirst Server URL.
On MobileFirst console:
- Register App with Application ID
com.webpushwith 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