data_connection_checker icon indicating copy to clipboard operation
data_connection_checker copied to clipboard

Null-safety

Open sebastianbuechler opened this issue 3 years ago • 8 comments

Will this library be upgraded to null-safety?

sebastianbuechler avatar Mar 11 '21 20:03 sebastianbuechler

I am beginning to think this package inactive

davidAg9 avatar Mar 13 '21 00:03 davidAg9

Unfortunately, I think this too. @davidAg9 😢

amebrahimi avatar Mar 13 '21 09:03 amebrahimi

@komapeb Please upgrade this package to null safety otherwise this package will be dead 😶

iamnabink avatar Mar 13 '21 20:03 iamnabink

Hi, please see ~#15~ and #18 for this pull request. There is a new package internet_connection_checker, and you can read more about why this was done at #18.

JaffaKetchup avatar Mar 15 '21 17:03 JaffaKetchup

### WARNING : DO NOT USE data_connection_checker ANYMORE

USE internet_connection_checker

I been building my app to be internet sensitive...I provided a cubit on above MaterialApp like it should be.

BUT I WAS USING data_connection_checker plugin !!!!

And I tried to use BlocListener to listen on status change from connection.....nothing !! WEIRD !!!

No error log to use for debug....very strange, a total NOTHING.

I spent quite a time....I tried to use your plugin.....AND BIM....

For some reason, it worked ! And I tried back to use the old plugin, it did not work again....

mayouf avatar Apr 02 '21 15:04 mayouf

Will this library be upgraded to null-safety?

Null-safety here!

  • You can try this in your pubspec.yaml
dependencies:
  data_connection_checker:
    git:
      url: https://github.com/chornthorn/data_connection_checker.git
      ref: master

Hope this helps!

chornthorn avatar Jun 13 '21 20:06 chornthorn

I Guess it's from the same team... available here as https://pub.dev/packages/internet_connection_checker

SaravananSriram avatar Mar 05 '22 16:03 SaravananSriram

Error: Cannot run Test with sound null safety, because the following dependencies

Satyam-953 avatar Oct 11 '22 12:10 Satyam-953