Fix web editor

Need to make sure setUrlStrategy is only called once. Due to a bug in Flutter it seems like that static final instance is being called like a getter in Flutter Web (bizarre) but we can mitigate it by using the correct Platform (not the one from rive_common).

Also re-published the wasm for the latest rive_common.

Diffs=
cae6fa5cc Fix web editor (#5299)
This commit is contained in:
luigi-rosso
2023-05-25 21:04:39 +00:00
parent 37eb623b96
commit 58c998986a
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
9695de6e34a963dd4fa4dc73b72e366c7a68ff04
cae6fa5ccfb6029614e6306d443a2039d1f0657c

View File

@ -15,7 +15,7 @@ dependencies:
http: ^0.13.3
meta: ^1.3.0
plugin_platform_interface: ^2.0.2
rive_common: 0.0.8
rive_common: 0.0.9
dev_dependencies:
flutter_test:
sdk: flutter