Skip to content

Conversation

@xsahil03x
Copy link
Member

Submit a pull request

Fixes: FLU-279

Description of the pull request

This commit introduces NetworkStateProvider and LifecycleStateProvider to the sample app.

  • Adds InternetStateProvider which uses internet_connection_checker_plus to monitor network status.
  • Adds AppLifecycleStateProvider which uses WidgetsBindingObserver to track app lifecycle states.
  • Integrates these providers into the AuthController to be passed to the StreamFeedsClient.
  • Updates StreamFeedsClient and StreamFeedsClientImpl to accept LifecycleStateProvider instead of AppLifecycleStateProvider.
  • Adds internet_connection_checker_plus dependency.
  • Updates generated files and adds connectivity_plus to Windows generated plugins.

This commit introduces `NetworkStateProvider` and `LifecycleStateProvider` to the sample app.

- Adds `InternetStateProvider` which uses `internet_connection_checker_plus` to monitor network status.
- Adds `AppLifecycleStateProvider` which uses `WidgetsBindingObserver` to track app lifecycle states.
- Integrates these providers into the `AuthController` to be passed to the `StreamFeedsClient`.
- Updates `StreamFeedsClient` and `StreamFeedsClientImpl` to accept `LifecycleStateProvider` instead of `AppLifecycleStateProvider`.
- Adds `internet_connection_checker_plus` dependency.
- Updates generated files and adds `connectivity_plus` to Windows generated plugins.
@xsahil03x xsahil03x requested a review from a team as a code owner September 30, 2025 12:44
@codecov
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 3.31%. Comparing base (8ca0f19) to head (12c6ccb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #44   +/-   ##
=====================================
  Coverage   3.31%   3.31%           
=====================================
  Files        117     117           
  Lines       3139    3139           
=====================================
  Hits         104     104           
  Misses      3035    3035           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xsahil03x xsahil03x enabled auto-merge (squash) September 30, 2025 12:55
@xsahil03x xsahil03x disabled auto-merge September 30, 2025 12:55
@xsahil03x xsahil03x enabled auto-merge (squash) September 30, 2025 12:55
@xsahil03x xsahil03x merged commit 260323e into main Sep 30, 2025
9 of 10 checks passed
@xsahil03x xsahil03x deleted the feat/add-reconnect-providers branch September 30, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants