-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen on second scan #35
Comments
Setting an *ngIf="initialized" works when setting this to false after scanning and true onInit. So there is an easy workaround. |
@Noppey can you try with the latest version |
I have a similar issue in <GridLayout (loaded)="switch2 = true">
<MLKitView *ngIf="switch2" [...] ></MLKitView>
</GridLayout> edit:
|
After upgrading to 8.8.0-alpha the initialize ngIf workaround does not work anymore for me. What I did now is removed the *ngIf and just run |
Tested on Android (multiple devices such as Samsung S10e)
Everything runs great when scanning. After I've processed other stuff and navigate back to the component that holds the scanner. Everything is initialized again (tested with console.log):
However the MLKitView is black and doesn't do anything.
When pressing back (phone button) and navigating again to the scanner, everything starts working fine again.
The text was updated successfully, but these errors were encountered: