react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Application Not Closing Gracefully When Removed From RAM In Running State (Tracking is ON)

Open GuptaAman08 opened this issue 2 years ago â€ĸ 5 comments

Your Environment

  • Plugin version: 4.10.0
  • Platform: Android
  • OS version: MacOS Ventura 13.3.1
  • Device manufacturer / model: Android Emulator
  • React Native version (react-native -v): 0.71.4
  • Plugin config
{
      distanceFilter: options.distanceInterval || 50,
      stopOnTerminate: true,
      startOnBoot: false,
      stopTimeout: 20,
      enableHeadless: false,
      heartbeatInterval: 60,
      locationAuthorizationRequest: 'Always',
      disableLocationAuthorizationAlert: false,
      locationAuthorizationAlert: {
        titleWhenNotEnabled: 'Location services is not enabled',
        titleWhenOff: 'Location services is off',
        instructions:
          "You must enable 'Always' in Location services for tracking to function properly",
        cancelButton: 'Cancel',
        settingsButton: 'Settings',
      },
      backgroundPermissionRationale: {
        title: "Allow access to this device's location in the background?",
        message: "Please enable 'Allow all the time permission",
        positiveAction: 'Change to Allow all the time',
      },
      extras: {},
      url: <server_url>,
      authorization: <function_that_returns_auth_token>,
      autoSync: true
}

Expected Behavior

The application, implemented above react-native-background-geolocation sdk, should close gracefully (without any errors) when the user removes it in a running state (location tracking is ON) from RAM.

Actual Behavior

While removing the app, implemented above the react-native-background-geolocation SDK, in running state (location tracking is ON) we can see an error log in ADB logs. If the app is closed in the stopped state then, it closes gracefully, that is, without any error log. In fact, an informational log appears indicating that the app is removed from RAM.

04-05 14:31:13.643   496   521 I ActivityManager: Killing 7857:com.reactnativeproximitysdkexample/u0a183 (adj 905): remove task

Whereas the below error log appears in between the logs from the react-native-background-geolocation when application is closed in running state

04-05 14:25:12.439  7857  7857 E unknown:ReactNative: Tried to remove non-existent frame callback

This behavior is in turn not allowing us to close the application properly, which in turn is breaking one of our features. On IOS, this is working perfectly fine.

Steps to Reproduce

  1. Initialise the plugin
  2. Call the SDK Start Tracking method
  3. Remove it from the RAM (by using clear all or swap up/down)
  4. Observe the logs in ADB

Context

Removing the application from RAM in running state.

Debug logs

Logs: Removing the application from the RAM in running state
04-05 14:25:11.489   322   322 I android.hardware.vibrator-service.example: Vibrator reporting capabilities
04-05 14:25:11.490   322   322 I android.hardware.vibrator-service.example: Vibrator off
04-05 14:25:11.491   322   322 I android.hardware.vibrator-service.example: Vibrator perform
04-05 14:25:11.493   322  8089 I android.hardware.vibrator-service.example: Starting perform on another thread
04-05 14:25:11.504   496   641 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:25:11.505   496  5664 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:25:11.582  1019  1932 D TaplEvents: Main / onOverviewToggle
04-05 14:25:11.586   496   518 D AutofillManagerService: Close system dialogs
04-05 14:25:11.593   322  8089 I android.hardware.vibrator-service.example: Notifying perform complete
04-05 14:25:11.593   496  5664 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 pkg=com.google.android.apps.nexuslauncher cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity (has extras)} from uid 10152
04-05 14:25:11.594   496   521 D EventSequenceValidator: inc AccIntentStartedEvents to 2
04-05 14:25:11.594   322   322 I android.hardware.vibrator-service.example: Vibrator off
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   343   343 I perfetto: ing_service_impl.cc:758 Configured tracing session 111, #sources:1, duration:5000 ms, #buffers:1, total buffer size:4096 KB, total sessions:1, uid:1071 session name: ""
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.637   496  5664 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638   496  5664 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
04-05 14:25:11.638 12733 12733 I perfetto: probes_producer.cc:230  Ftrace setup (target_buf=111)
04-05 14:25:11.641   675   675 V ShadeControllerImpl: NotificationShadeWindow: com.android.systemui.statusbar.phone.NotificationShadeWindowView{833cc4b I.E...... ......ID 0,0-1080,2280} canPanelBeCollapsed(): false
04-05 14:25:11.646   496  5664 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:25:11.651  1019  1019 D TaplTarget: Launcher.onNewIntent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10400000 pkg=com.google.android.apps.nexuslauncher cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity (has extras) }
04-05 14:25:11.658  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:25:11.658  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:25:11.683  7857  7857 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 
04-05 14:25:11.683  7857  7857 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
04-05 14:25:11.729     0     0 W perfetto: enabled ftrace
04-05 14:25:11.729 12733 12733 I perfetto: ftrace_procfs.cc:176    enabled ftrace
04-05 14:25:11.731   305   305 D goldfish-address-space: claimShared: Ask to claim region [0x1f316c000 0x1f3ad4000]
04-05 14:25:11.752   305   305 D goldfish-address-space: claimShared: Ask to claim region [0x1f0000000 0x1f0968000]
04-05 14:25:11.753   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f0968000 0x1f12d0000]
04-05 14:25:11.788   496  4058 W ActivityManager: Unable to start service Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } U=0: not found
04-05 14:25:11.788   496  4058 W RemoteAppPredictionService: could not bind to Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } using flags 67108865
04-05 14:25:11.790   305   305 D goldfish-address-space: claimShared: Ask to claim region [0x1f12d0000 0x1f1c38000]
04-05 14:25:11.797   305   305 D goldfish-address-space: claimShared: Ask to claim region [0x1f4968000 0x1f52d0000]
04-05 14:25:11.798   305   305 D goldfish-address-space: claimShared: Ask to claim region [0x1f52d0000 0x1f5c38000]
04-05 14:25:11.830   305   305 D goldfish-address-space: claimShared: Ask to claim region [0x1f782c000 0x1f7e30000]
04-05 14:25:11.842   496   521 D EventSequenceValidator: dec AccIntentStartedEvents to 1
04-05 14:25:11.849  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@f76a2dd mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=35]
04-05 14:25:11.850  1019  1019 I chatty  : uid=10152(com.google.android.apps.nexuslauncher) identical 2 lines
04-05 14:25:11.850  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@f76a2dd mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=35]
04-05 14:25:11.857   496   526 D ArtManagerInternalImpl: /data/misc/iorapd/com.google.android.apps.nexuslauncher/821/com.google.android.apps.nexuslauncher.NexusLauncherActivity/compiled_traces/compiled_trace.pb doesn't exist
04-05 14:25:11.886 14677  7909 E sb.v.u.LiteSuggestSourc: On-device lite suggest model loading error.
04-05 14:25:11.890   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.895 14677 14719 W ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
04-05 14:25:11.898   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:11.903 14677 14703 W LocationOracle: No location history returned by ContextManager
04-05 14:25:11.905   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.910   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:25:11.922   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.924   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:11.938   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.940   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:25:11.954 14677 14677 I BgTaskExecutorImpl: Starting EXCLUSIVE background task TNG_MINUS_ONE_SYNC.
04-05 14:25:11.955 14677 14708 E MDD     : DownloadProgressMonitor: Can't find file group for uri: android://com.google.android.googlequicksearchbox/files/sharedminusonemodule/shared/SharedMinusOneData.pb.tmp
04-05 14:25:11.956   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.957   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:11.962 14677 14719 I TngMinusOneSync: Syncing TNG:-1
04-05 14:25:11.971   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.973   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:25:11.989   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:11.991   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:12.005   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:12.007   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:25:12.021   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:12.023   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:12.038   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:12.039   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:25:12.055   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:12.057   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:12.072   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:12.073   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:25:12.090   306   306 W EmuHWC2 : validate: layer 332 CompositionType 1, fallback
04-05 14:25:12.091   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:25:12.105   327   327 E Layer   : [Surface(name=Task=1)/@0xba03dd4 - animation-leash#0] No local sync point found
04-05 14:25:12.105   327   327 E Layer   : [Surface(name=Task=1)/@0xba03dd4 - animation-leash#0] No local sync point found
04-05 14:25:12.105   327   327 E Layer   : [Surface(name=Task=159)/@0x3295925 - animation-leash#0] No local sync point found
04-05 14:25:12.105   327   327 E Layer   : [Surface(name=Task=159)/@0x3295925 - animation-leash#0] No local sync point found
04-05 14:25:12.109  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:25:12.113  1019  1019 D TaplEvents: Main / Touch event: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=822.9529, y[0]=1788.9038, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x1, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=38051596, downTime=38051596, deviceId=7, source=0x5002, displayId=0 }
04-05 14:25:12.312  1019  1019 D TaplEvents: Main / Touch event: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=822.9529, y[0]=0.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x1, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=38051796, downTime=38051596, deviceId=7, source=0x5002, displayId=0 }
04-05 14:25:12.422  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:25:12.422  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:25:12.423  7857  7857 D AutofillManager: onActivityFinishing(): calling cancelLocked()
04-05 14:25:12.431  7857  7857 I TSLocationManager: [c.t.l.s.TSScheduleManager cancelOneShot] 
04-05 14:25:12.431  7857  7857 I TSLocationManager:   ⏰ Cancel OneShot: TERMINATE_EVENT
04-05 14:25:12.439  7857  7857 E unknown:ReactNative: Tried to remove non-existent frame callback
04-05 14:25:12.466  7857  8045 I TSLocationManager: [c.t.l.l.TSLocationManager removeLocationUpdates] 
04-05 14:25:12.466  7857  8045 I TSLocationManager:   🔴  Location-services: OFF
04-05 14:25:12.468  7857  8045 I TSLocationManager: [c.t.l.s.ActivityRecognitionService stop] 
04-05 14:25:12.468  7857  8045 I TSLocationManager:   🔴  Stop motion-activity updates
04-05 14:25:12.468  7857  8045 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 
04-05 14:25:12.468  7857  8045 I TSLocationManager:   🔴  Stop heartbeat
04-05 14:25:12.470  7857  8045 I TSLocationManager: [c.t.l.p.TSProviderManager stopMonitoring] 
04-05 14:25:12.470  7857  8045 I TSLocationManager:   🔴  Stop monitoring location-provider changes
04-05 14:25:12.471  7857  8045 I TSLocationManager: [c.t.l.s.TSScheduleManager stop] 
04-05 14:25:12.471  7857  8045 I TSLocationManager:   🔴  Scheduler OFF
04-05 14:25:12.472  7857  8045 I TSLocationManager: [c.t.l.a.BackgroundGeolocation$l0 run] 
04-05 14:25:12.472  7857  8045 I TSLocationManager: ╔═════════════════════════════════════════════
04-05 14:25:12.472  7857  8045 I TSLocationManager: ║ MainActivity was destroyed
04-05 14:25:12.472  7857  8045 I TSLocationManager: ╠═════════════════════════════════════════════
04-05 14:25:12.472  7857  8045 I TSLocationManager: ╟─ stopOnTerminate: true
04-05 14:25:12.472  7857  8045 I TSLocationManager: ╟─ enabled: false
04-05 14:25:12.498  7857  7857 I TSLocationManager: [c.t.l.s.TSScheduleManager cancelOneShot] 
04-05 14:25:12.498  7857  7857 I TSLocationManager:   ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK
04-05 14:25:12.505  7857  7926 I ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_UI_HIDDEN) received by JS VM, ignoring because it's non-severe
04-05 14:25:12.690  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:25:12.690  1019  1019 I chatty  : uid=10152(com.google.android.apps.nexuslauncher) identical 2 lines
04-05 14:25:12.690  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:25:12.699   675   675 D InterruptionStateProvider: No bubble up: not allowed to bubble: 0|com.reactnativeproximitysdkexample|9942585|null|10183
04-05 14:25:12.699   675   675 D InterruptionStateProvider: No heads up: unimportant notification: 0|com.reactnativeproximitysdkexample|9942585|null|10183
04-05 14:25:12.723   675   675 V ShadeControllerImpl: NotificationShadeWindow: com.android.systemui.statusbar.phone.NotificationShadeWindowView{833cc4b I.E...... ......ID 0,0-1080,2280} canPanelBeCollapsed(): false
04-05 14:25:14.633   496  5664 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:25:15.154   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup4: Permission denied
04-05 14:25:15.148   213   213 W Binder:213_2: type=1400 audit(0.0:4307): avc: denied { read } for name="wakeup4" dev="sysfs" ino=16464 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:25:15.157   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup2: Permission denied
04-05 14:25:15.152   213   213 W Binder:213_2: type=1400 audit(0.0:4308): avc: denied { read } for name="wakeup2" dev="sysfs" ino=15902 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:25:15.162   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup5: Permission denied
04-05 14:25:15.156   213   213 W Binder:213_2: type=1400 audit(0.0:4310): avc: denied { read } for name="wakeup5" dev="sysfs" ino=16527 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:25:15.165   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup3: Permission denied
04-05 14:25:15.160   213   213 W Binder:213_2: type=1400 audit(0.0:4311): avc: denied { read } for name="wakeup3" dev="sysfs" ino=15952 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:25:15.166   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup1: Permission denied
04-05 14:25:15.167     0     0 W audit   : audit_lost=996 audit_rate_limit=5 audit_backlog_limit=64
04-05 14:25:15.167     0     0 E audit   : rate limit exceeded
04-05 14:25:16.645 12733 12733 I perfetto: probes_producer.cc:329  Producer stop (id=112)
04-05 14:25:16.645 12733 12733 I perfetto: ftrace_procfs.cc:183    disabled ftrace
04-05 14:25:16.647   343   343 I perfetto: ng_service_impl.cc:1948 Tracing session 111 ended, total sessions:0
04-05 14:25:16.645     0     0 W perfetto: disabled ftrace
04-05 14:25:16.856  1325  1398 I PeriodicStatsRunner: PeriodicStatsRunner.call():180 call()
04-05 14:25:16.857  1325  1398 I PeriodicStatsRunner: PeriodicStatsRunner.call():184 No submit PeriodicStats since input started.
04-05 14:25:17.556  7857  7874 W System  : A resource failed to call dispose. 
04-05 14:25:32.539   474   474 E netmgr  : qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:network' service: Invalid argument
04-05 14:25:32.540   474   474 E netmgr  : Failed to open QEMU pipe 'qemud:network': Invalid argument
04-05 14:25:34.007   476   476 E wifi_forwarder: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:wififorward' service: Invalid argument
04-05 14:25:34.007   476   476 E wifi_forwarder: RemoteConnection failed to initialize: RemoteConnection failed to open pipe
04-05 14:25:51.522   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup4: Permission denied
04-05 14:25:51.516   213   213 W Binder:213_2: type=1400 audit(0.0:4313): avc: denied { read } for name="wakeup4" dev="sysfs" ino=16464 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:25:51.523   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup2: Permission denied
04-05 14:25:51.524   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup0: Permission denied
04-05 14:25:51.516   213   213 W Binder:213_2: type=1400 audit(0.0:4314): avc: denied { read } for name="wakeup2" dev="sysfs" ino=15902 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:25:51.520   213   213 W Binder:213_2: type=1400 audit(0.0:4315): avc: denied { read } for name="wakeup0" dev="sysfs" ino=13341 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
Logs: Removing the application from the RAM in stopped state
04-05 14:31:12.667   322   322 I android.hardware.vibrator-service.example: Vibrator reporting capabilities
04-05 14:31:12.669   322   322 I android.hardware.vibrator-service.example: Vibrator off
04-05 14:31:12.670   322   322 I android.hardware.vibrator-service.example: Vibrator perform
04-05 14:31:12.671   322  8451 I android.hardware.vibrator-service.example: Starting perform on another thread
04-05 14:31:12.684   496  3199 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:31:12.685   496  5664 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:31:12.761  1019  1932 D TaplEvents: Main / onOverviewToggle
04-05 14:31:12.764   496   518 D AutofillManagerService: Close system dialogs
04-05 14:31:12.768   496   521 D EventSequenceValidator: inc AccIntentStartedEvents to 2
04-05 14:31:12.768   496  8221 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 pkg=com.google.android.apps.nexuslauncher cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity (has extras)} from uid 10152
04-05 14:31:12.771   322  8451 I android.hardware.vibrator-service.example: Notifying perform complete
04-05 14:31:12.772   322   322 I android.hardware.vibrator-service.example: Vibrator off
04-05 14:31:12.774   675   675 V ShadeControllerImpl: NotificationShadeWindow: com.android.systemui.statusbar.phone.NotificationShadeWindowView{833cc4b I.E...... ......ID 0,0-1080,2280} canPanelBeCollapsed(): false
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.775   496  8221 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.807   343   343 I perfetto: ing_service_impl.cc:758 Configured tracing session 114, #sources:1, duration:5000 ms, #buffers:1, total buffer size:4096 KB, total sessions:1, uid:1071 session name: ""
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.808   496  8221 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
04-05 14:31:12.809 12733 12733 I perfetto: probes_producer.cc:230  Ftrace setup (target_buf=114)
04-05 14:31:12.841   496  8221 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:31:12.847  1019  1019 D TaplTarget: Launcher.onNewIntent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10400000 pkg=com.google.android.apps.nexuslauncher cmp=com.google.android.apps.nexuslauncher/.NexusLauncherActivity (has extras) }
04-05 14:31:12.851  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:31:12.851  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:31:12.876   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f2510000 0x1f2e78000]
04-05 14:31:12.880     0     0 W perfetto: enabled ftrace
04-05 14:31:12.880 12733 12733 I perfetto: ftrace_procfs.cc:176    enabled ftrace
04-05 14:31:12.880   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f0000000 0x1f0968000]
04-05 14:31:12.881   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f4000000 0x1f4968000]
04-05 14:31:12.909   496  1965 W ActivityManager: Unable to start service Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } U=0: not found
04-05 14:31:12.909   496  1965 W RemoteAppPredictionService: could not bind to Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } using flags 67108865
04-05 14:31:12.912   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f377c000 0x1f3d80000]
04-05 14:31:12.934  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@d374641 mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=35]
04-05 14:31:12.935  1019  1019 I chatty  : uid=10152(com.google.android.apps.nexuslauncher) identical 2 lines
04-05 14:31:12.935  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@d374641 mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=35]
04-05 14:31:12.946   496   526 D ArtManagerInternalImpl: /data/misc/iorapd/com.google.android.apps.nexuslauncher/821/com.google.android.apps.nexuslauncher.NexusLauncherActivity/compiled_traces/compiled_trace.pb doesn't exist
04-05 14:31:12.948   496   521 D EventSequenceValidator: dec AccIntentStartedEvents to 1
04-05 14:31:12.952   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f65a4000 0x1f6f0c000]
04-05 14:31:12.954   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f6f0c000 0x1f7874000]
04-05 14:31:12.955   305   349 D goldfish-address-space: claimShared: Ask to claim region [0x1f52d0000 0x1f5c38000]
04-05 14:31:12.955   306   306 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:12.959   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:12.972   306   306 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:12.983   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:12.989  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:31:12.990   306   306 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:12.994   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:13.004   306   306 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.006   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:13.012 14677  7909 E sb.v.u.LiteSuggestSourc: On-device lite suggest model loading error.
04-05 14:31:13.016 14677 14719 W ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
04-05 14:31:13.020 14677 14708 W LocationOracle: No location history returned by ContextManager
04-05 14:31:13.021   306   306 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.023   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:13.038   306   306 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.041   306   306 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:13.055   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.058   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:13.066 14677 14677 I BgTaskExecutorImpl: Starting EXCLUSIVE background task TNG_MINUS_ONE_SYNC.
04-05 14:31:13.069 14677 14709 E MDD     : DownloadProgressMonitor: Can't find file group for uri: android://com.google.android.googlequicksearchbox/files/sharedminusonemodule/shared/SharedMinusOneData.pb.tmp
04-05 14:31:13.073   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.074 14677 14719 I TngMinusOneSync: Syncing TNG:-1
04-05 14:31:13.076   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:13.083   675   689 I ndroid.systemu: NativeAlloc concurrent copying GC freed 45643(2068KB) AllocSpace objects, 2(40KB) LOS objects, 49% free, 7980KB/15MB, paused 21us total 104.423ms
04-05 14:31:13.088   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.092   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:13.105   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.109   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:13.121   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.124   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:13.138   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.141   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:13.155   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.156   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde06020
04-05 14:31:13.173   306   372 W EmuHWC2 : validate: layer 342 CompositionType 1, fallback
04-05 14:31:13.176   306   372 W EmuHWC2 : No layers, exit, buffer 0xb400007ddde07cd0
04-05 14:31:13.188   327   327 E Layer   : [Surface(name=Task=1)/@0xba03dd4 - animation-leash#0] No local sync point found
04-05 14:31:13.188   327   327 E Layer   : [Surface(name=Task=1)/@0xba03dd4 - animation-leash#0] No local sync point found
04-05 14:31:13.188   327   327 E Layer   : [Surface(name=Task=161)/@0xf619414 - animation-leash#0] No local sync point found
04-05 14:31:13.188   327   327 E Layer   : [Surface(name=Task=161)/@0xf619414 - animation-leash#0] No local sync point found
04-05 14:31:13.194  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:31:13.205  7857  7926 I ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_UI_HIDDEN) received by JS VM, ignoring because it's non-severe
04-05 14:31:13.241  1129  1147 I .gms.persisten: Background concurrent copying GC freed 340823(15MB) AllocSpace objects, 1(152KB) LOS objects, 49% free, 9864KB/19MB, paused 39us total 107.257ms
04-05 14:31:13.341  1019  1019 D TaplEvents: Main / Touch event: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=784.9512, y[0]=1332.9456, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x1, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=38412825, downTime=38412825, deviceId=7, source=0x5002, displayId=0 }
04-05 14:31:13.524  1019  1019 D TaplEvents: Main / Touch event: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=847.96875, y[0]=0.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x1, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=38413008, downTime=38412825, deviceId=7, source=0x5002, displayId=0 }
04-05 14:31:13.559   496   526 I UsageStatsService: User[0] Flushing usage stats to disk
04-05 14:31:13.639  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:31:13.639  1019  1019 I AiAiSuggestUi: Clearing suggestions.
04-05 14:31:13.640  7857  7857 D AutofillManager: onActivityFinishing(): calling cancelLocked()
04-05 14:31:13.643   496   521 I ActivityManager: Killing 7857:com.reactnativeproximitysdkexample/u0a183 (adj 905): remove task
04-05 14:31:13.672   496  5950 I WindowManager: WIN DEATH: Window{76be06f u0 com.reactnativeproximitysdkexample/com.reactnativeproximitysdkexample.MainActivity}
04-05 14:31:13.672   496  5950 W InputDispatcher: Attempted to unregister already unregistered input channel '76be06f com.reactnativeproximitysdkexample/com.reactnativeproximitysdkexample.MainActivity (server)'
04-05 14:31:13.673   291   291 I Zygote  : Process 7857 exited due to signal 9 (Killed)
04-05 14:31:13.672   213   213 W Binder:213_2: type=1400 audit(0.0:4385): avc: denied { read } for name="wakeup4" dev="sysfs" ino=16464 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:31:13.675   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup4: Permission denied
04-05 14:31:13.676   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup2: Permission denied
04-05 14:31:13.672   213   213 W Binder:213_2: type=1400 audit(0.0:4386): avc: denied { read } for name="wakeup2" dev="sysfs" ino=15902 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:31:13.676   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup0: Permission denied
04-05 14:31:13.672   213   213 W Binder:213_2: type=1400 audit(0.0:4387): avc: denied { read } for name="wakeup0" dev="sysfs" ino=13341 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:31:13.677   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup5: Permission denied
04-05 14:31:13.672   213   213 W Binder:213_2: type=1400 audit(0.0:4388): avc: denied { read } for name="wakeup5" dev="sysfs" ino=16527 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
04-05 14:31:13.678   213   217 E [email protected]: Error opening kernel wakelock stats for: wakeup1: Permission denied
04-05 14:31:13.678     0     0 W audit   : audit_lost=1009 audit_rate_limit=5 audit_backlog_limit=64
04-05 14:31:13.678     0     0 E audit   : rate limit exceeded
04-05 14:31:13.680   496   521 W ActivityManager: setHasOverlayUi called on unknown pid: 7857
04-05 14:31:13.688   496   529 I libprocessgroup: Successfully killed process cgroup uid 10183 pid 7857 in 43ms
04-05 14:31:13.907  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:31:13.907  1019  1019 I chatty  : uid=10152(com.google.android.apps.nexuslauncher) identical 2 lines
04-05 14:31:13.907  1019  1019 D RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@7f9ca6f mOrientationHandler=PortraitPagedViewHandler@1e3337c mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=false mSystemRotation=false mFlags=291]
04-05 14:31:13.908   496  3199 D WifiNl80211Manager: Scan result ready event
04-05 14:31:13.908   496  3199 D WifiNative: Scan result ready event
04-05 14:31:15.811   496  3199 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
04-05 14:31:17.817 12733 12733 I perfetto: probes_producer.cc:329  Producer stop (id=115)
04-05 14:31:17.818     0     0 W perfetto: disabled ftrace
04-05 14:31:17.817 12733 12733 I perfetto: ftrace_procfs.cc:183    disabled ftrace
04-05 14:31:17.824   343   343 I perfetto: ng_service_impl.cc:1948 Tracing session 114 ended, total sessions:0
04-05 14:31:18.035  1325  1398 I PeriodicStatsRunner: PeriodicStatsRunner.call():180 call()
04-05 14:31:18.036  1325  1398 I PeriodicStatsRunner: PeriodicStatsRunner.call():184 No submit PeriodicStats since input started.

