kerimamansaryyev / dart_pusher_channels

MIT License
48 stars 13 forks source link

Method not found: 'UnmodifiableUint8ListView'. #48

Closed lpickford-pixelbeard closed 2 months ago

lpickford-pixelbeard commented 3 months ago

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

https://github.com/dart-lang/sdk/issues/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 commented 3 months ago

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

Kal-Elx commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

I will take care of this today

kerimamansaryyev commented 2 months ago

@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 commented 2 months ago

Works for me, thanks! :)

kerimamansaryyev commented 2 months ago

Works for me, thanks! :)

Glad to hear! I’m closing the issue