authpass / biometric_storage

Flutter plugin to store data behind biometric authentication (ie. fingerprint)
https://pub.dev/packages/biometric_storage
MIT License
184 stars 107 forks source link

[web]: cannot build web #51

Closed Ahmadre closed 2 years ago

Ahmadre commented 2 years ago

Since v. 3 or so I cannot compile my projects for Web.

Bildschirmfoto 2022-01-17 um 18 14 39 Bildschirmfoto 2022-01-17 um 18 14 50

It's the win32 package that collides here.

Why is win32 beeing compiled for web?

Ahmadre commented 2 years ago

For all who are searching for a fix, just do a conditional export:

export 'web.dart' if (dart.library.io) 'vm.dart';

Ahmadre commented 2 years ago

Solved: https://github.com/flutter/flutter/issues/54599#issuecomment-617244516