Skip to main content

ft_engage_firebase 0.11.0 copy "ft_engage_firebase: ^0.11.0" to clipboard
ft_engage_firebase: ^0.11.0 copied to clipboard

Firebase Cloud Messaging push source for the FT.Engage Flutter SDK. Reads the notification permission and the FCM token, and re-registers when the token changes.

ft_engage_firebase #

Firebase Cloud Messaging push source for the FT.Engage Flutter SDK.

final engage = await FtEngage.init(
  publicKey: const String.fromEnvironment('ENGAGE_KEY'),
  endpoint: Uri.parse('https://your-api.example.com'),
  pushSource: FirebasePushSource(),
);
await engage.requestPushPermission();

See docs/push.md for what is sent, iOS notes and how to write your own source.

Apache-2.0.

0
likes
110
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Firebase Cloud Messaging push source for the FT.Engage Flutter SDK. Reads the notification permission and the FCM token, and re-registers when the token changes.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

firebase_messaging, flutter, ft_engage_flutter

More

Packages that depend on ft_engage_firebase