Skip to content

Commit ffd81d0

Browse files
committed
fix(push-notification): update push notification configuration path
- Change remoteConfig.pushNotificationConfig to remoteConfig.features.pushNotifications - This modification ensures compatibility with the latest remote config structure
1 parent 1349628 commit ffd81d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/services/push_notification_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class DefaultPushNotificationService implements IPushNotificationService {
7575
final remoteConfig = await _remoteConfigRepository.read(
7676
id: _remoteConfigId,
7777
);
78-
final pushConfig = remoteConfig.pushNotificationConfig;
78+
final pushConfig = remoteConfig.features.pushNotifications;
7979

8080
// Check if push notifications are globally enabled.
8181
if (!pushConfig.enabled) {

0 commit comments

Comments
 (0)