react-native-background-geolocation: Background services stops automatically right after it was started with BackgroundGeolocation.start()

Your Environment

  • Plugin version: 3.0.9
  • Platform: Android
  • OS version: 28
  • Device manufacturer / model: moto g(6) play - 9
  • React Native version (react-native -v): 0.60.3
  • Plugin config
startBackgroundGeolocation() {
        console.log('background location start');
        locationDef = true;
        BackgroundGeolocation.onLocation(this.onLocation.bind(this));
        BackgroundGeolocation.onMotionChange(this.onMotionChange.bind(this));
        BackgroundGeolocation.onActivityChange(this.onActivityChange.bind(this));
        BackgroundGeolocation.onProviderChange(this.onProviderChange.bind(this));
        BackgroundGeolocation.onPowerSaveChange(this.onPowerSaveChange.bind(this));

        BackgroundGeolocation.ready({
            reset: true,
            distanceFilter: 5,
            desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
            stopTimeout: 1,
            debug: false, // <-- enable this hear sounds for background-geolocation life-cycle.
            stopOnTerminate: false,
            startOnBoot: true,   
            logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
            //locationUpdateInterval: 15000,
            //fastestLocationUpdateInterval: 12000,
            notification: {
                priority: BackgroundGeolocation.NOTIFICATION_PRIORITY_HIGH,
                title: 'Obs',
                text: 'Din location bliver gemt af Guard4me, du kan sætte denne service på pause, når du ønsker at være anonym.',
                smallIcon: "mipmap/notification", // <-- defaults to app icon
                largeIcon: "mipmap/notification",
                layout: 'my_notification_layout_online',
                actions: [
                    'notificationButtonPause'
                ],
                strings: {
                    'notificationButtonStart': 'Start',
                    'notificationButtonPause': 'Pause'
                }
            },
        }, () => {
            console.log("- BackgroundGeolocation is configured and ready");
            this.geoStart();
            this.props.locationDefined();
        });

        // Listen to custom button clicks:
        BackgroundGeolocation.onNotificationAction((buttonId) => {
            switch (buttonId) {
                case 'notificationButtonPause':
                    this.BtnPushStop();
                    break;
            }
        });

    }

    geoStart() {
        console.log('Geolocation startet');
        BackgroundGeolocation.start(() => {           
            this.props.geolocation(true);
        });
    }

    geoStop() {
        console.log('Geolocation stopped');
        BackgroundGeolocation.stop(() => {         
            this.props.geolocation(false);
        });
    }

    BtnPushStart = () => {
        BackgroundGeolocation.ready({
            reset: true,
            distanceFilter: 5,
            desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
            stopTimeout: 1,
            debug: false, // <-- enable this hear sounds for background-geolocation life-cycle.
            stopOnTerminate: false,
            startOnBoot: true,   
            logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
            //locationUpdateInterval: 15000,
            //fastestLocationUpdateInterval: 12000,
            notification: {
                priority: BackgroundGeolocation.NOTIFICATION_PRIORITY_HIGH,
                title: 'Obs',
                text: 'Din location bliver gemt af Guard4me, du kan sætte denne service på pause, når du ønsker at være anonym.',
                smallIcon: "mipmap/notification", // <-- defaults to app icon
                largeIcon: "mipmap/notification",
                layout: 'my_notification_layout_online',
                actions: [
                    'notificationButtonPause'
                ],
                strings: {
                    'notificationButtonPause': 'Pause',
                }
            },
        }, () => {
            console.log("- BackgroundGeolocation is configured and ready");
            this.geoStart();
            this.props.locationDefined();
        });

        // Listen to custom button clicks:
        BackgroundGeolocation.onNotificationAction((buttonId) => {
            switch (buttonId) {
                case 'notificationButtonPause':
                    this.BtnPushStop();
                    break;
            }
        });
    }

    BtnPushStop = () => {
        BackgroundGeolocation.ready({
            reset: true,
            distanceFilter: 5,
            desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
            stopTimeout: 1,
            debug: false, // <-- enable this hear sounds for background-geolocation life-cycle.
            stopOnTerminate: false,
            startOnBoot: true,   
            logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
            //locationUpdateInterval: 15000,
            //fastestLocationUpdateInterval: 12000,
            notification: {
                priority: BackgroundGeolocation.NOTIFICATION_PRIORITY_HIGH,
                title: 'Obs',
                text: 'Din location bliver gemt af Guard4me, du kan sætte denne service på pause, når du ønsker at være anonym.',
                smallIcon: "mipmap/notification", // <-- defaults to app icon
                largeIcon: "mipmap/notification",
                layout: 'my_notification_layout_offline',
                actions: [
                    'notificationButtonStart',  // <-- register button click-listeners
                ],
                strings: {
                    'notificationButtonStart': 'Start',
                }
            },
        }, () => {
            console.log("- BackgroundGeolocation is configured and ready");
            this.geoStop();
            this.props.locationDefined();
        });

        // Listen to custom button clicks:
        BackgroundGeolocation.onNotificationAction((buttonId) => {
            switch (buttonId) {
                case 'notificationButtonStart':
                    this.BtnPushStart();
                    break;
            }
        });
    }

    /**
    * @event location
    */
    onLocation(location) {
        console.log('[event] location: ', location);
        this.props.locationUpdate(location);
        this.setState({
            location
        });
    }
    /**
    * @event motionchange
    */
    onMotionChange(event) {
        console.log('[event] motionchange: ', event.isMoving, event.location);
    }
    /**
    * @event activitychange
    */
    onActivityChange(event) {
        console.log('[event] activitychange: ', event);
    }
    /**
    * @event providerchange
    */
    onProviderChange(event) {
        console.log('[event] providerchange', event);
    }
    /**
    * @event powersavechange
    */
    onPowerSaveChange(isPowerSaveMode) {
        console.log('[event] powersavechange', isPowerSaveMode);
    }

