fix: remove notification badge logic from the sdk and move it to sample app

This commit is contained in:
Salvatore Giordano
2021-03-08 16:52:35 +01:00
parent 5e4c106ff5
commit d5bbbfd3f3
2 changed files with 0 additions and 11 deletions
@@ -121,15 +121,5 @@ class StreamChatState extends State<StreamChat> {
@override
void initState() {
super.initState();
if (!kIsWeb) {
client.state?.totalUnreadCountStream?.listen((count) {
if (count > 0) {
FlutterAppBadger.updateBadgeCount(count);
} else {
FlutterAppBadger.removeBadge();
}
});
}
}
}
@@ -16,7 +16,6 @@ dependencies:
url: https://github.com/GetStream/stream-chat-flutter.git
ref: develop
path: packages/stream_chat_flutter_core
flutter_app_badger: ^1.1.2
photo_view: ^0.10.3
rxdart: ^0.25.0
scrollable_positioned_list: ^0.1.8