- Updates [connectivity_plus] package to version 6.0.3
- Updates Dart SDK to support versions until the next SDK release (4.0.0)
- Updates [http] package to version 1.2.1
- Updates [connectivity_plus] package to version 5.0.2
- Adds [minSuccessCalls] to assure a minimum of [minSuccessCalls] success calls times before setting connection as true. Defaults to 1.
- Adds [retries] to retry connection to server [retries] times before setting connection as false. Defaults to 0.
- Added the [timeoutDuration] parameter
- When doing a
[isPhoneConnected]
, we add values to the stream
- By default, we show a loading indicator instead of assuming we have no internet connection
- Fixes library tests
- Adds [child] as a required parameter
- Correctly dispose of resources
- Null safety migration
- Replaces
simple_connectivity
withconnectivity_plus
- Connection stream now only outputs distinct values
- Removes the
ConnectivityBloc
- Rewrites
ConnectivityUtils
- adds Github Actions
- adds tests
- fixes misc bugs
- Updates http dependency, via #26, thanks to jezer07
- Set default
serverToPing
andcallback
values if set to null via #19
- Added
ConnectivityUtils.initialize
to initialize with theserverToPing
andcallback
, so that the first time we check the internet access we ping the correct server and use the provided callback
- Update dependencies
- Change implementation from connectivity to simple_connectivity so that location-aware
Info-plist
strings are no longer required
- Fix Dio dependency still present in repo
- Change example
- Update example
- Remove Dio from dependencies
- Banner is invisible when there is no connection
- Fixed issue of banner not showing when starting the app in offline mode
- Update RxDart Version
- Initial Release