Skip to content
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

Android - background scan while screen off #4

Open
akoskuczi-bw opened this issue Jan 31, 2024 · 3 comments
Open

Android - background scan while screen off #4

akoskuczi-bw opened this issue Jan 31, 2024 · 3 comments

Comments

@akoskuczi-bw
Copy link

Hi,

It appears that the scan - monitor is not functioning on Android when the phone screen is off.
From the logcat, I've encountered warnings: "Cannot start unfiltered scan in screen-off.
This scan will be resumed later," even though I initiated monitoring with added regions:

_streamMonitoring = _beaconScanner.monitoring(regions).listen((result) async {
printDebug("${result.region.identifier} : ${result.region.beaconId} : ${result.monitoringEventType.name}");
});

@akoskuczi-bw
Copy link
Author

As far as I can see, the issue will be resolved by this pull request: AltBeacon/android-beacon-library#1176.

@RajatSinghBisht
Copy link

@akoskuczi-bw Did you manage to resolve this issue? If yes, How?

@akoskuczi-bw
Copy link
Author

@akoskuczi-bw Did you manage to resolve this issue? If yes, How?

No, I didn't. I had to switch to FlutterBluePlus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants