Skip to content

Commit f0656d7

Browse files
committed
feat: v1.9.1+1 - bug fixes
1 parent 429d891 commit f0656d7

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 1.9.1+1
4+
5+
### Fixed
6+
7+
- Fix: Remove Sentry integration due to rendering issues on some Android devices, switch to using only FirebaseCrashlytics for error reporting
8+
- Fix: Update error handling bloc to log errors exclusively to FirebaseCrashlytics
9+
- Fix: Push notification BLoC improvements and documentation updates
10+
11+
312
## 1.9.0+1
413

514
### Added

lib/blocs/error_handling/error_handling_bloc.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ class ErrorHandlingBloc extends Cubit<void> {
6565
}
6666

6767
void _captureException(dynamic error) {
68-
FirebaseCrashlytics.instance.recordError(error, error.stackTrace);
68+
if (!kIsWeb) {
69+
if (SupaArchitecturePlatform.instance.useFirebase) {
70+
FirebaseCrashlytics.instance.recordError(error, error.stackTrace);
71+
}
72+
}
6973
}
7074
}

lib/blocs/push_notification/push_notification_bloc.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ class PushNotificationBloc
8383

8484
/// Set handler for foreground messages.
8585
void _setForegroundMessageHandler() {
86-
_foregroundNotificationSubscription =
86+
if (kIsWeb) return;
87+
_foregroundNotificationSubscription ??=
8788
FirebaseMessaging.onMessage.listen(_handleNotification);
8889
}
8990

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: supa_architecture
22
description: Architecture library for Supa Flutter applications
3-
version: 1.9.0+1
3+
version: 1.9.1+1
44
homepage: https://github.supa.vn
55

66
environment:

0 commit comments

Comments
 (0)