invertase / zapp.run

Zapp! A free online sandbox environment for building Flutter applications in the browser.

Home Page:https://zapp.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opening `macos_ui` from pub doesn't work

GroovinChip opened this issue · comments

Project ID (e.g. flutter-123456): N/A
Operating System & Version (e.g. macOS Monterey 12.1): macOS Monterey 12.4
Browser & Version (e.g. Chrome 102.0.5005.115): Chrome Version 109.0.5414.87 (Official Build) (arm64)

Description

When I try to open macos_ui via https://zapp.run/pub/macos_ui I get an error message saying that macos_ui's example project cannot be imported because it doesn't support web. This is technically incorrect - while the pub.dev listing for macos_ui does only specify web as a supported platform (due to a small amount of native code), the example app in fact builds and runs on all platforms Flutter targets, including web. See our live demo, which is actually the package's example app running on GitHub pages.

Steps to reproduce

  1. Open https://zapp.run/pub/macos_ui
  2. Observe the error

For now you can reference https://zapp.run/github/GroovinChip/macos_ui/tree/dev/example directly

Will think about how to handle this for Pub though, we may have to ignore pub and still attempt to compile the example but that may be expensive to do that for every package

Sorry it took me so long to respond. The link https://zapp.run/github/GroovinChip/macos_ui/tree/dev/example also fails.