You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.
Describe the bug
Some app will change the rootViewController of window after startup.
So we should not store rootViewController of window at plugin register.
Otherwise we will get a Warning: Attempt to present <UINavigationController: 0x106665400> whose view is not in the window hierarchy!, and all UI will be freezed.
Expected behavior
Use the current root vc to present BarcodeView when sacn method called.
Environment (please complete the following information):
Describe the bug
Some app will change the rootViewController of window after startup.
So we should not store rootViewController of window at plugin register.
Otherwise we will get a
Warning: Attempt to present <UINavigationController: 0x106665400> whose view is not in the window hierarchy!
, and all UI will be freezed.Expected behavior
Use the current root vc to present BarcodeView when sacn method called.
Environment (please complete the following information):
barcode_scan
:3.0.1
flutter --version
:The text was updated successfully, but these errors were encountered: