From 58c998986acffeb3c5f4e443b0050e79eb0bf933 Mon Sep 17 00:00:00 2001 From: luigi-rosso Date: Thu, 25 May 2023 21:04:39 +0000 Subject: [PATCH] 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) --- .rive_head | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index c6d0fe3..2551d4c 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -9695de6e34a963dd4fa4dc73b72e366c7a68ff04 +cae6fa5ccfb6029614e6306d443a2039d1f0657c diff --git a/pubspec.yaml b/pubspec.yaml index 2f470fb..acebc90 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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