Android-Proximity-SDK
Android-Proximity-SDK copied to clipboard
App gets killed even if background monitoring enabled
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:**
- Open the app, beacon ranging started with .withScannerInForegroundService(notification)
- Press home button
- 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
+1 Same here, any updates?
SDK version 1.0.5