ear 0.0.2 icon indicating copy to clipboard operation
ear: ^0.0.2 copied to clipboard

A flutter plugin project to handle all coming notification for android platform. Notifications can come from social media platforms like facebook, instagram, tiktok, twitter, etc or from android appli [...]

ear #

A Library to handle all coming notification for android

Supported Platforms

  • Android

⚙️ Android Setup #

# add this line to your dependencies
ear: ^0.0.1
import 'package:ear/ear.dart';

1. Subcribe to stream to listen all coming notification #

 void startListening() {
    try {
     StreamSubscription<EarModel> _earSubscription = Ear.instance.earStream.listen(onData);
    } on EarModel catch (exception) {
      print(exception);
    }
  }

2. Unsubcribe from stream #

 _earSubscription?.cancel();

3. Call register to start listenning #

 Ear.register();

If you need any features suggest #

...

Help needed for iOS #

Looking for iOS Dev who can check out and fix the issues releated to iOS (I dont have a Mac and iOS)

41
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin project to handle all coming notification for android platform. Notifications can come from social media platforms like facebook, instagram, tiktok, twitter, etc or from android application like sms, incoming phone.

Repository (GitHub)

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on ear