Replies: 1 comment 2 replies
-
I am not offering support for alphas. If you want to use them, you need to look through the code yourself. I will answer this one specific question - the code is pretty much the same as the stable 2.x. If you are getting that exception, it means you are missing permissions in your Android manifest |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@aritchie I was experimenting a bit with the library, BLE and MAUI (v. 3.0.0-alpha) and I managed to create a
ManagedScanner
and scan some devices when using 3.0.0-alpha-0216 using this basic code (using an android device with API LEVEL 28)However when updating the library to latest version 3.0.0-alpha-0266, when pressing the button I got directly (without showing dialog for permissions) a
System.InvalidOperationException: Invalid State NotSetup
raised fromaccess.Assert()
inManagedScan.Start()
.3.0.0-alpha-0245 shows the same behavior.
3.0.0-alpha-0225 will show the permissions dialog but after granting permissions a
System.InvalidOperationException: Invalid State Denied
is raised.Downgrading to 3.0.0-alpha-0216 will solve the problem and the scan works as expected.
Since v3.0.0 is alpha I just wanted to ask if this is expected behavior (and need to configure something else in order to make it work with recent releases) or this may be a bug?
Beta Was this translation helpful? Give feedback.
All reactions