GuptaAman08 avatar Apr 17 '23 10:04 GuptaAman08

What do mean by "Removed from RAM"? Terminating the app by swiping via app switcher or Settings "Force stop"?

Screenshot_20230417-094458

christocracy avatar Apr 17 '23 13:04 christocracy

I do not see anything unusual from your logs referencing the plugin com.transistorsoft.*

When I place my Demo App into the tracking state (.changePace(true)) then terminate the app, I see the following logs and the plugin terminates correctly.

04-17 09:55:58.440 13154 13154 D TSLocationManager: [c.t.l.a.BackgroundGeolocation b]
04-17 09:55:58.440 13154 13154 D TSLocationManager:   🔴  Cleared callbacks
04-17 09:55:58.442 13154 13154 I TSLocationManager: [c.t.l.s.TSScheduleManager cancelOneShot]
04-17 09:55:58.442 13154 13154 I TSLocationManager:   ⏰ Cancel OneShot: TERMINATE_EVENT
04-17 09:55:58.448 13154 13154 D TSLocationManager: [c.t.l.l.LifecycleManager a]
04-17 09:55:58.448 13154 13154 D TSLocationManager: ╔═════════════════════════════════════════════
04-17 09:55:58.448 13154 13154 D TSLocationManager: ║ â˜¯ī¸  HeadlessMode? true
04-17 09:55:58.448 13154 13154 D TSLocationManager: ╠═════════════════════════════════════════════
04-17 09:55:58.457 13154 13154 D TSLocationManager: [c.t.r.HeadlessTask onHeadlessEvent] 💀  event: terminate
04-17 09:55:58.459 13154 13154 D TSLocationManager: [c.t.r.HeadlessTask$2 onHeadlessJsTaskStart] taskId: 6
04-17 09:55:58.460 13154 13154 D TSLocationManager: [c.t.l.a.BackgroundGeolocation b]
04-17 09:55:58.460 13154 13154 D TSLocationManager:   🔴  Cleared callbacks
04-17 09:55:58.465 13154 12641 I TSLocationManager: [c.t.l.s.TSScheduleManager cancelOneShot]
04-17 09:55:58.465 13154 12641 I TSLocationManager:   ⏰ Cancel OneShot: STOP_TIMEOUT
04-17 09:55:58.468 13154 12641 D TSLocationManager: [c.t.l.adapter.TSConfig d] â„šī¸   Persist config, dirty: [isMoving]
04-17 09:55:58.477 13154 12641 I TSLocationManager: [c.t.l.l.TSLocationManager removeLocationUpdates]
04-17 09:55:58.477 13154 12641 I TSLocationManager:   🔴  Location-services: OFF
04-17 09:55:58.480 13154 12641 D TSLocationManager: [c.t.l.l.TSLocationManager clearLastOdometerLocation]
04-17 09:55:58.480 13154 12641 D TSLocationManager:   â„šī¸  Clear last odometer location
04-17 09:55:58.480 13154 12641 I TSLocationManager: [c.t.l.s.ActivityRecognitionService stop]
04-17 09:55:58.480 13154 12641 I TSLocationManager:   🔴  Stop motion-activity updates
04-17 09:55:58.481 13154 12693 D TSLocationManager: [c.t.l.g.TSGeofenceManager d] â„šī¸  Persist monitored geofences: []
04-17 09:55:58.481 13154 12641 I TSLocationManager: [c.t.l.service.HeartbeatService stop]
04-17 09:55:58.481 13154 12641 I TSLocationManager:   🔴  Stop heartbeat
04-17 09:55:58.481 13154 12693 D TSLocationManager: [c.t.l.g.TSGeofenceManager f]
04-17 09:55:58.481 13154 12693 D TSLocationManager:   🔴  Stop monitoring geofences
04-17 09:55:58.482 13154 12641 D TSLocationManager: [c.t.l.http.HttpService stopMonitoringConnectivityChanges]
04-17 09:55:58.482 13154 12641 D TSLocationManager:   🔴  Stop monitoring connectivity changes
04-17 09:55:58.483 13154 12641 D TSLocationManager: [c.t.l.device.DeviceSettings stopMonitoringPowerSaveChanges]
04-17 09:55:58.483 13154 12641 D TSLocationManager:   🔴  Stop monitoring powersave changes
04-17 09:55:58.484 13154 12641 I TSLocationManager: [c.t.l.p.TSProviderManager stopMonitoring]
04-17 09:55:58.484 13154 12641 I TSLocationManager:   🔴  Stop monitoring location-provider changes
04-17 09:55:58.484 13154 12641 I TSLocationManager: [c.t.l.s.TSScheduleManager stop]
04-17 09:55:58.484 13154 12641 I TSLocationManager:   🔴  Scheduler OFF
04-17 09:55:58.491 13154 12641 I TSLocationManager: [c.t.l.a.BackgroundGeolocation$l0 run]
04-17 09:55:58.491 13154 12641 I TSLocationManager: ╔═════════════════════════════════════════════
04-17 09:55:58.491 13154 12641 I TSLocationManager: ║ MainActivity was destroyed
04-17 09:55:58.491 13154 12641 I TSLocationManager: ╠═════════════════════════════════════════════
04-17 09:55:58.491 13154 12641 I TSLocationManager: ╟─ stopOnTerminate: true
04-17 09:55:58.491 13154 12641 I TSLocationManager: ╟─ enabled: false
04-17 09:55:58.501 13154 13218 I ReactNativeJS: '[BackgroundGeolocation HeadlessTask] -', 'terminate', { didDeviceReboot: false,

christocracy avatar Apr 17 '23 14:04 christocracy

What do mean by "Removed from RAM"? Terminating the app by swiping via app switcher or Settings "Force stop"?

By using the swipe up/left/right OR clear all option for removing the application from RAM . Also, did you tried with the same config which i had mentioned in the issue ??

GuptaAman08 avatar Apr 19 '23 06:04 GuptaAman08

Create for me a simple HelloWorld app in a public GitHub repo which reproduces the problem.

christocracy avatar Apr 19 '23 10:04 christocracy

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 21 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jun 04 '24 01:06 github-actions[bot]