Expected Behavior

The function startBackgroundGeolocation() is used in componentDidUpdate, if the BackgroundLocation is not defined. The background location was expected to start, as it has previously been working fine.

Actual Behavior

Right after the function is started, the LocationServices is stopped somehow, I have pasted in the Logcat from android studio.

Four days ago the code was working fine, but suddenly it did not work until yesterday, where it worked again. I suspect it could be something with my com.transistorsoft.locationmanager.license, could it be blocked because of to many requests? My accountname is friis1978.

Context

Debug logs

Logs
2019-07-28 19:12:03.505 3048-3279/? D/BatteryService: uevent={POWER_SUPPLY_VOLTAGE_NOW=4308751, POWER_SUPPLY_CHARGE_RATE=Normal, POWER_SUPPLY_HEALTH=Good, POWER_SUPPLY_CURRENT_NOW=-191191, POWER_SUPPLY_PRESENT=1, SUBSYSTEM=power_supply, POWER_SUPPLY_TEMP=367, SEQNUM=52780, ACTION=change, POWER_SUPPLY_NAME=battery, POWER_SUPPLY_STATUS=Charging, POWER_SUPPLY_CHARGE_COUNTER=3733437, POWER_SUPPLY_CAPACITY=93, DEVPATH=/devices/soc/qpnp-smbcharger-17/power_supply/battery}
    
    --------- beginning of main
2019-07-28 19:12:00.861 28622-28622/? D/uState: run() State:BackgroundState Event: READY_FOR_TRANSACTION(from:NONE)
2019-07-28 19:12:05.147 30009-30073/com.guard4me.app.v2 D/TSLocationManager: [c.t.locationmanager.util.b a] 
      ℹ️  LocationAuthorization: Permission granted
2019-07-28 19:12:05.154 30009-30092/com.guard4me.app.v2 I/TSLocationManager: - Enable: false → true, trackingMode: 1
2019-07-28 19:12:05.161 3048-3278/? I/ActivityManager: START u0 {act=locationsettings flg=0x10000000 cmp=com.guard4me.app.v2/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity} from uid 10508
2019-07-28 19:12:05.179 929-978/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
2019-07-28 19:12:05.190 30009-30377/com.guard4me.app.v2 V/FA: Recording user engagement, ms: 22611
2019-07-28 19:12:05.191 30009-30092/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
      🎾  Start motion-activity updates
2019-07-28 19:12:05.195 30009-30092/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.g.TSGeofenceManager start] 
      🎾  Start monitoring geofences
2019-07-28 19:12:05.196 30009-30377/com.guard4me.app.v2 V/FA: Connecting to remote service
2019-07-28 19:12:05.201 30009-30092/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 
      🎾  Start monitoring connectivity changes
2019-07-28 19:12:05.207 30009-30092/com.guard4me.app.v2 D/TSLocationManager: [c.t.locationmanager.device.a c] 
      🎾  Start monitoring powersave changes
2019-07-28 19:12:05.211 30009-30077/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.http.HttpService a] 
    ╔═════════════════════════════════════════════
    ║ 📶  Connectivity change: connected? true
    ╠═════════════════════════════════════════════
2019-07-28 19:12:05.215 30009-30009/com.guard4me.app.v2 W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@ce6b8b8
2019-07-28 19:12:05.220 30009-30377/com.guard4me.app.v2 V/FA: Activity paused, time: 91558482
2019-07-28 19:12:05.223 30009-30092/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.g.TSGeofenceManager stopMonitoringSignificantLocationChanges] 
      🔴  Stop monitoring significant location changes
2019-07-28 19:12:05.227 30009-30092/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.service.HeartbeatService a] 
      🔴  Stop heartbeat
2019-07-28 19:12:05.233 30009-30009/com.guard4me.app.v2 V/FA: onActivityCreated
2019-07-28 19:12:05.237 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2019-07-28 19:12:05.238 30009-30092/com.guard4me.app.v2 D/TSLocationManager: [c.t.locationmanager.util.b a] 
      ℹ️  LocationAuthorization: Permission granted
2019-07-28 19:12:05.255 30009-30092/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.service.TrackingService a] 
      🔵  setPace: false → false
2019-07-28 19:12:05.256 30009-30377/com.guard4me.app.v2 D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=22611, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-7827138373150813174}]
2019-07-28 19:12:05.293 3048-3467/? V/LocSvc_HIDL_OsNpGlue_jni: [onSetRequest][61] [HC] <<= [HS]
2019-07-28 19:12:05.311 3048-4922/? I/WifiService: acquireWifiLock uid=10029 lockMode=2
2019-07-28 19:12:05.319 30009-30377/com.guard4me.app.v2 V/FA: Connection attempt already in progress
2019-07-28 19:12:05.340 4138-4138/? I/GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: true]
2019-07-28 19:12:05.350 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
      🚘 ️DetectedActivity [type=STILL, confidence=100]
2019-07-28 19:12:05.350 4138-4138/? I/GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: true]
2019-07-28 19:12:05.354 30009-30377/com.guard4me.app.v2 D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=MainActivity, firebase_previous_id(_pi)=-7827138373150813174, firebase_screen_class(_sc)=TSLocationManagerActivity, firebase_screen_id(_si)=-7827138373150813165}]
2019-07-28 19:12:05.368 3048-4922/? D/ActivityManager: found next focusableStack ActivityStack{a7d27fc stackId=154 type=standard mode=fullscreen visible=true translucent=false, 1 tasks} with top ActivityRecord{98d7b4f u0 com.guard4me.app.v2/.MainActivity t15671} as current stack ActivityStack{a05bc7b stackId=163 type=standard mode=fullscreen visible=true translucent=true, 1 tasks}
2019-07-28 19:12:05.401 30009-30377/com.guard4me.app.v2 V/FA: Connection attempt already in progress
2019-07-28 19:12:05.401 30009-30377/com.guard4me.app.v2 V/FA: Connection attempt already in progress
2019-07-28 19:12:05.405 30009-30377/com.guard4me.app.v2 V/FA: Activity resumed, time: 91558574
2019-07-28 19:12:05.427 3048-3048/? I/NotificationService: Cannot find enqueued record for key: 0|com.guard4me.app.v2|9942585|null|10508
2019-07-28 19:12:05.452 30009-30009/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.s.LocationRequestService b] 
      ℹ️  Location availability: true
2019-07-28 19:12:05.459 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.s.ActivityRecognitionService onDestroy] 
      🔴  ActivityRecognitionService destroyed
