shorebirdtech / updater

libupdater code for Shorebird
Other
70 stars 15 forks source link

Unable to build for web after upgrading to shorebird_code_push 2.0.0 #239

Open bgetsug opened 2 hours ago

bgetsug commented 2 hours ago

I cannot build for the web with shorebird_code_push version 2.0.0:

../../../../.pub-cache/hosted/pub.dev/shorebird_code_push-2.0.0/lib/src/updater.dart:1:8: Error: Dart library 'dart:ffi' is not available on this platform.
import 'dart:ffi' as ffi;
       ^
Context: The unavailable library 'dart:ffi' is imported through these packages:

    web_entrypoint.dart => package:emce_mobile => package:shorebird_code_push => dart:ffi
    web_entrypoint.dart => package:emce_mobile => package:shorebird_code_push => package:ffi => dart:ffi
    ...

(Perhaps a regression of #57?)

Version 1.1.6 still works 😅

eseidel commented 2 hours ago

Thanks Ben. Just an oversight on our part. We can get a quick fix out in the morning (and probably update our bots to make sure they build with Web as a test).