Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot run with sound null safety #92

Open
tejaswinidev24 opened this issue Mar 11, 2022 · 1 comment
Open

Error: Cannot run with sound null safety #92

tejaswinidev24 opened this issue Mar 11, 2022 · 1 comment

Comments

@tejaswinidev24
Copy link

tejaswinidev24 commented Mar 11, 2022

I am facing this kind of issue whenever I am trying to run the flutter app.

I am using latest version of amazon_cognito_identity_dart

amazon_cognito_identity_dart: ^0.0.22

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

 - package:amazon_cognito_identity_dart

For solutions, see https://dart.dev/go/unsound-null-safety
../../Documents/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/amazon_cognito_identity_dart-0.0.22/lib/sig_v4.dart:142:12: Error: Undefined name 'hex'.
    return hex.encode(value);
           ^^^
@JaredEzz
Copy link

JaredEzz commented Apr 7, 2022

You may have already found a solution, but an updated version of this package is available (with null safety!) at https://github.com/furaiev/amazon-cognito-identity-dart-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants