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

Scanner stops working after a while #102

Open
3 of 4 tasks
JDW-Syscom opened this issue May 14, 2020 · 1 comment
Open
3 of 4 tasks

Scanner stops working after a while #102

JDW-Syscom opened this issue May 14, 2020 · 1 comment

Comments

@JDW-Syscom
Copy link

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:
    • My beacons have Estimote Monitoring enabled (Check it in the Estimote Cloud, or via app)
    • My Android device/devices supports BLE and has Android OS version >= 5.0.0
    • My Android device/devices have bluetooth enabled
    • My app has Location Permissions granted

Basic information

Estimote SDK version: 1.0.5

Android devices affected:
Samsung Galaxy S10

Android OS version affected: 10

Beacon hardware version: J1.9_B1.1

Description

When using a foreground Service the scanner can stop working. It will trigger an on exit and then after that nothing will happen anymore. The notification is still there saying it's scanning. This happens when you press the home button and leave it for a while, I managed to trigger this more quickly just after rebooting my phone then starting the app & scan.

I'm using the template for Proximity for Multiple Beacons & added a notification for the foreground service.

(Optional) Steps to reproduce:

  1. (Optional, might be quicker) Reboot phone
  2. Start Scanner with a foreground service
  3. Press home button (maybe lock phone even)
  4. An on enter should trigger
  5. After a while, without moving anything an exit should trigger
  6. Can not enter or leave other zones

Expected behavior:
Scanning should continue without being interrupted

Actual behavior:
Scanner triggers an exit zone and may never be able to enter it again.

Additional information

I noticed that when you have a second app with the same credentials, you start the scanner on that second app then the first might work again (for a while)

Might be related to #89

@Shailevy
Copy link

+1
Same here, reproduced on many devices. any updates on this ?

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