Search packages, repositories and app categories

GitHub repositorynhtdev1/ear

ear

A plugin to handle all coming notification for android

ear project cover
Stars
2
Forks
0
Last push (UTC)
Apr 8, 2022
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

ear

iconoir_chat-bubble-check-1

A Library to handle all coming notification for android

Supported Platforms

  • Android

⚙️ Android Setup

# add this line to your dependencies
ear: ^0.0.5
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();
4. To check type of specific notifcation
earModel.isFromFacebook();
earModel.isFromGmail();
earModel.isFromSkype();
...

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)

nhtdev1 GitHub avatar
GitHub author

nhtdev1 ↗

Ho Chi Minh City University of Technology and EducationHo Chi Minh City
LanguagesJavaDartSwiftRubyObjective-C

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