dartway_push_shared 0.5.0
dartway_push_shared: ^0.5.0 copied to clipboard
The push contract of DartWay shared by server and app — token registration commands, transports, and the typed data a notification carries.
dartway_push_shared #
The push contract a DartWay server and its app share:
DwRegisterPushToken/DwUnregisterPushTokenanddwPushProtocolEntries, composed into the project's protocol:DwWireProtocol(dwPushProtocolEntries, include: appProtocol);DwPushTransport(fcm,rustore) andDwPushPlatform;DwPushCategory, the mixin of the project's category enum;DwPushData— the typed payload and link a notification carries, written into a provider's data map by the server and read back by the app with the same class, so the keys exist once.
See docs/4-server/push-delivery.md and docs/3-flutter/push-notifications.md in the DartWay
repository.