2019-07-28 19:12:05.470 30009-30377/com.guard4me.app.v2 V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 189
2019-07-28 19:12:05.471 30009-30377/com.guard4me.app.v2 V/FA: Connection attempt already in progress
2019-07-28 19:12:05.473 30009-30377/com.guard4me.app.v2 V/FA: Activity paused, time: 91558763
2019-07-28 19:12:05.492 3048-3107/? I/LaunchCheckinHandler: Displayed com.guard4me.app.v2/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity,wp,ca,292
2019-07-28 19:12:05.493 30009-30377/com.guard4me.app.v2 D/FA: Connected to remote service
2019-07-28 19:12:05.496 30009-30377/com.guard4me.app.v2 V/FA: Processing queued up service tasks: 5
2019-07-28 19:12:05.516 2373-3805/? W/SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{3122849 token=Token{85d8e50 ActivityRecord{2d43c13 u0 com.guard4me.app.v2/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t15680}}}#0
2019-07-28 19:12:05.529 4362-30455/? V/FA-SVC: Logging event: origin=auto,name=user_engagement(_e),params=Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=22611, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-7827138373150813174}]
2019-07-28 19:12:05.554 4362-30455/? V/FA-SVC: Saving event, name, data size: user_engagement(_e), 69
2019-07-28 19:12:05.554 4362-30455/? V/FA-SVC: Event recorded: Event{appId='com.guard4me.app.v2', name='user_engagement(_e)', params=Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=22611, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-7827138373150813174}]}
2019-07-28 19:12:05.554 3048-3048/? I/NotificationService: Cannot find enqueued record for key: 0|com.guard4me.app.v2|9942585|null|10508
2019-07-28 19:12:05.557 4362-30455/? V/FA-SVC: Upload scheduled in approximately ms: 757918
2019-07-28 19:12:05.558 4362-30455/? V/FA-SVC: Cancelling job. JobID: 812057698
2019-07-28 19:12:05.562 4362-30455/? V/FA-SVC: Scheduling upload with GcmTaskService
2019-07-28 19:12:05.562 4362-30455/? V/FA-SVC: Scheduling task with Gcm. time: 757918
2019-07-28 19:12:05.573 4362-30455/? V/FA-SVC: Background event processing time, ms: 44
2019-07-28 19:12:05.576 4362-30455/? V/FA-SVC: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=MainActivity, firebase_previous_id(_pi)=-7827138373150813174, firebase_screen_class(_sc)=TSLocationManagerActivity, firebase_screen_id(_si)=-7827138373150813165}]
2019-07-28 19:12:05.582 4362-30455/? V/FA-SVC: Saving event, name, data size: screen_view(_vs), 110
2019-07-28 19:12:05.582 4362-30455/? V/FA-SVC: Event recorded: Event{appId='com.guard4me.app.v2', name='screen_view(_vs)', params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=MainActivity, firebase_previous_id(_pi)=-7827138373150813174, firebase_screen_class(_sc)=TSLocationManagerActivity, firebase_screen_id(_si)=-7827138373150813165}]}
2019-07-28 19:12:05.584 4362-30455/? V/FA-SVC: Upload scheduled in approximately ms: 757891
2019-07-28 19:12:05.586 4362-30455/? V/FA-SVC: Cancelling job. JobID: 812057698
2019-07-28 19:12:05.592 4362-30455/? V/FA-SVC: Scheduling upload with GcmTaskService
2019-07-28 19:12:05.592 4362-30455/? V/FA-SVC: Scheduling task with Gcm. time: 757891
2019-07-28 19:12:05.596 30009-30377/com.guard4me.app.v2 D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=TSLocationManagerActivity, firebase_previous_id(_pi)=-7827138373150813165, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-7827138373150813174}]
2019-07-28 19:12:05.599 4362-30455/? V/FA-SVC: Background event processing time, ms: 23
2019-07-28 19:12:05.660 4362-30455/? V/FA-SVC: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=TSLocationManagerActivity, firebase_previous_id(_pi)=-7827138373150813165, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-7827138373150813174}]
2019-07-28 19:12:05.664 4362-30455/? V/FA-SVC: Saving event, name, data size: screen_view(_vs), 110
2019-07-28 19:12:05.665 4362-30455/? V/FA-SVC: Event recorded: Event{appId='com.guard4me.app.v2', name='screen_view(_vs)', params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=TSLocationManagerActivity, firebase_previous_id(_pi)=-7827138373150813165, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-7827138373150813174}]}
2019-07-28 19:12:05.667 30009-30377/com.guard4me.app.v2 V/FA: Activity resumed, time: 91558808
2019-07-28 19:12:05.668 4362-30455/? V/FA-SVC: Upload scheduled in approximately ms: 757807
2019-07-28 19:12:05.670 4362-30455/? V/FA-SVC: Cancelling job. JobID: 812057698
2019-07-28 19:12:05.674 4362-30455/? V/FA-SVC: Scheduling upload with GcmTaskService
2019-07-28 19:12:05.674 4362-30455/? V/FA-SVC: Scheduling task with Gcm. time: 757807
2019-07-28 19:12:05.677 4362-30455/? V/FA-SVC: Background event processing time, ms: 18
2019-07-28 19:12:05.848 3048-3278/? D/WificondControl: Scan result ready event
2019-07-28 19:12:05.877 3048-8515/? I/WifiService: releaseWifiLock uid=10029
2019-07-28 19:12:05.879 3048-5225/? V/LocSvc_HIDL_OsNpGlue_jni: [onJavaLocationChanged][194] [HC] =>> [HS]
2019-07-28 19:12:05.879 927-927/? V/LocSvc_HIDL_IzatOsNpGlue: [locationChanged][93] [HS] <<<<= [HC]
2019-07-28 19:12:05.880 927-1804/? V/LocSvc_HIDL_IzatProvider: [onLocationChanged][71] [HS] =>>>> [HC]
2019-07-28 19:12:05.880 3048-3467/? V/LocSvc_HIDL_IzatProvider_jni: [onLocationChanged][208] [HC] <<= [HS]
2019-07-28 19:12:05.894 4138-4138/? I/GeofencerStateMachine: sendNewTransitions called.
2019-07-28 19:12:05.906 4138-30093/? I/GCoreUlr: Successfully inserted 1 locations
2019-07-28 19:12:05.916 30009-30009/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.s.LocationRequestService a] 
    ╔═════════════════════════════════════════════
    ║ motionchange LocationResult: 10
    ╠═════════════════════════════════════════════
    ╟─ 📍  Location[fused 55.716004,12.546896 hAcc=18 et=+1d1h25m59s141ms alt=53.5 vAcc=2 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 65ms, time: 1564333925848
2019-07-28 19:12:05.925 30009-30009/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 
      🔵  Acquired motionchange position, isMoving: false
2019-07-28 19:12:05.928 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 17.952
2019-07-28 19:12:05.954 4138-4138/? I/GeofencerStateMachine: sendNewTransitions called.
2019-07-28 19:12:05.958 3048-3467/? V/LocSvc_HIDL_OsNpGlue_jni: [onStopRequest][68] [HC] <<= [HS]
2019-07-28 19:12:05.960 30009-30092/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.data.sqlite.b persist] 
      ✅  INSERT: 95b1b7ea-0e35-472f-a214-fb106c61f6d6
