FLUTTER ECOSYSTEM

nhtdev1/ear

안드로이드의 모든 알림을 처리하기 위한 플러그인

귀 프로젝트 이미지
Stars
2
Forks
0
최근 푸시(UTC)
2022. 4. 8.
프로젝트 상태
활성
nhtdev1 GitHub avatar
GITHUB User

nhtdev1 ↗

Ho Chi Minh City University of Technology and EducationHo Chi Minh City
언어JavaDartSwiftRubyObjective-C

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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)