ConnectyCube / connectycube-flutter-sdk-releases

ConnectyCube Flutter SDK Releases
7 stars 1 forks source link

null safety support #46

Closed sowens-csd closed 3 years ago

sowens-csd commented 3 years ago

Is your feature request related to a problem? Please describe. The plugin should be migrated to null safety. The Flutter directions are here: https://dart.dev/null-safety/migration-guide

Describe the solution you'd like Using the plugin as a dependency in an application with null safe compilation should work properly.

Describe alternatives you've considered As a new Dart language feature I don't think there are good alternatives.

Additional context This is a migration that pretty much all plugins are having to do. It's not terribly time consuming, I've migrated a couple of my own plugins and the Flutter tooling to do it automatically is helpful.

TatankaConCube commented 3 years ago

related to https://github.com/ConnectyCube/connectycube-flutter-sdk-releases/issues/44

TatankaConCube commented 3 years ago

@sowens-csd today we published the first version (2.0.0-nullsafety.1) with 'Null Safety' feature support. Please try it and share your feedback.

JErazo7 commented 3 years ago

I have this incompatibility: Because connectycube_sdk <2.0.0-nullsafety.1 depends on intl ^0.16.1 and every version of flutter_localizations from sdk depends on intl 0.17.0, connectycube_sdk <2.0.0-nullsafety.1 is incompatible with flutter_localizations from sdk.

TatankaConCube commented 3 years ago

@JErazo7 did you try to clean the project after updating our SDK to the latest version? I reviewed our dependencies and in the version 2.0.0-nullsafety.1 we use intl: ^0.17.0. Please clean your project and do flutter pub get one more time.

TatankaConCube commented 3 years ago

no activity for a long time, so closing