klippa-app / flutter-klippa-identity-verification-sdk

A Flutter plugin that implements the Klippa Identtiy Verification SDK for Android and iOS.
https://pub.dev/packages/klippa_identity_verification_sdk
MIT License
3 stars 1 forks source link

Migrate to sound null safety #5

Closed dJani97 closed 1 year ago

dJani97 commented 1 year ago

As of now, Klippa doesn't support sound null safety. Building a Flutter 3 app results in build failure:

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:klippa_identity_verification_sdk

For now, the --no-sound-null-safety flag can be used to ignore this.

This will change soon with the stable release of Dart 3 (and likely Flutter 4), as sound null safety will be mandatory:

Dart 3—planned for a mid-2023 release—requires sound null safety. It will prevent code from running without null safety, or with unsound null safety. All existing code must be migrated to sound null safety to be compatible with Dart 3. To learn more, see the Dart 3 sound null safety tracking issue.

source

Please update Klippa to support sound null safety.

RobinFarmer commented 1 year ago

Hi @dJani97,

Thanks for reporting this. We updated the package to 0.1.0 which includes support for sound null safety.

https://github.com/klippa-app/flutter-klippa-identity-verification-sdk/releases/tag/0.1.0

If you run into problems or have questions feel free to reopen this issue.