Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Flutter app crashed after local_auth  #191

Description

@chunghei0116

Recently working on the face id feature, i would like to trigger the oauth2helper after user passed the biometric login.

Got this error. After investigating, it seems the flutter_web_auth_2 got a bug on iOS device
` warning: flutter_web_auth_2 was compiled with optimization - stepping may behave oddly; variables may not be available.

  • thread Flutter Web and openid? #1, queue = 'com.apple.main-thread', stop reason = Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value
    frame Flutter Web and openid? #1: 0x00000001032d86d8 flutter_web_auth_2closure #1 in SwiftFlutterWebAuth2Plugin.handle(url=nil, err=(error = 0x0000000280bf8750), self=0x00000002805ce9e0, sessionToKeepAlive=nil, result=0x00000001032da6e8 flutter_web_auth_2partial apply forwarder for reabstraction thunk helper from @escaping @callee_unowned @convention(block) (@unowned Swift.Optional<Swift.AnyObject>) -> () to @escaping @callee_guaranteed (@in_guaranteed Swift.Optional) -> () at ) at SwiftFlutterWebAuth2Plugin.swift:29:22 [opt]

    `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions