耳
一個用於處理 Android 所有通知的外掛程式
- 星標
- 2
- 分支
- 0
- 最近推送(UTC)
- 2022年4月8日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
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
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)
語言JavaDartSwiftRubyObjective-C
使用的依賴
依賴清單 2 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"}
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
