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
Sorry of this is the wrong place to get help but I have no idea where else to post.
I keep getting this error when trying to set up a simple scanner. It happens after the OnAppearing method has run. Investigating further down it seems the Handler == null.
Trying to run it on a Pixel 5 Android Emulator with API 34. Running on Maui version 8.0.92 targeting net8.0-ios and net8.0-android34.0 (Haven't bothered testing on iOS yet as it's not as important). Running version 1.5.8 of BarcodeScanning.Native.Maui.
Hello.
To me it looks like a Handler issue. If your page doesn't get disposed (it handles like a Singleton) when you close or navigate from it then don't call DisposeHandler method as you'll get into the issue that you describe.
On the other hand if your page gets disposed (like a Transient) the it is best to call DisposeHandler to prevent memory lekas.
Sorry of this is the wrong place to get help but I have no idea where else to post.
I keep getting this error when trying to set up a simple scanner. It happens after the OnAppearing method has run. Investigating further down it seems the Handler == null.
Trying to run it on a Pixel 5 Android Emulator with API 34. Running on Maui version 8.0.92 targeting net8.0-ios and net8.0-android34.0 (Haven't bothered testing on iOS yet as it's not as important). Running version 1.5.8 of BarcodeScanning.Native.Maui.
The text was updated successfully, but these errors were encountered: