dartway_push_shared 0.5.0 copy "dartway_push_shared: ^0.5.0" to clipboard
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 / DwUnregisterPushToken and dwPushProtocolEntries, composed into the project's protocol: DwWireProtocol(dwPushProtocolEntries, include: appProtocol);
  • DwPushTransport (fcm, rustore) and DwPushPlatform;
  • 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.

0
likes
150
points
351
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The push contract of DartWay shared by server and app — token registration commands, transports, and the typed data a notification carries.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

dartway_core_shared

More

Packages that depend on dartway_push_shared