My web app fails to build with supabase 2.8.0 or newer because #1130 reintroduced an import of dart:io. There was no issue when using 2.7.0.
You will either need a conditional import, or probably better use a constant to guard web with a definition like the kIsWeb in flutter
The above is an excerpt from #1130. I don't think kIsWeb helps there. A conditional import should be necessary.
Screenshot:
The package no longer lists Web as a supported platform on pub.dev.
Version:
supabase >=2.8.0
Additional context
This is the third time I've reported a similar issue. The previous issues were:
Since this problem has recurred multiple times, I think it's important to implement a test to prevent future regressions. If writing a test isn't feasible right now, at least a manual check should be done instead.
My web app fails to build with supabase 2.8.0 or newer because #1130 reintroduced an import of
dart:io. There was no issue when using 2.7.0.The above is an excerpt from #1130. I don't think
kIsWebhelps there. A conditional import should be necessary.Screenshot:
The package no longer lists
Webas a supported platform on pub.dev.Version:
supabase >=2.8.0
Additional context
This is the third time I've reported a similar issue. The previous issues were:
Since this problem has recurred multiple times, I think it's important to implement a test to prevent future regressions. If writing a test isn't feasible right now, at least a manual check should be done instead.