Skip to content

[local_auth] Add possibility to use error_codes to catch specific exceptions  #103125

@RuslanSk1p

Description

@RuslanSk1p

In version 1.1.11 it was possible to import error_codes as : import 'package:local_auth/local_auth.dart/error_codes.dart' as auth_error;

In version 2.0.0 as package started using strict exports there is no way to access error codes.
Consider adding :

export ‘package:local_auth/src/types/error_codes.dart’ as ErrorCodes 

to packages/local_auth/local_auth/lib/local_auth.dart

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: regressionIt was better in the past than it is nowp: local_authPlugin for local authentificationpackageflutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions