Skip to main content

hibira_push 0.1.0 copy "hibira_push: ^0.1.0" to clipboard
hibira_push: ^0.1.0 copied to clipboard

Hibira Push for Flutter: Beams-compatible push notifications on Android (FCM) and iOS (APNs), wrapping the hibira-push-android and hibira-push-ios SDKs.

example/README.md

hibira_push example #

The example app is in the repository root, together with the Channels client: hibira-io/flutter/example.

import 'package:hibira_push/hibira_push.dart';

Future<void> setUpPush() async {
  final push = HibiraPush.instance;
  await push.start('YOUR_INSTANCE_ID');
  await push.requestPermission();
  await push.addDeviceInterest('hello');
  push.onMessage.listen((m) => print('${m.title}: ${m.body}'));
}
0
likes
160
points
822
downloads

Documentation

API reference

Publisher

verified publisherhibira.io

Weekly Downloads

Hibira Push for Flutter: Beams-compatible push notifications on Android (FCM) and iOS (APNs), wrapping the hibira-push-android and hibira-push-ios SDKs.

Homepage
Repository (GitHub)
View/report issues

Topics

#push-notifications #notifications #fcm #apns

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on hibira_push

Packages that implement hibira_push