2019-07-28 19:12:05.962 4138-4138/? I/GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: true]
2019-07-28 19:12:05.992 30009-30009/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
      🎾  Start motion-activity updates
2019-07-28 19:12:05.998 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 
      🎾  Start monitoring stationary region (radius: 150.0 meters)
2019-07-28 19:12:06.006 4138-4150/? I/GeofencerStateMachine: addGeofences called by com.guard4me.app.v2
2019-07-28 19:12:06.071 4138-4138/? I/GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: true]
2019-07-28 19:12:06.071 30009-30009/com.guard4me.app.v2 I/TSLocationManager: [c.t.l.service.TrackingService g] 
    ╔═════════════════════════════════════════════
    ║ TrackingService motionchange: false
    ╠═════════════════════════════════════════════
2019-07-28 19:12:06.073 4138-4138/? I/GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: true]
2019-07-28 19:12:06.130 4138-4138/? I/GeofencerStateMachine: sendNewTransitions called.
2019-07-28 19:12:06.134 4138-4138/? I/GeofencerStateMachine: sendNewLocationAvailability: availability=LocationAvailability[isLocationAvailable: true]
2019-07-28 19:12:06.136 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
      🚘 ️DetectedActivity [type=STILL, confidence=100]
2019-07-28 19:12:06.156 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.service.TrackingService onDestroy] 
      🔴  TrackingService destroyed
2019-07-28 19:12:06.189 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.s.ActivityRecognitionService a] 
      🚘 ️DetectedActivity [type=STILL, confidence=100]
2019-07-28 19:12:06.202 30009-30009/com.guard4me.app.v2 D/TSLocationManager: [c.t.l.s.ActivityRecognitionService onDestroy] 
      🔴  ActivityRecognitionService destroyed
