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

App gets killed even if background monitoring enabled #89

Open
rjain90 opened this issue Feb 19, 2019 · 1 comment
Open

App gets killed even if background monitoring enabled #89

rjain90 opened this issue Feb 19, 2019 · 1 comment

Comments

@rjain90
Copy link

rjain90 commented Feb 19, 2019

Prerequisites

  • [X ] 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: proximity-sdk:1.0.3

Android devices affected: OnePlus 3T

Android OS version affected: Android Oreo 8.0.0

Beacon hardware version: mint

Description

I have built my proximity observer like below:
proximityObserver = ProximityObserverBuilder(context, cloudCredentials)
.withBalancedPowerMode()
.withEstimoteSecureMonitoringDisabled()
.withTelemetryReportingDisabled()
.withScannerInForegroundService(context.getBackgroundScanNotification())
.build()
I expect my app to keep looking for beacons forever but instead it gets killed after about 15 minutes.

** Steps to reproduce:**

  1. Open the app, beacon ranging started with .withScannerInForegroundService(notification)
  2. Press home button
  3. After about 10-15 minutes the app is killed by the OS

Expected behavior: When using a foreground service, the app should not be killed
Actual behavior: The app is killed after about 15 minutes

@Shailevy
Copy link

Shailevy commented Jun 26, 2020

+1
Same here, any updates?

SDK version 1.0.5

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