element-x-ada/features/networkmonitor/api
Jorge Martin Espinosa 912b9168fd
Add network constraints for fetching notifications with WorkManager (#6305)
* Add `isNetworkBlocked` and `isInAirGappedEnvironment` to `NetworkMonitor`.

* Improve the DI of `SyncPendingNotificationsRequestBuilder` to simplify its usage.

* Only update `isInAirGappedEnvironment` in `DefaultNetworkManager` if the current build is an enterprise one.

* Add network constraints to `DefaultSyncPendingNotificationsRequestBuilder` based on the air-gapped status.

* Add a feature flag to disable the new check, in case it doesn't work as expected.
2026-03-10 12:44:31 +00:00
..
src/main/kotlin/io/element/android/features/networkmonitor/api Add network constraints for fetching notifications with WorkManager (#6305) 2026-03-10 12:44:31 +00:00
build.gradle.kts Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00