2019-07-28 19:12:06.228 4138-4148/? I/.gms.persisten: Background concurrent copying GC freed 359794(16MB) AllocSpace objects, 18(936KB) LOS objects, 49% free, 15MB/30MB, paused 377us total 224.628ms
2019-07-28 19:12:10.347 3048-4922/? I/WifiService: acquireWifiLock uid=10029 lockMode=2
2019-07-28 19:12:10.665 30009-30377/com.guard4me.app.v2 V/FA: Inactivity, disconnecting from the service
2019-07-28 19:12:10.893 3048-4766/? D/WificondControl: Scan result ready event
2019-07-28 19:12:10.900 3048-3538/? D/WificondScannerImpl: Filtering out 1 scan results.
2019-07-28 19:12:10.945 3048-4922/? I/WifiService: releaseWifiLock uid=10029
2019-07-28 19:12:10.953 3048-5225/? V/LocSvc_HIDL_OsNpGlue_jni: [onJavaLocationChanged][194] [HC] =>> [HS]
2019-07-28 19:12:10.953 927-927/? V/LocSvc_HIDL_IzatOsNpGlue: [locationChanged][93] [HS] <<<<= [HC]
2019-07-28 19:12:10.953 927-1804/? E/IzatSvc_ComboNetworkProvider: Exiting with error proc line 210 "1"
2019-07-28 19:12:19.253 2574-2574/? E/MSM-irqbalance: __set_smp_affinity: Unable to open /proc/irq/21/smp_affinity
2019-07-28 19:12:19.253 2574-2574/? E/MSM-irqbalance: get_smp_affinity: Unable to open /proc/irq/21/smp_affinity
2019-07-28 19:12:19.253 2574-2574/? E/MSM-irqbalance: Unable to set SMP affinity
2019-07-28 19:12:24.253 2574-2574/? E/MSM-irqbalance: __set_smp_affinity: Unable to open /proc/irq/21/smp_affinity
2019-07-28 19:12:24.253 2574-2574/? E/MSM-irqbalance: get_smp_affinity: Unable to open /proc/irq/21/smp_affinity
2019-07-28 19:12:24.253 2574-2574/? E/MSM-irqbalance: Unable to set SMP affinity
2019-07-28 19:12:06.211 3048-3048/? I/chatty: uid=1000 system_server identical 1 line
2019-07-28 19:12:06.233 3048-3048/? I/NotificationService: Cannot find enqueued record for key: 0|com.guard4me.app.v2|9942585|null|10508
2019-07-28 19:12:41.958 2396-2546/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2019-07-28 19:12:47.339 927-1804/? V/LocSvc_HIDL_IzatProvider: [onLocationChanged][71] [HS] =>>>> [HC]
2019-07-28 19:12:47.339 3048-3467/? V/LocSvc_HIDL_IzatProvider_jni: [onLocationChanged][208] [HC] <<= [HS]
2019-07-28 19:12:49.835 30009-30560/com.guard4me.app.v2 W/guard4me.app.v: Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (light greylist, reflection)
2019-07-28 19:12:50.177 3048-3061/? D/WificondControl: Scan result ready event
2019-07-28 19:12:55.030 4991-5173/? I/Finsky: [199] jhx.run(3): Stats for Executor: BlockingExecutor jjn@71e5964[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 231]
2019-07-28 19:12:55.030 4991-5173/? I/Finsky: [199] jhx.run(3): Stats for Executor: LightweightExecutor jjn@e80b7cd[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 63]
2019-07-28 19:12:55.031 4991-5173/? I/Finsky: [199] jhx.run(3): Stats for Executor: bgExecutor jjn@a5ce882[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 2722]
2019-07-28 19:13:03.664 3048-3279/? D/BatteryService: uevent={POWER_SUPPLY_VOLTAGE_NOW=4318364, POWER_SUPPLY_CHARGE_RATE=Normal, POWER_SUPPLY_HEALTH=Good, POWER_SUPPLY_CURRENT_NOW=-249021, POWER_SUPPLY_PRESENT=1, SUBSYSTEM=power_supply, POWER_SUPPLY_TEMP=367, SEQNUM=52781, ACTION=change, POWER_SUPPLY_NAME=battery, POWER_SUPPLY_STATUS=Charging, POWER_SUPPLY_CHARGE_COUNTER=3737074, POWER_SUPPLY_CAPACITY=93, DEVPATH=/devices/soc/qpnp-smbcharger-17/power_supply/battery}
2019-07-28 19:13:12.775 30009-30058/com.guard4me.app.v2 W/System: A resource failed to call response.body().close(). 


</details>

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I have the same issue with Plugin version: 3.2.0 & RN: 0.59.

issue: The foreground notificación shows only one second and then desappear

Edit: My bad in my case the notification show when I start moving.

Tip: call ready() with {isMoving: true} to show the notification for the first time.