connectivity_plus_web

1.2.5

An implementation for the web platform of the Flutter `connectivity_plus` plugin. This uses the NetworkInformation Web API, with a fallback to Navigator.onLine.

This package is discontinued upstream.

Download archive

Readme

Connectivity Plus Web

Flutter Community: connectivity_plus_web

pub package

The Web implementation of connectivity_plus.

Usage

This package is already included as part of the connectivity_plus package dependency, and will be included when using connectivity_plus as normal.

Changelog

1.2.5

  • CHORE: Version tagging using melos.

1.2.4

  • Fix stream fallback for unsupported browsers

1.2.3

  • fix Bad state: Stream has already been listened to (#943)

1.2.2

  • Disables internal use of NetworkInformationAPI which is still experimental

1.2.1

  • Update flutter_lints to 2.0.1
  • Update dev dependencies

1.2.0

  • Add bluetooth as connectivity result

1.1.0+1

  • Fix platform interface dependency

1.1.0

  • Add ethernet as connectivity result

1.0.2

  • Update connectivity plus

1.0.1

  • Improve documentation

1.0.0

  • Migrated to null safety

0.6.1

  • Address pub score

0.6.0

  • Removed members that were moved to network_info_plus

0.5.0

  • Updated platform interface

0.4.0

  • Transfer to plus-plugins monorepo

0.3.1+3

  • Transfer package to Flutter Community under new name connectivity_plus_web.

0.3.1+2

  • Update package:e2e to use package:integration_test

0.3.1+1

  • Update package:e2e reference to use the local version in the flutter/plugins repository.

0.3.1

  • Use NetworkInformation API from dart:html, instead of the JS-interop version.

0.3.0

  • Rename from "experimental_connectivity_web" to "connectivity_web", and move to flutter/plugins master.

0.2.0

  • Add fallback on dart:html for browsers where NetworkInformationAPI is not supported.

0.1.0

  • Initial release.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add connectivity_plus_web
pubspec.yaml
name: connectivity_plus_web
description: An implementation for the web platform of the Flutter `connectivity_plus` plugin. This uses the NetworkInformation Web API, with a fallback to Navigator.onLine.
version: 1.2.5
homepage: https://plus.fluttercommunity.dev/
repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/

environment:
  sdk: ">=2.12.0 <3.0.0"
  flutter: ">=1.20.0"

flutter:
  plugin:
    platforms:
      web:
        pluginClass: ConnectivityPlusPlugin
        fileName: connectivity_plus_web.dart

dependencies:
  connectivity_plus_platform_interface: ^1.2.0
  flutter_web_plugins:
    sdk: flutter
  flutter:
    sdk: flutter
  js: ^0.6.3

dev_dependencies:
  test: ^1.21.1
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.1

Version history

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownloadb14fa4d5…cf752f
0.4.0Cached · Upstream SHA-256 matchedDownload4fa23bf9…dd1a2c
0.5.0Cached · Upstream SHA-256 matchedDownloadf27b068a…eecd61
0.6.0Cached · Upstream SHA-256 matchedDownloadeb61a4b8…f50a69
0.6.1Cached · Upstream SHA-256 matchedDownloadda44b402…7a3f78
0.7.0-nullsafety.0Cached · Upstream SHA-256 matchedDownload8c68b322…5eb7c0
1.0.0Cached · Upstream SHA-256 matchedDownload626d4be4…e235d3
1.0.1Cached · Upstream SHA-256 matchedDownload840b3ccd…05c5a2
1.0.2Cached · Upstream SHA-256 matchedDownload2e943335…f94a6c
1.1.0Cached · Upstream SHA-256 matchedDownload4be0560c…0c8ec9
1.1.0+1Cached · Upstream SHA-256 matchedDownload54d89a8a…adc5c1
1.2.0Cached · Upstream SHA-256 matchedDownload7bb2182b…ffc87a
1.2.1Cached · Upstream SHA-256 matchedDownloade6508805…54640f
1.2.2Cached · Upstream SHA-256 matchedDownload6b1af6da…438a92
1.2.3Cached · Upstream SHA-256 matchedDownloadb9141dba…a22fbf
1.2.4Cached · Upstream SHA-256 matchedDownloadbe29a856…e28f7a
1.2.5Cached · Upstream SHA-256 matchedDownload81332be1…df2f1a

Dependencies

connectivity_plus_platform_interface "^1.2.0"

flutter { "sdk": "flutter" }

flutter_web_plugins { "sdk": "flutter" }

js "^0.6.3"