ear

Creator: coderz1093

Last updated:

0 purchases

ear Image
ear Images

Languages

Categories

Add to Cart

Description:

ear

ear #

A Library to handle all coming notification for android

Supported Platforms

Android


⚙️ Android Setup #
# add this line to your dependencies
ear: ^0.0.5
copied to clipboard
import 'package:ear/ear.dart';
copied to clipboard
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);
}
}
copied to clipboard
2. Unsubcribe from stream #
_earSubscription?.cancel();
copied to clipboard
3. Call register to start listenning #
Ear.register();
copied to clipboard
4. To check type of specific notifcation #
earModel.isFromFacebook();
earModel.isFromGmail();
earModel.isFromSkype();
...
copied to clipboard
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)

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.