React-native-background-geolocation: iOS blue indicator on status bar reported by users.

Created on 14 Sep 2018  路  5Comments  路  Source: mauron85/react-native-background-geolocation

Some users are reporting that they are seeing the blue status bar when not using the app. Not all users and I cant reproduce on 9-10 phones but I have found someone with the issue and dont know why

Your Environment

  • Plugin version: 0.5.0-alpha.34
  • iOS
  • OS version: 11.4.1
  • Device manufacturer and model: iPHONE X
  • React Native version: 55.2
BackgroundGeolocation.configure({
      desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
      stationaryRadius: 50,
      distanceFilter: 50,
      //notificationTitle: 'Background tracking',
      //notificationText: 'enabled',
      debug: false,
      startOnBoot: false,
      stopOnTerminate: false,
      locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,
      interval: 10000,
      fastestInterval: 5000,
      activitiesInterval: 10000,
      stopOnStillActivity: true,
    });

Context

Most users are not experiencing this, but some are. have tried uninstall and reinstall, restart phone, toggle all preferences in location settings for the app. Some users see the blue status bar when the app is in background but most do not see the bar

Expected Behavior

When app is in background blue bar should not be there.

Actual Behavior

When app is in background blue bar appears for subset of users

Steps to Reproduce

  1. Download Hooked Deals App
  2. Sign Up
  3. Enable Geo
  4. Put App in Background
  5. Either see the blue bar or not.

Context

I dont ever want to see the blur bae

Debug logs

N/A

stale

Most helpful comment

I could be wrong here but i think the blue bar shows up if you select 'only while using app' for the location services if you say always it doesn't show. This has been my experience so far.

All 5 comments

I could be wrong here but i think the blue bar shows up if you select 'only while using app' for the location services if you say always it doesn't show. This has been my experience so far.

@Cumquat @mauron85 So how do I stop locations tracking when user selects "When app in use". I used every option but was not able to fix that.

@Cumquat @mauron85 Cannot update the location when I select the 'Always' for the location services. Also, the Blue bar does not appear on the screen which means location is not getting updated.

I have configured with the below values.

  • [ ] desiredAccuracy: 10,
  • [ ] stationaryRadius: 5,
  • [ ] distanceFilter: 5,
  • [ ] notificationTitle: 'Background tracking',
  • [ ] notificationText: 'enabled',
  • [ ] notificationsEnabled: true,
  • [ ] debug: false,
  • [ ] startOnBoot: false,
  • [ ] stopOnTerminate: true,
  • [ ] locationProvider: BackgroundGeolocation.DISTANCE_FILTER_PROVIDER,
  • [ ] interval: 10000,
  • [ ] fastestInterval: 1000,
  • [ ] activitiesInterval: 1000,
  • [ ] stopOnStillActivity: false,
  • [ ] enableHighAccuracy: true,
  • [ ] pauseLocationUpdates: false,
  • [ ] postTemplate: ['@time', '@latitude', '@longitude', '@accuracy', '@bearing', '@speed']

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn't be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it's important. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings