Each feature module must export the following components with these exact names:
- WebFeature
- IotFeature
- WebNotification
- IotNotification
- MUST_ON
in order for the macro create_features!
to work properly!
See the template_feature
in backend-core
for an example exposed module interface.
- Run this command
npx web-push generate-vapid-keys --json
- Update the
PUBLIC_VAPID_KEY
andPRIVATE_VAPID_KEY
accordingly.