flutter_novu a Flutter library that helps to add a fully functioning Inbox to your web application in minutes. Let's do a quick recap on how you can easily use it in your application.
- Seamless integration with the Novu notification platform.
- Support for in-app notifications.
- Flexible configurations for custom notification needs.
- Easy-to-use APIs for sending, managing, and receiving notifications.
flutter pub add flutter_novuBefore you start using the Novu Flutter SDK, ensure you have a Novu account and have created a project.
Follow these steps to integrate the SDK into your Flutter application:
import 'package:flutter_novu/flutter_novu.dart';To connect the Inbox component with your Novu environment and real subscribers, set the applicationIdentifier and subscriberId in the Inbox widget.
import 'package:flutter_novu/flutter_novu.dart';
Inbox(
applicationIdentifier: 'APPLICATION_IDENTIFIER',
subscriberId: 'SUBSCRIBER_ID',
)By default, Novu's hosted services for API and socket are used. If you want, you can override them and configure your own.
import 'package:flutter_novu/flutter_novu.dart';
Inbox(
backendUrl: 'YOUR_BACKEND_URL',
socketUrl: 'YOUR_SOCKET_URL',
applicationIdentifier: 'APPLICATION_IDENTIFIER',
subscriberId: 'SUBSCRIBER_ID',
)Contributions are welcome! If you’d like to improve the package or add new features:
- Fork the repository.
- Create a new branch.
- Make your changes and test them.
- Submit a pull request.
- Novu Documentation: https://docs.novu.co
- Flutter Documentation: https://flutter.dev/docs
This project is licensed under the MIT License.
Let’s Connect!