A Library to handle all coming notification for android
Supported Platforms
- Android
# add this line to your dependencies
ear: ^0.0.5
import 'package:ear/ear.dart';
void startListening() {
try {
StreamSubscription<EarModel> _earSubscription = Ear.instance.earStream.listen(onData);
} on EarModel catch (exception) {
print(exception);
}
}
_earSubscription?.cancel();
Ear.register();
earModel.isFromFacebook();
earModel.isFromGmail();
earModel.isFromSkype();
...
...
Looking for iOS Dev who can check out and fix the issues releated to iOS (I dont have a Mac and iOS)