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

Method not found: 'UnmodifiableUint8ListView'. #48

Closed
lpickford-pixelbeard opened this issue Aug 7, 2024 · 7 comments
Closed

Method not found: 'UnmodifiableUint8ListView'. #48

lpickford-pixelbeard opened this issue Aug 7, 2024 · 7 comments

Comments

@lpickford-pixelbeard
Copy link

The following breaking change means that the pinenacl dependency no longer compiles on Flutter ^3.24.0

dart-lang/sdk#45115

../../AppData/Local/Pub/Cache/hosted/pub.dev/pinenacl-0.5.1/lib/api/api.dart:90:12: Error: Method not found:
'UnmodifiableUint8ListView'.
    return UnmodifiableUint8ListView(Uint8List.fromList(data.toList()));
           ^^^^^^^^^^^^^^^^^^^^^^^^^
@lpickford-pixelbeard
Copy link
Author

Updating the pinenacl library to ^0.6.0 fixes this, though I'm unable to open a PR due to permissions.

@Kal-Elx
Copy link

Kal-Elx commented Aug 9, 2024

For now we can override the dependency in pubspec.yaml but it would be nice if you can updated the package @kerimamansaryyev.

dependency_overrides:
  pinenacl: 0.6.0

Thanks!

@lpickford-pixelbeard
Copy link
Author

For now we can override the dependency in pubspec.yaml but it would be nice if you can updated the package @kerimamansaryyev.

dependency_overrides:
  pinenacl: 0.6.0

Thanks!

Yep this is what we've done for now :)

@kerimamansaryyev
Copy link
Owner

I will take care of this today

@kerimamansaryyev
Copy link
Owner

@lpickford-pixelbeard @Kal-Elx Try the version 1.2.3 of the package, it should be working fine now. Let me know if I can close the issue

@lpickford-pixelbeard
Copy link
Author

Works for me, thanks! :)

@kerimamansaryyev
Copy link
Owner

Works for me, thanks! :)

Glad to hear! I’m closing the issue

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

3 participants