transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.62k stars 428 forks source link

Android headless mode not working / crashing #1637

Closed talal-tilted closed 3 months ago

talal-tilted commented 1 year ago

Your Environment

Expected Behavior

The tracking should continue when app is killed and registered task should always get executed

Actual Behavior

When user kills the app, sometime it passes though the registered task function and i get some event like 'connectivityChange' and 'terminate' but after 5/10 seconds, it crashes and no event are triggered anymore. The crash error is explicit but cannot figure out why. Sometime it does not even enter the registered task function.

Steps to Reproduce

  1. Open the app, start tracking after initialization is done
  2. Kill the app

Context

The goal is to keep tracking location when the app is killed, working fine on ios but not on android.

Debug logs

Logs when registered tasks is executed and crashes In comment because of the limite i could not add them in the issue
talal-tilted commented 1 year ago
2023-02-03 20:05:09.593  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetProcessCommand subCmd = 352, userId=10269, pid=7138, com.stsgeoloc
2023-02-03 20:05:11.543  7138-7250  TSLocationManager       com.stsgeoloc                        I  [c.t.l.scheduler.ScheduleEvent onOneShot] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ ⏰ OneShot event fired: TERMINATE_EVENT
                                                                                                    ╠═════════════════════════════════════════════
2023-02-03 20:05:11.544  7138-7250  TSLocationManager       com.stsgeoloc                        D  [c.t.l.event.TerminateEvent$a a] 
                                                                                                      ℹ️  TERMINATE_EVENT ignored (MainActivity is still active).
2023-02-03 20:05:11.568  7138-7138  HwViewRootImpl          com.stsgeoloc                        I  removeInvalidNode all the node in jank list is out of time
2023-02-03 20:06:13.057  7138-7138  HwViewRootImpl          com.stsgeoloc                        I  removeInvalidNode all the node in jank list is out of time
2023-02-03 20:07:03.476  7138-7260  AudioManager            com.stsgeoloc                        V  querySoundEffectsEnabled...
2023-02-03 20:07:03.478  7138-7260  TSLocationManager       com.stsgeoloc                        D  [c.t.locationmanager.util.c g] 
                                                                                                      ℹ️  LocationAuthorization: Permission granted
2023-02-03 20:07:03.480  7138-7544  TSLocationManager       com.stsgeoloc                        I  - Enable: false → true, trackingMode: 1
2023-02-03 20:07:03.483  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.l.http.HttpService startMonitoringConnectivityChanges] 
                                                                                                      🎾  Start monitoring connectivity changes
2023-02-03 20:07:03.483  7138-7544  HwCustConn...anagerImpl com.stsgeoloc                        D  isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID
2023-02-03 20:07:03.484  1705-3538  ConnectivityService     pid-1705                             I  listenForNetwork for uid/pid:10269/7138 NetworkRequest [ LISTEN id=2887, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ]
2023-02-03 20:07:03.485  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 
                                                                                                      🎾  Start monitoring powersave changes
2023-02-03 20:07:03.487  7138-7205  Settings                com.stsgeoloc                        W  Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
2023-02-03 20:07:03.489  7138-7205  TSLocationManager       com.stsgeoloc                        D  [c.t.l.http.HttpService a] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ 📶  Connectivity change: connected? true
                                                                                                    ╠═════════════════════════════════════════════
2023-02-03 20:07:03.491  7138-7544  TSLocationManager       com.stsgeoloc                        I  [c.t.l.service.HeartbeatService stop] 
                                                                                                      🔴  Stop heartbeat
2023-02-03 20:07:03.493  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.locationmanager.util.c h] 
                                                                                                      ℹ️  LocationAuthorization: Permission granted
2023-02-03 20:07:03.493  7138-7544  TSLocationManager       com.stsgeoloc                        I  [c.t.l.service.TrackingService changePace] 
                                                                                                      🔵  setPace: false → false
2023-02-03 20:07:03.512  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:03.513  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:03.514  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService start] 
                                                                                                      🎾  LocationRequestService [eventCount: 1]
2023-02-03 20:07:03.516  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:03.517  7138-7544  TSLocationManager       com.stsgeoloc                        I  [c.t.l.l.SingleLocationRequest startUpdatingLocation] 
                                                                                                      🔵  [SingleLocationRequest start, action: 1, requestId: 2]
2023-02-03 20:07:03.517  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:03.518  7138-7544  TSLocationManager       com.stsgeoloc                        I  [c.t.l.s.ActivityRecognitionService start] 
                                                                                                      🎾  Start motion-activity updates
2023-02-03 20:07:03.519  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService finish] ⚙️︎  finish LocationRequestService [eventCount: 0, sticky: true]
2023-02-03 20:07:03.553  1705-16004 ProcBatteryStats        pid-1705                             W  timer is running , not start, name: com.stsgeoloc, uid: 10269, tag: NlpWakeLock
2023-02-03 20:07:03.688  1705-1955  SWAP_SCENE              pid-1705                             I  Entering notifySceneData notifySceneData. EventType:SWITCH_TO_FOREGROUND para:com.stsgeoloc
2023-02-03 20:07:03.688  1705-1955  ActivityTaskManager     pid-1705                             I  START u0 {act=locationsettings flg=0x10000000 hwFlg=0x10 cmp=com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity} from uid 10269
2023-02-03 20:07:03.689  1705-1955  ActivityTaskManager     pid-1705                             D  TaskLaunchParamsModifier:task=null activity=ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity task-display-area=DefaultTaskDisplayArea@233945144 display-area-windowing-mode=1
2023-02-03 20:07:03.690  1705-1955  ActivityTaskManager     pid-1705                             D  TaskLaunchParamsModifier:task=null activity=ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t-1} task-display-area=DefaultTaskDisplayArea@233945144 display-area-windowing-mode=1 non-freeform-display
2023-02-03 20:07:03.694  1705-1955  ActivityTaskManager     pid-1705                             D  TaskLaunchParamsModifier:task=Task{b331cbe #581 visible=false type=standard mode=fullscreen translucent=true A=10269:com.stsgeoloc U=0 StackId=581 sz=0} activity=ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t-1} display-from-task=0 task-display-area=DefaultTaskDisplayArea@233945144 display-area-windowing-mode=1 non-freeform-display
2023-02-03 20:07:03.695  1705-1955  WindowManager           pid-1705                             I  addWindowToken: displayid:0 binder:Token{750bbc3 ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t-1}} token:ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t-1}
2023-02-03 20:07:03.699  1705-2060  HwAudioServiceEx        pid-1705                             I  ComponentInfo : className = com.stsgeoloc.MainActivity, flag = onPause, isHomeActivity = , isTop = false
2023-02-03 20:07:03.699  3242-3326  DollieActi...gerAdapter pid-3242                             D  [Paused] pid:7138 uid:10269 ComponentInfo{com.stsgeoloc/com.stsgeoloc.MainActivity} uidState:2
2023-02-03 20:07:03.717  7138-7138  TSLocationManager       com.stsgeoloc                        I  [c.t.l.s.TSScheduleManager oneShot] 
                                                                                                      ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
2023-02-03 20:07:03.718  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetProcessCommand subCmd = 350, userId=10269, pid=7138, com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:03.719  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetSendPrereadMsg com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:03.719  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetStart com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity in monitor0
2023-02-03 20:07:03.726  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753212549
2023-02-03 20:07:03.726  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc add Notification persist:true now Ids:[9942585]
2023-02-03 20:07:03.730  1705-1955  ActivityTaskManager     pid-1705                             I  Making visible and scheduling visibility: ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581}
2023-02-03 20:07:03.733  1705-1955  WindowManager           pid-1705                             I  Changing focus from Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity} to nullmode 0 displayId=0
2023-02-03 20:07:03.738  7138-7138  HwViewRootImpl          com.stsgeoloc                        I  removeInvalidNode all the node in jank list is out of time
2023-02-03 20:07:03.741  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451223513, when=1675451223504,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:03.741  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451223517, when=1675451223510,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:03.752  7138-7138  ActivityThread          com.stsgeoloc                        V  callActivityOnCreate
2023-02-03 20:07:03.757  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.a.TSLocationManagerActivity execute] locationsettings
2023-02-03 20:07:03.757  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 1000
2023-02-03 20:07:03.765  7138-7138  DecorView[]             com.stsgeoloc                        I   old windowMode:0 new windoMode:1
2023-02-03 20:07:03.768  1705-20594 InputDispatcher         pid-1705                             I  Focus left window: Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity} in display 0
2023-02-03 20:07:03.770  7138-7138  ActivityThread          com.stsgeoloc                        D  add activity client record, r= ActivityRecord{6b93473 token=android.os.BinderProxy@39c3001 {com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}} token= android.os.BinderProxy@39c3001
2023-02-03 20:07:03.788  7138-7138  InputEventReceiver      com.stsgeoloc                        D  dispatchInputInterval 0
2023-02-03 20:07:03.792  3242-3326  DollieActi...gerAdapter pid-3242                             D  [Resumed] bg:false pid:7138 uid:10269 ComponentInfo{com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}
2023-02-03 20:07:03.793  3242-3326  DollieAdapterService    pid-3242                             E  notifyActivityState pkg:com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity state:2 fg:true mUid:10269
2023-02-03 20:07:03.793  3242-3326  NetworkQoe              pid-3242                             I  onAppStateChanged: mForeAppUid=10269, packageName:com.stsgeoloc
2023-02-03 20:07:03.794  7138-7560  HiTouch_HiTouchSensor   com.stsgeoloc                        W  depended package hiTouch does n't exist!
2023-02-03 20:07:03.794  7138-7560  HiTouch_HiTouchSensor   com.stsgeoloc                        I  HiTouch restricted: system app HiTouch don't exist.
2023-02-03 20:07:03.795  7138-7560  HiTouch_Pr...reDetector com.stsgeoloc                        D  onAttached, package=com.stsgeoloc, windowType=1, mHiTouchRestricted=true
2023-02-03 20:07:03.799  2905-2905  ScrollLayout2           pid-2905                             I  addContainerView StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:03.799  1705-20594 WindowManager           pid-1705                             I  Changing focus from null to Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}mode 0 displayId=0
2023-02-03 20:07:03.802  1705-2003  StatusBarDisable        pid-1705                             I  setFlags what=0 which=1 pkg=Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}
2023-02-03 20:07:03.803  1705-20594 WindowManager           pid-1705                             W  force to relayout later when size is 1*1 for:Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}
2023-02-03 20:07:03.811  1705-2007  HwWindowMa...rServiceEx pid-1705                             D  is app exit to launcher info: transit = 24, app = ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581}, window = Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}, mClosingApps = {}, topOpeningApp = ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581}, mExitIconBitmap = android.graphics.Bitmap@13f7eb3, mExitIconHeight = 186, mExitIconWidth = 186
2023-02-03 20:07:03.812  1705-2007  FixedRotat...onListener pid-1705                             I  onAppTransitionFinishedLocked ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581}
2023-02-03 20:07:03.816  1705-2074  ActivityTaskManager     pid-1705                             I  Displayed com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity: +124ms
2023-02-03 20:07:03.819  1705-16004 InputDispatcher         pid-1705                             I  Focus entered window: Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity} in display 0
2023-02-03 20:07:03.824  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0
2023-02-03 20:07:03.813  1705-2007  FixedRotat...onListener pid-1705                             I  onAppTransitionFinishedLocked ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581}
2023-02-03 20:07:03.826  1705-16004 WindowManager           pid-1705                             I  Changing focus from Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity} to Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity}mode 3 displayId=0
2023-02-03 20:07:03.829  1705-2003  StatusBarDisable        pid-1705                             I  setFlags what=0 which=1 pkg=Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity}
2023-02-03 20:07:03.844  7138-7138  DecorView               com.stsgeoloc                        D  showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
2023-02-03 20:07:03.847  3242-3326  DollieActi...gerAdapter pid-3242                             D  [Paused] pid:7138 uid:10269 ComponentInfo{com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity} uidState:2
2023-02-03 20:07:03.849  2905-8567  TaskStackListener       pid-2905                             D  destory snapshot binder pid 0 myPid 2905 snapshot TaskSnapshot{ mId=1675451223830 mTopActivityComponent=com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity mSnapshot=android.graphics.GraphicBuffer@fff5577 (1080x2388) mColorSpace=sRGB IEC61966-2.1 (id=0, model=RGB) mOrientation=1 mRotation=0 mTaskSize=Point(1080, 2388) mContentInsets=[0,0][0,0] mIsLowResolution=false mIsRealSnapshot=true mWindowingMode=1 mSystemUiVisibility=0 mIsTranslucent=true mIsSnapShotWithIme=false
2023-02-03 20:07:03.849  1705-2006  HwWindowMa...rServiceEx pid-1705                             I  com.stsgeoloc blur level: -1
2023-02-03 20:07:03.853  1705-16004 InputDispatcher         pid-1705                             I  Focus left window: Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity} in display 0
2023-02-03 20:07:03.853  1705-16004 InputDispatcher         pid-1705                             I  Focus entered window: Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity} in display 0
2023-02-03 20:07:03.855  1705-3538  WindowManager           pid-1705                             W  force to relayout later when size is 1*1 for:Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}
2023-02-03 20:07:03.863  7138-7138  DecorView               com.stsgeoloc                        D  showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
2023-02-03 20:07:03.877  1705-16004 HwWindowMa...rServiceEx pid-1705                             D  is app exit to launcher info: transit = 25, app = ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581 f}}, window = Window{df442ed u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}, mClosingApps = {ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581 f}}}, topOpeningApp = ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}, mExitIconBitmap = android.graphics.Bitmap@13f7eb3, mExitIconHeight = 186, mExitIconWidth = 186
2023-02-03 20:07:03.890  7138-7138  DecorView               com.stsgeoloc                        D  showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
2023-02-03 20:07:03.891  7138-7138  InputMethodManager      com.stsgeoloc                        W  startInputReason = 1
2023-02-03 20:07:03.897  7138-7138  ActivityThread          com.stsgeoloc                        D  Won't deliver top position change in state=4
2023-02-03 20:07:03.898 25226-25226 GoogleInpu...hodService pid-25226                            I  GoogleInputMethodService.onStartInput():1877 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.stsgeoloc fieldId=-1 fieldName=null extras=null}, false)
2023-02-03 20:07:03.900  7138-7138  SensorManager           com.stsgeoloc                        D  0xb400007b77aca710 addFd fd=165
2023-02-03 20:07:03.902  1705-11765 SensorService           pid-1705                             I  enableSensor handle:11, packageName:com.facebook.react.common.ShakeDetector, opPackageName:com.stsgeoloc , rate=66667000
2023-02-03 20:07:03.909  1705-2060  HwAudioServiceEx        pid-1705                             I  ComponentInfo : className = com.stsgeoloc.MainActivity, flag = onResume, isHomeActivity = , isTop = true
2023-02-03 20:07:03.911  3242-3326  DollieActi...gerAdapter pid-3242                             D  [Resumed] bg:false pid:7138 uid:10269 ComponentInfo{com.stsgeoloc/com.stsgeoloc.MainActivity}
2023-02-03 20:07:03.911  3242-3326  DollieAdapterService    pid-3242                             E  notifyActivityState pkg:com.stsgeoloc/com.stsgeoloc.MainActivity state:2 fg:true mUid:10269
2023-02-03 20:07:03.911  3242-3326  NetworkQoe              pid-3242                             I  onAppStateChanged: mForeAppUid=10269, packageName:com.stsgeoloc
2023-02-03 20:07:03.911  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.a.TSLocationManagerActivity onDestroy] 
2023-02-03 20:07:03.912  7138-7138  ActivityThread          com.stsgeoloc                        D  Remove activity client record, r= ActivityRecord{6b93473 token=android.os.BinderProxy@39c3001 {com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity}} token= android.os.BinderProxy@39c3001
2023-02-03 20:07:03.912  7138-7138  ViewRootImpl            com.stsgeoloc                        I  dispatchDetachedFromWindow in doDie
2023-02-03 20:07:03.913  3242-24392 Hicom_Monitor           pid-3242                             I  mActivityNotifierEx, className = com.stsgeoloc.MainActivity
2023-02-03 20:07:03.913  3242-24392 Hicom_Monitor           pid-3242                             I  notifyForegroundAppActivityChanged: className:com.stsgeoloc.MainActivity
2023-02-03 20:07:03.924  1705-1955  WindowManager           pid-1705                             I  removeWindowToken: displayid:0 binder:Token{750bbc3 ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581 f}}} token:ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581 f}}
2023-02-03 20:07:03.937  1705-1955  ActivityTaskManager     pid-1705                             V  Activity idle: ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}
2023-02-03 20:07:03.938  1705-1955  SWAP_SCENE              pid-1705                             I  Entering notifySceneData notifySceneData. EventType:SWITCH_TO_FOREGROUND para:com.stsgeoloc
2023-02-03 20:07:04.013  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetProcessCommand subCmd = 351, userId=10269, pid=7138, com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:04.013  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetPause com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:04.190  1705-2007  FixedRotat...onListener pid-1705                             I  onAppTransitionFinishedLocked ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}
2023-02-03 20:07:04.202  1705-2007  WindowManager           pid-1705                             I  removeWindowToken: displayid:0 binder:Token{750bbc3 ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t581 f}}} token:null
2023-02-03 20:07:04.202  1705-2007  WindowManager           pid-1705                             I  removeWindowToken: displayid:0 binder:Token{750bbc3 ActivityRecord{c526779 u0 com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity t-1 f}}} token:null
2023-02-03 20:07:04.792  1705-2409  ActivityManager         pid-1705                             I  sendIntentSender target:PendingIntentRecord{6d56f93 com.stsgeoloc startForegroundService}, intent:hwFlg=0x10
2023-02-03 20:07:04.807  1705-2409  ProcBatteryStats        pid-1705                             W  timer is not running , not stop, name: com.stsgeoloc, uid: 10269, tag: NlpWakeLock
2023-02-03 20:07:04.814  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:04.815  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:04.815  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService start] 
                                                                                                      🎾  LocationRequestService [eventCount: 1]
2023-02-03 20:07:04.818  7138-7544  TSLocationManager       com.stsgeoloc                        I  [c.t.l.s.LocationRequestService handleLocationResult] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ motionchange LocationResult: 2
                                                                                                    ╠═════════════════════════════════════════════
                                                                                                    ╟─ 📍  Location[fused 49******,2****** hAcc=18 et=+8d17h13m32s435ms alt=129.39999389648438 vAcc=2 sAcc=??? bAcc=??? {Bundle[{}]}], age: 1205ms, time: 1675451223611
2023-02-03 20:07:04.830  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:04.830  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService finish] ⚙️︎  finish LocationRequestService [eventCount: 0, sticky: false]
2023-02-03 20:07:04.831  7138-7544  TSLocationManager       com.stsgeoloc                        I  [c.t.l.l.TSLocationManager onSingleLocationResult] 
                                                                                                      🔵  Acquired motionchange position, isMoving: false
2023-02-03 20:07:04.831  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:04.832  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 18.9615
2023-02-03 20:07:04.834  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService onDestroy] 
                                                                                                      🔴  LocationRequestService stopped
2023-02-03 20:07:04.834  3435-3921  PassThroughStats        pid-3435                             I  pkg=com.stsgeoloc service=com.stsgeoloc/com.transistorsoft.locationmanager.service.LocationRequestService type=8 fg_duration=1322 bg_duration=0
2023-02-03 20:07:04.834  3435-3921  AppBgModeMgr            pid-3435                             I  pkg:com.stsgeoloc fgService:com.stsgeoloc/com.transistorsoft.locationmanager.service.LocationRequestService serviceType:8 stop, runningTime:1322 bgRunningTime:0
2023-02-03 20:07:04.843  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  Pid:7138 MediaPlayer constructor MediaPlayer(0xb400007be7bdc4b0)
2023-02-03 20:07:04.844  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  setListener
2023-02-03 20:07:04.850  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  MediaPlayer::setParameter(1400)
2023-02-03 20:07:04.850  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  MediaPlayer::setAudioSessionId(5073)
2023-02-03 20:07:04.851  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  setDataSource(91, 59773812, 52280)
2023-02-03 20:07:04.851  7138-7544  IMediaDeathNotifier     com.stsgeoloc                        I  getMediaPlayerService
2023-02-03 20:07:04.866  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  setVideoSurfaceTexture
2023-02-03 20:07:04.866  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  prepare
2023-02-03 20:07:04.866  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  prepareAsync_l
2023-02-03 20:07:04.868  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  prepare MediaPlayer(0xb400007be7bdc4b0)
2023-02-03 20:07:04.880  7138-7170  MediaPlayerNative       com.stsgeoloc                        I  message received msg=1, ext1=0, ext2=0
2023-02-03 20:07:04.880  7138-7170  MediaPlayerNative       com.stsgeoloc                        D  Message: MEDIA_PREPARED(1), ext1=0, ext2=0x0
2023-02-03 20:07:04.880  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  prepare complete - status=0 MediaPlayer(0xb400007be7bdc4b0)
2023-02-03 20:07:04.882  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  invoke 76
2023-02-03 20:07:04.883  7138-7544  PlayerBase              com.stsgeoloc                        V  baseStart() piid=2103
2023-02-03 20:07:04.883  7138-7544  MediaPlayer             com.stsgeoloc                        I  [HSM] stayAwake true uid: 10269, pid: 7138
2023-02-03 20:07:04.884   981-20059 AudioFlinger            pid-981                              D  setParameters(): io 0, keyvalue PLAYING_APP_NAME=[com.stsgeoloc], calling pid 1705 calling uid 1000
2023-02-03 20:07:04.884  7138-7544  MediaPlayerNative       com.stsgeoloc                        I  start
2023-02-03 20:07:04.885  7138-7544  MediaPlayerNative       com.stsgeoloc                        W  Action:start, CurrentState:MEDIA_PLAYER_STARTED
2023-02-03 20:07:04.885   894-1725  audio_hw_primary        pid-894                              I  adev_set_parameters: enter: PLAYING_APP_NAME=[com.stsgeoloc]
2023-02-03 20:07:04.885   894-1725  msm8974_platform        pid-894                              V  platform_set_parameters: enter: PLAYING_APP_NAME=[com.stsgeoloc]
2023-02-03 20:07:04.888  7138-7138  MediaPlayerNative       com.stsgeoloc                        I  invoke 76
2023-02-03 20:07:04.892  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true
2023-02-03 20:07:04.892  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 
                                                                                                      🎾  Start monitoring stationary region (radius: 500.0m 49.0624805,2.0935753 hAcc=17.846)
2023-02-03 20:07:04.893  7138-7544  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService finish] ⚙️︎  finish LocationRequestService [eventCount: 0, sticky: false]
2023-02-03 20:07:04.895  7138-7573  TSLocationManager       com.stsgeoloc                        I  [c.t.l.data.sqlite.b persist] 
                                                                                                      ✅  INSERT: b10b5041-7d19-423b-9a20-2fbb7a4f5014
2023-02-03 20:07:04.915  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:04.916  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:04.923  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:04.923  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:04.923  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService start] 
                                                                                                      🎾  TrackingService [eventCount: 1]
2023-02-03 20:07:04.924  7138-7138  TSLocationManager       com.stsgeoloc                        I  [c.t.l.service.TrackingService handleMotionChangeResult] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ TrackingService motionchange: false
                                                                                                    ╠═════════════════════════════════════════════
2023-02-03 20:07:04.928  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService finish] ⚙️︎  finish TrackingService [eventCount: 0, sticky: false]
2023-02-03 20:07:04.936  3435-3921  DeviceStateService      pid-3435                             I  app: com.stsgeoloc pid: 1323 start mediacodec.
2023-02-03 20:07:04.961  7138-7170  MediaPlayerNative       com.stsgeoloc                        I  message received msg=6, ext1=0, ext2=0
2023-02-03 20:07:04.961  7138-7170  MediaPlayerNative       com.stsgeoloc                        D  Message: Unknown MediaEventType(6), ext1=0, ext2=0x0
2023-02-03 20:07:04.973  7138-7138  MediaPlayerNative       com.stsgeoloc                        I  isPlaying: 1
2023-02-03 20:07:05.020  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451224815, when=1675451224808,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:05.027  2905-2905  Interrupti...teProvider pid-2905                             I  No heads up: unimportant notification: 0|com.stsgeoloc|9942585|null|10269
2023-02-03 20:07:05.039  1705-1705  NotificationService     pid-1705                             I  cancelNotificationLocked called,tell the app,reason = 8,sbn key = 0|com.stsgeoloc|9942585|null|10269
2023-02-03 20:07:05.046  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451224831, when=1675451224824,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:05.047  2905-2905  NotificationListener    pid-2905                             I  onNotificationRemoved: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:05.048  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753213871
2023-02-03 20:07:05.048  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:[]
2023-02-03 20:07:05.049  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753213872
2023-02-03 20:07:05.049  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:05.049  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753213873
2023-02-03 20:07:05.049  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:05.051  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753213874
2023-02-03 20:07:05.051  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:05.053  2905-2905  Interrupti...teProvider pid-2905                             I  No heads up: unimportant notification: 0|com.stsgeoloc|9942585|null|10269
2023-02-03 20:07:05.058  2905-2905  ScrollLayout2           pid-2905                             I  removeContainerView StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:05.124  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753213947
2023-02-03 20:07:05.124  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc add Notification persist:true now Ids:[9942585]
2023-02-03 20:07:05.125  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451224916, when=1675451224909,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:05.131  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451224923, when=1675451224917,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:05.145  7138-7170  MediaPlayerNative       com.stsgeoloc                        I  message received msg=211, ext1=0, ext2=0
2023-02-03 20:07:05.166  2905-2905  ScrollLayout2           pid-2905                             I  addContainerView StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:05.191  1705-1705  NotificationService     pid-1705                             I  cancelNotificationLocked called,tell the app,reason = 8,sbn key = 0|com.stsgeoloc|9942585|null|10269
2023-02-03 20:07:05.191  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService onDestroy] 
                                                                                                      🔴  TrackingService stopped
2023-02-03 20:07:05.197  3435-3921  PassThroughStats        pid-3435                             I  pkg=com.stsgeoloc service=com.stsgeoloc/com.transistorsoft.locationmanager.service.TrackingService type=8 fg_duration=278 bg_duration=0
2023-02-03 20:07:05.197  3435-3921  AppBgModeMgr            pid-3435                             I  pkg:com.stsgeoloc fgService:com.stsgeoloc/com.transistorsoft.locationmanager.service.TrackingService serviceType:8 stop, runningTime:278 bgRunningTime:0
2023-02-03 20:07:05.197  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753214020
2023-02-03 20:07:05.197  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:[]
2023-02-03 20:07:05.199  2905-2905  NotificationListener    pid-2905                             I  onNotificationRemoved: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:05.199  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753214022
2023-02-03 20:07:05.199  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:05.199  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753214023
2023-02-03 20:07:05.199  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:05.199  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753214023
2023-02-03 20:07:05.199  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:05.201  2905-2905  ScrollLayout2           pid-2905                             I  removeContainerView StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:05.491  1705-1955  AppOps                  pid-1705                             W  Noting op not finished: uid 10269 pkg com.stsgeoloc code 79 startTime of in progress event=1675451223531
2023-02-03 20:07:05.496  1705-1955  ActivityManager         pid-1705                             I  sendIntentSender target:PendingIntentRecord{8c5f772 com.stsgeoloc startForegroundService}, intent:hwFlg=0x10
2023-02-03 20:07:05.517  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:05.517  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:05.523  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal: pkg=com.stsgeoloc id=9942585 notification=Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 vis=PRIVATE)
2023-02-03 20:07:05.523  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService start] 
                                                                                                      🎾  ActivityRecognitionService [eventCount: 1]
2023-02-03 20:07:05.523  1705-2082  NotificationService     pid-1705                             I  enqueueNotificationInternal Channel Info : pkg=com.stsgeoloc id=9942585 importance =2
2023-02-03 20:07:05.530  7138-7573  TSLocationManager       com.stsgeoloc                        D  [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 
                                                                                                      🚘 ️DetectedActivity [type=STILL, confidence=100]
2023-02-03 20:07:05.534  7138-7573  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService finish] ⚙️︎  finish ActivityRecognitionService [eventCount: 0, sticky: false]
2023-02-03 20:07:05.555  1705-2409  AppOps                  pid-1705                             W  Noting op not finished: uid 10269 pkg com.stsgeoloc code 79 startTime of in progress event=1675451225547
2023-02-03 20:07:05.727  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753214550
2023-02-03 20:07:05.727  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc add Notification persist:true now Ids:[9942585]
2023-02-03 20:07:05.743  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451225517, when=1675451225511,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:05.753  2905-2905  NotificationListener    pid-2905                             I  onNotificationPosted: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE)) important=2, post=1675451225523, when=1675451225518,showWhen=true, vis=0, userid=0, hasFullScreenIntent=false
2023-02-03 20:07:05.776  2905-2905  ScrollLayout2           pid-2905                             I  addContainerView StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:06.289  7138-7198  MediaPlayerNative       com.stsgeoloc                        I  message received msg=2, ext1=0, ext2=0
2023-02-03 20:07:06.289  7138-7198  MediaPlayerNative       com.stsgeoloc                        D  Message: MEDIA_PLAYBACK_COMPLETE(2), ext1=0, ext2=0x0
2023-02-03 20:07:06.290  7138-7198  MediaPlayerNative       com.stsgeoloc                        I  message received msg=211, ext1=0, ext2=0
2023-02-03 20:07:06.293  7138-7138  PlayerBase              com.stsgeoloc                        V  baseStop() piid=2103
2023-02-03 20:07:06.293  7138-7138  PlayerBase              com.stsgeoloc                        V  baseRelease() piid=2103 state=4
2023-02-03 20:07:06.293  7138-7138  MediaPlayer             com.stsgeoloc                        I  [HSM] stayAwake false uid: 10269, pid: 7138
2023-02-03 20:07:06.294  7138-7138  MediaPlayer             com.stsgeoloc                        V  resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
2023-02-03 20:07:06.294  7138-7138  MediaPlayer             com.stsgeoloc                        V  cleanDrmObj: mDrmObj=null mDrmSessionId=null
2023-02-03 20:07:06.294  7138-7138  MediaPlayerNative       com.stsgeoloc                        I  setListener
2023-02-03 20:07:06.294  7138-7138  MediaPlayerNative       com.stsgeoloc                        I  disconnect
2023-02-03 20:07:06.309  7138-7138  MediaPlayerNative       com.stsgeoloc                        I  Pid:7138 MediaPlayer destructor MediaPlayer(0xb400007be7bdc4b0)
2023-02-03 20:07:06.309  7138-7138  MediaPlayerNative       com.stsgeoloc                        I  disconnect
2023-02-03 20:07:06.309  7138-7138  MediaPlayer             com.stsgeoloc                        I  [HSM] stayAwake false uid: 10269, pid: 7138
2023-02-03 20:07:06.309  7138-7138  MediaPlayer             com.stsgeoloc                        W  mediaplayer went away with unhandled events
2023-02-03 20:07:06.545  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.service.AbstractService onDestroy] 
                                                                                                      🔴  ActivityRecognitionService stopped
2023-02-03 20:07:06.546  3435-3921  PassThroughStats        pid-3435                             I  pkg=com.stsgeoloc service=com.stsgeoloc/com.transistorsoft.locationmanager.service.ActivityRecognitionService type=0 fg_duration=1027 bg_duration=0
2023-02-03 20:07:06.546  1705-1705  NotificationService     pid-1705                             I  cancelNotificationLocked called,tell the app,reason = 8,sbn key = 0|com.stsgeoloc|9942585|null|10269
2023-02-03 20:07:06.547  3435-3921  AppBgModeMgr            pid-3435                             I  pkg:com.stsgeoloc fgService:com.stsgeoloc/com.transistorsoft.locationmanager.service.ActivityRecognitionService serviceType:0 stop, runningTime:1027 bgRunningTime:0
2023-02-03 20:07:06.560  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753215383
2023-02-03 20:07:06.560  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:[]
2023-02-03 20:07:06.565  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753215388
2023-02-03 20:07:06.565  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:06.569  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753215392
2023-02-03 20:07:06.569  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:06.572  2905-2905  NotificationListener    pid-2905                             I  onNotificationRemoved: StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:06.575  3435-3921  AppManager              pid-3435                             I  app:com.stsgeoloc Notification update time:753215398
2023-02-03 20:07:06.575  3435-3921  AppManager              pid-3435                             I  app : com.stsgeoloc remove Notification persist:true now Ids:null
2023-02-03 20:07:06.578  2905-2905  ScrollLayout2           pid-2905                             I  removeContainerView StatusBarNotification(pkg=com.stsgeoloc user=UserHandle{0} id=9942585 tag=****** key=0|com.stsgeoloc|9942585|null|10269: Notification(channel=*** shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x6a color=0x00000000 groupKey=ranker_group9942585 vis=PRIVATE))
2023-02-03 20:07:06.813  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetProcessCommand subCmd = 357, userId=10269, pid=7138, com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:06.814  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetPauseCollect com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:08.222  1705-2409  WindowManager           pid-1705                             I  New wallpaper target: Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity} prevTarget: null
2023-02-03 20:07:08.333  7138-7138  RtgSchedIpcFile         com.stsgeoloc                        E  RtgSchedIpcFile failed to open /proc/7138/rtg
2023-02-03 20:07:08.333  7138-7138  RmeSchedManager         com.stsgeoloc                        I  init Rme, version is: v1.0
2023-02-03 20:07:08.333  7138-7138  RtgSchedIpcFile         com.stsgeoloc                        E  setCommandByIoctl not opened
2023-02-03 20:07:08.334  7138-7138  RtgSched                com.stsgeoloc                        D  resetRtgSchedHandle failed enable:0
2023-02-03 20:07:08.348  1705-2984  InputDispatcher         pid-1705                             I  Focus left window: Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity} in display 0
2023-02-03 20:07:08.357  1705-2003  StatusBarDisable        pid-1705                             I  setFlags what=0 which=1 pkg=Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity}
2023-02-03 20:07:08.366  7138-7138  DecorView               com.stsgeoloc                        D  showOrHideHighlightView: hasFocus=false; winMode=1; isMrgNull=true
2023-02-03 20:07:08.817  2905-23395 TaskStackListener       pid-2905                             D  destory snapshot binder pid 0 myPid 2905 snapshot TaskSnapshot{ mId=1675451228790 mTopActivityComponent=com.stsgeoloc/.MainActivity mSnapshot=android.graphics.GraphicBuffer@b5bff1 (1080x2388) mColorSpace=sRGB IEC61966-2.1 (id=0, model=RGB) mOrientation=1 mRotation=0 mTaskSize=Point(1080, 2388) mContentInsets=[0,99][0,0] mIsLowResolution=false mIsRealSnapshot=true mWindowingMode=1 mSystemUiVisibility=8192 mIsTranslucent=false mIsSnapShotWithIme=false
2023-02-03 20:07:08.818  1705-2006  HwWindowMa...rServiceEx pid-1705                             I  com.stsgeoloc blur level: -1
2023-02-03 20:07:08.877  1705-1955  WindowManager           pid-1705                             I  Changing focus from Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity} to Window{4869ab6 u0 com.hihonor.android.launcher/com.hihonor.android.launcher.unihome.UniHomeLauncher}mode 3 displayId=0
2023-02-03 20:07:08.885  1705-2060  HwAudioServiceEx        pid-1705                             I  ComponentInfo : className = com.stsgeoloc.MainActivity, flag = onPause, isHomeActivity = , isTop = false
2023-02-03 20:07:08.886  3242-3326  DollieActi...gerAdapter pid-3242                             D  [Paused] pid:7138 uid:10269 ComponentInfo{com.stsgeoloc/com.stsgeoloc.MainActivity} uidState:2
2023-02-03 20:07:08.891  1705-1955  HwActivity...rServiceEx pid-1705                             W  setResumedActivityUncheckLocked start call, from: ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}, to: ActivityRecord{c705f54 u0 com.hihonor.android.launcher/.unihome.UniHomeLauncher t2}
2023-02-03 20:07:08.892  1705-1955  HwActivity...rServiceEx pid-1705                             W  appSwitch from: com.stsgeoloc to: com.hihonor.android.launcher
2023-02-03 20:07:08.894  1705-2060  SWAP_SCENE              pid-1705                             I  Entering notifySceneData notifySceneData. EventType:APP_SWITCH_FROM para:com.stsgeoloc
2023-02-03 20:07:08.895  1705-4528  SWAP_AppScore           pid-1705                             I  adjustSwapRatio:pkg:com.stsgeoloc
2023-02-03 20:07:08.895  1705-4528  SWAP_AppScore           pid-1705                             I  getSwapRatioForFrequentUseApp + pkgName:com.stsgeoloc swapRatio:0
2023-02-03 20:07:08.895  1705-4528  SWAP_AppScore           pid-1705                             I  adjustSwapRatio:frequentUseAppMap:swapratio0 pkgName:com.stsgeoloc
2023-02-03 20:07:08.895  1705-4528  SWAP_AppScore           pid-1705                             I  final ratio info: pkgName:com.stsgeoloc, reclaime ratio:60, swap ratio:0
2023-02-03 20:07:08.895  1705-4528  SWAP_AppScore           pid-1705                             I  setScoreAndRatioLive::pkgName:com.stsgeoloc score:300 write r-Ratio:60 s-Ratio: 0 refault:50
2023-02-03 20:07:08.895  1705-1955  ActivityTaskManager     pid-1705                             I  Making invisible: ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}, state=PAUSED
2023-02-03 20:07:08.895  1705-1955  WindowManager           pid-1705                             I  New wallpaper target: Window{4869ab6 u0 com.hihonor.android.launcher/com.hihonor.android.launcher.unihome.UniHomeLauncher} prevTarget: Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity}
2023-02-03 20:07:08.901  1705-1955  HwWindowMa...rServiceEx pid-1705                             D  is app exit to launcher info: transit = 0, app = ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}, window = Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity}, mClosingApps = {ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}}, topOpeningApp = ActivityRecord{c705f54 u0 com.hihonor.android.launcher/.unihome.UniHomeLauncher t2}, mExitIconBitmap = android.graphics.Bitmap@13f7eb3, mExitIconHeight = 186, mExitIconWidth = 186
2023-02-03 20:07:08.902  1705-1955  FixedRotat...onListener pid-1705                             I  onAppTransitionFinishedLocked ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579}
2023-02-03 20:07:08.903  3435-3921  ScenarioService         pid-3435                             I  app focus change from: com.stsgeoloc to:com.hihonor.android.launcher
2023-02-03 20:07:08.903  3435-3994  PGServer                pid-3435                             I  report state:10000 event type:2 pid:0 uid:0 pkg:com.stsgeoloc to pid: 3435
2023-02-03 20:07:08.903  3435-3994  SceneReceiver           pid-3435                             I  state type: 10000 eventType:2 pid:0 uid:0 pkg:com.stsgeoloc
2023-02-03 20:07:08.903  3435-3994  PGServer                pid-3435                             I  report state:10000 event type:2 pid:0 uid:0 pkg:com.stsgeoloc to pid: 1705
2023-02-03 20:07:08.903  3435-3921  AppsUsage               pid-3435                             I  scnOff:false FgAPP:com.hihonor.android.launcher BgAPP:com.stsgeoloc
2023-02-03 20:07:08.906  1705-4528  AdvancedKiller          pid-1705                             I  BG com.stsgeoloc
2023-02-03 20:07:08.914  7138-7138  HwViewRootImpl          com.stsgeoloc                        I  removeInvalidNode all the node in jank list is out of time
2023-02-03 20:07:08.928  7138-7138  TSLocationManager       com.stsgeoloc                        I  [c.t.l.s.TSScheduleManager oneShot] 
                                                                                                      ⏰ Oneshot TERMINATE_EVENT is already pending
2023-02-03 20:07:08.978  3242-3326  DollieAdapterService    pid-3242                             E  notifyActivityState pkg:com.stsgeoloc/com.stsgeoloc.MainActivity state:15 fg:false mUid:10269
2023-02-03 20:07:08.979  3242-3326  SmartDualCardConfig     pid-3242                             I  getAppType,pkgName=com.stsgeoloc,appType=-1
2023-02-03 20:07:08.980  3242-3326  SmartDualCardConfig     pid-3242                             I  getAppType,pkgName=com.stsgeoloc,appType=-1
2023-02-03 20:07:08.980  3242-3326  SmartDualCardSM         pid-3242                             I  onUidStateUpdate,uid=10269,appName=com.stsgeoloc,state=BACKGROUND
2023-02-03 20:07:08.982  3242-3326  SmartDualCardConfig     pid-3242                             I  getAppType,pkgName=com.stsgeoloc,appType=-1
2023-02-03 20:07:08.987  3242-3326  DollieChr               pid-3242                             I  handleForegroundAppUpdateMsg,mAppState=2,scenes=1,mForegroundAppName=com.stsgeoloc
2023-02-03 20:07:08.989  3242-3326  SmartDualCardConfig     pid-3242                             I  getAppType,pkgName=com.stsgeoloc,appType=-1
2023-02-03 20:07:09.005  3435-3967  PG_ash                  pid-3435                             I  com.stsgeoloc become invisible
2023-02-03 20:07:09.062  1303-16767 ITouchService           pid-1303                             D  itouch currentPackageName = com.stsgeoloc
2023-02-03 20:07:09.062  1303-16767 ITouchService           pid-1303                             D  itouch:app com.stsgeoloc is  not game app
2023-02-03 20:07:09.062  1303-16767 ITouchService           pid-1303                             D  itouch:app com.stsgeoloc is  not in StylusPenList
2023-02-03 20:07:09.381  7138-7259  ReactNativeJNI          com.stsgeoloc                        I  Memory warning (pressure level: TRIM_MEMORY_UI_HIDDEN) received by JS VM, ignoring because it's non-severe
2023-02-03 20:07:09.654  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.l.LifecycleManager onPause] ☯️  onPause
2023-02-03 20:07:09.656  7138-7138  TSLocationManager       com.stsgeoloc                        D  [c.t.l.l.LifecycleManager onStop] ☯️  onStop
2023-02-03 20:07:09.708  1705-2006  ActivityManager         pid-1705                             I  Killing 7138:com.stsgeoloc/u0a269 (adj 905): remove task
2023-02-03 20:07:09.762  1705-1955  ConnectivityService     pid-1705                             I  ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=2885, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ], android.os.BinderProxy@7545c89)
2023-02-03 20:07:09.762  1705-2763  ConnectivityService     pid-1705                             I  releasing NetworkRequest [ LISTEN id=2885, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ] (release request)
2023-02-03 20:07:09.763  1705-2984  ConnectivityService     pid-1705                             I  ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=2887, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ], android.os.BinderProxy@e13548e)
2023-02-03 20:07:09.763  1705-2763  ConnectivityService     pid-1705                             I  releasing NetworkRequest [ LISTEN id=2887, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ] (release request)
2023-02-03 20:07:09.763  1705-12009 AutofillSession         pid-1705                             D  handling death of Token{75b306e ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579 f}}} when saving=false
2023-02-03 20:07:09.763  1705-18735 ActivityManager         pid-1705                             D  cleanUpApplicationRecord app: 7138:com.stsgeoloc/u0a269, bad: false, restarting: false, allowRestart: true
2023-02-03 20:07:09.764  1705-11911 WindowManager           pid-1705                             I  WIN DEATH: Window{99ce755 u0 com.stsgeoloc/com.stsgeoloc.MainActivity}
2023-02-03 20:07:09.764  1705-11911 InputDispatcher         pid-1705                             W  Attempted to unregister already unregistered input channel '99ce755 com.stsgeoloc/com.stsgeoloc.MainActivity (server)'
2023-02-03 20:07:09.773  1705-2003  SWAP_SCENE              pid-1705                             I  Entering notifySceneData notifySceneData. EventType:PROCESS_DIED para:com.stsgeoloc
2023-02-03 20:07:09.773  1705-18735 WindowManager           pid-1705                             I  removeWindowToken: displayid:0 binder:Token{75b306e ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579 f}}} token:ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579 f}}
2023-02-03 20:07:09.773  1705-18735 WindowManager           pid-1705                             I  removeWindowToken: displayid:0 binder:Token{75b306e ActivityRecord{da9530f u0 com.stsgeoloc/.MainActivity t579 f}}} token:null
2023-02-03 20:07:09.774  1705-4528  SWAP_AppModel           pid-1705                             I  SWAP-APP_DIED_active:pkg:com.stsgeoloc uid:10269 liveApp:0
2023-02-03 20:07:09.774  3242-3621  UctpAppMonitor          pid-3242                             I  handleAppDied: pkgName is com.stsgeoloc mIsNeedToOpen is false
2023-02-03 20:07:09.774  1705-4528  SWAP_SCENE              pid-1705                             I  This app was killed: com.stsgeoloc
2023-02-03 20:07:11.815  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetProcessCommand subCmd = 352, userId=10269, pid=7138, com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:11.815  1341-1346  AwareLog                pid-1341                             D  iawared: WorkingsetStop com.stsgeoloc/com.transistorsoft.locationmanager.activity.TSLocationManagerActivity
2023-02-03 20:07:13.787  1705-1705  ActivityManager         pid-1705                             V  startProcess: name=com.stsgeoloc app=null knownToBeDead=true thread=null pid=-1 preloadStatus=-1
2023-02-03 20:07:13.806  1705-2083  ActivityManager         pid-1705                             I  Start proc 7715:com.stsgeoloc/u0a269 for service {com.stsgeoloc/com.transistorsoft.locationmanager.scheduler.ScheduleJobService}
2023-02-03 20:07:13.807  1705-2083  SWAP_SCENE              pid-1705                             I  Entering notifySceneData notifySceneData. EventType:PROCESS_CREATE para:com.stsgeoloc
2023-02-03 20:07:13.807  1705-2083  HwActivity...rServiceEx pid-1705                             I  notifyProcessStatusChange::pkg:com.stsgeoloc pid:7715 uid:10269
2023-02-03 20:07:13.809  1705-4528  SWAP_SCENE              pid-1705                             I  Entering appColdCheck cold! appName:com.stsgeoloc
2023-02-03 20:07:13.810  1705-4528  SWAP_SCENE              pid-1705                             I  Entering appColdCheck cold! Mkdir. appName:com.stsgeoloc
2023-02-03 20:07:13.821  7715-7715  com.stsgeoloc           pid-7715                             I  Late-enabling -Xcheck:jni
2023-02-03 20:07:13.852  7715-7715  com.stsgeoloc           pid-7715                             I  Unquickening 50 vdex files!
2023-02-03 20:07:13.853  7715-7715  com.stsgeoloc           pid-7715                             E  LoadAppImageStartupCache enabled : 1
2023-02-03 20:07:13.854  7715-7715  com.stsgeoloc           pid-7715                             I  ReInitProperties: persist.vm.debug.dumpapi= false
2023-02-03 20:07:13.879  1705-4528  SWAP_KernelInterface    pid-1705                             I  addToProcs:com.stsgeoloc pid:7715
2023-02-03 20:07:13.906  7715-7735  HwFramewor...rtsFactory com.stsgeoloc                        D  HwFrameworkSecurityPartsFactory in.
2023-02-03 20:07:13.906  7715-7735  HwFramewor...rtsFactory com.stsgeoloc                        I  add HwFrameworkSecurityPartsFactory to memory.
2023-02-03 20:07:13.907  7715-7735  BehaviorCollectManager  com.stsgeoloc                        E  Fail to acquire dataAnalyzerService...
2023-02-03 20:07:13.959  7715-7715  com.stsgeoloc           com.stsgeoloc                        I  The ClassLoaderContext is a special shared library.
2023-02-03 20:07:14.184  7715-7715  HwCust                  com.stsgeoloc                        W  CUST VERSION = false, use class = class android.app.HwCustApplicationPackageManagerImpl
2023-02-03 20:07:14.187  7715-7715  NetworkSecurityConfig   com.stsgeoloc                        D  Using Network Security Config from resource network_security_config debugBuild: true
2023-02-03 20:07:14.191  7715-7715  NetworkSecurityConfig   com.stsgeoloc                        D  Using Network Security Config from resource network_security_config debugBuild: true
2023-02-03 20:07:14.199  7715-7735  HwApiCacheMangerEx      com.stsgeoloc                        I  apicache path=/storage/emulated/0 state=mounted key=com.stsgeoloc#10269#256
2023-02-03 20:07:14.199  7715-7735  HwApiCacheMangerEx      com.stsgeoloc                        I  need clear apicache,because volumes changed,oldCnt=0 newCnt=1
2023-02-03 20:07:14.203  7715-7715  WM-WrkMgrInitializer    com.stsgeoloc                        D  Initializing WorkManager with default configuration.
2023-02-03 20:07:14.203  7715-7735  HwApiCacheMangerEx      com.stsgeoloc                        I  apicache path=/storage/emulated/0 state=mounted key=com.stsgeoloc#10269#0
2023-02-03 20:07:14.204  7715-7735  HwApiCacheMangerEx      com.stsgeoloc                        I  need clear apicache,because volumes changed,oldCnt=1 newCnt=1
2023-02-03 20:07:14.218  7715-7735  HwPartIawareFactory     com.stsgeoloc                        I  add android.common.HwPartIawareFactoryImpl to memory.
2023-02-03 20:07:14.219  7715-7735  AwareBitmapCacher       com.stsgeoloc                        I  init processName:com.stsgeoloc pid=7715 uid=10269
2023-02-03 20:07:14.222  7715-7715  HwCust                  com.stsgeoloc                        W  CUST VERSION = false, use class = class android.net.HwCustConnectivityManagerImpl
2023-02-03 20:07:14.224  7715-7715  TetheringManager        com.stsgeoloc                        I  registerTetheringEventCallback:com.stsgeoloc
2023-02-03 20:07:14.234  7715-7739  AwareLog                com.stsgeoloc                        E  AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@a27053b
2023-02-03 20:07:14.250  7715-7715  fb-UnpackingSoSource    com.stsgeoloc                        V  locked dso store /data/user/0/com.stsgeoloc/lib-main
2023-02-03 20:07:14.251  7715-7715  fb-UnpackingSoSource    com.stsgeoloc                        I  dso store is up-to-date: /data/user/0/com.stsgeoloc/lib-main
2023-02-03 20:07:14.251  7715-7715  fb-UnpackingSoSource    com.stsgeoloc                        V  releasing dso store lock for /data/user/0/com.stsgeoloc/lib-main
2023-02-03 20:07:14.279  7715-7715  AppCenterCrashes        com.stsgeoloc                        D  Creating crashes module with crashListener DO_NOT_ASK_JAVASCRIPT
2023-02-03 20:07:14.290  7715-7715  SoLoader                com.stsgeoloc                        V  libjscexecutor.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:14.290  7715-7715  SoLoader                com.stsgeoloc                        V  libjscexecutor.so not found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:14.290  7715-7715  SoLoader                com.stsgeoloc                        V  libjscexecutor.so not found on /system/lib64
2023-02-03 20:07:14.290  7715-7715  SoLoader                com.stsgeoloc                        V  libjscexecutor.so not found on /vendor/lib64
2023-02-03 20:07:14.292  7715-7715  SoLoader                com.stsgeoloc                        E  couldn't find DSO to load: libjscexecutor.so
                                                                                                        SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.stsgeoloc/lib-main flags = 1]
                                                                                                        SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64 flags = 0]
                                                                                                        SoSource 2: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
                                                                                                        SoSource 3: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
                                                                                                        Native lib dir: /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
                                                                                                     result: 0
2023-02-03 20:07:14.293  7715-7715  SoLoader                com.stsgeoloc                        V  libhermes.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:14.294  7715-7715  SoLoader                com.stsgeoloc                        D  libhermes.so found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:14.294  7715-7715  SoLoader                com.stsgeoloc                        D  Not resolving dependencies for libhermes.so
2023-02-03 20:07:14.300  7715-7715  SoLoader                com.stsgeoloc                        V  libhermes-executor-debug.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:14.300  7715-7715  SoLoader                com.stsgeoloc                        D  libhermes-executor-debug.so found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:14.300  7715-7715  SoLoader                com.stsgeoloc                        D  Not resolving dependencies for libhermes-executor-debug.so
2023-02-03 20:07:14.321  7715-7741  HwCust                  com.stsgeoloc                        W  CUST VERSION = false, use class = class android.telephony.HwCustSubscriptionManagerImpl
2023-02-03 20:07:14.326  7715-7741  HwCustConn...anagerImpl com.stsgeoloc                        D  isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID
2023-02-03 20:07:14.329  1705-3537  ConnectivityService     pid-1705                             I  listenForNetwork for uid/pid:10269/7715 NetworkRequest [ LISTEN id=2888, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ]
2023-02-03 20:07:14.364  7715-7741  HwCust                  com.stsgeoloc                        W  CUST VERSION = false, use class = class android.telephony.HwCustTelephonyManagerImpl
2023-02-03 20:07:14.431  7715-7715  SensorManager           com.stsgeoloc                        D  0xb400007b779fedd0 addFd fd=110
2023-02-03 20:07:14.435  1705-3537  SensorService           pid-1705                             I  enableSensor handle:11, packageName:com.facebook.react.common.ShakeDetector, opPackageName:com.stsgeoloc , rate=66667000
2023-02-03 20:07:14.474  7715-7754  SoLoader                com.stsgeoloc                        V  libfbjni.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:14.475  7715-7754  SoLoader                com.stsgeoloc                        D  libfbjni.so found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:14.475  7715-7754  SoLoader                com.stsgeoloc                        D  Not resolving dependencies for libfbjni.so
2023-02-03 20:07:14.478  7715-7754  SoLoader                com.stsgeoloc                        V  libflipper.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:14.479  7715-7754  SoLoader                com.stsgeoloc                        D  libflipper.so found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:14.479  7715-7754  SoLoader                com.stsgeoloc                        D  Not resolving dependencies for libflipper.so
2023-02-03 20:07:14.539  7715-7715  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden field Landroid/view/View;->mKeyedTags:Landroid/util/SparseArray; (greylist, reflection, allowed)
2023-02-03 20:07:14.539  7715-7715  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden field Landroid/view/View;->mListenerInfo:Landroid/view/View$ListenerInfo; (greylist, reflection, allowed)
2023-02-03 20:07:14.540  7715-7715  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden field Landroid/view/View$ListenerInfo;->mOnClickListener:Landroid/view/View$OnClickListener; (greylist, reflection, allowed)
2023-02-03 20:07:14.545  7715-7715  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin Inspector
2023-02-03 20:07:14.545  7715-7715  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin React
2023-02-03 20:07:14.547  7715-7715  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin Databases
2023-02-03 20:07:14.551  7715-7715  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin Preferences
2023-02-03 20:07:14.551  7715-7715  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin CrashReporter
2023-02-03 20:07:14.555  7715-7715  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin Network
2023-02-03 20:07:14.571  7715-7715  ActivityThread          com.stsgeoloc                        I  finishPreloaded preloadStatus 0
2023-02-03 20:07:14.621  7715-7754  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (greylist, reflection, allowed)
2023-02-03 20:07:14.623  7715-7754  HwApiCacheMangerEx      com.stsgeoloc                        I  apicache path=/storage/emulated/0 state=mounted key=com.stsgeoloc#10269#256
2023-02-03 20:07:14.623  7715-7754  HwApiCacheMangerEx      com.stsgeoloc                        I  need clear apicache,because volumes changed,oldCnt=1 newCnt=1
2023-02-03 20:07:14.626  7715-7754  HwApiCacheMangerEx      com.stsgeoloc                        I  apicache path=/storage/emulated/0 state=mounted key=com.stsgeoloc#10269#0
2023-02-03 20:07:14.626  7715-7754  HwApiCacheMangerEx      com.stsgeoloc                        I  need clear apicache,because volumes changed,oldCnt=1 newCnt=1
2023-02-03 20:07:14.630  7715-7754  HwApiCacheMangerEx      com.stsgeoloc                        I  apicache path=/storage/emulated/0 state=mounted key=com.stsgeoloc#10269#256
2023-02-03 20:07:14.630  7715-7754  HwApiCacheMangerEx      com.stsgeoloc                        I  need clear apicache,because volumes changed,oldCnt=1 newCnt=1
2023-02-03 20:07:14.704  7715-7776  HwCustConn...anagerImpl com.stsgeoloc                        D  isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID
2023-02-03 20:07:14.705  1705-3537  ConnectivityService     pid-1705                             I  listenForNetwork for uid/pid:10269/7715 NetworkRequest [ LISTEN id=2889, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN&FOREGROUND Uid: 10269 AdministratorUids: [] RequestorUid: 10269 RequestorPackageName: com.stsgeoloc] ]
2023-02-03 20:07:14.722  7715-7745  Settings                com.stsgeoloc                        W  Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
2023-02-03 20:07:14.736  7715-7780  TSLocationManager       com.stsgeoloc                        I  [c.t.l.logger.LoggerFacade$a a] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ ⏰ OneShot event fired: TERMINATE_EVENT
                                                                                                    ╠═════════════════════════════════════════════
2023-02-03 20:07:14.739  7715-7780  TSLocationManager       com.stsgeoloc                        D  [c.t.l.logger.LoggerFacade$a a] ☯️  onCreate
2023-02-03 20:07:14.740  7715-7780  TSLocationManager       com.stsgeoloc                        I  [c.t.l.logger.LoggerFacade$a a] 
                                                                                                      ✅  Google Play Services: connected (version code:12451000)
2023-02-03 20:07:14.740  7715-7783  TSLocationManager       com.stsgeoloc                        D  [c.t.l.l.TSSQLiteAppender$c run] 
                                                                                                      ℹ️  Cleared logs older than 72 hours
2023-02-03 20:07:14.740  7715-7780  TSLocationManager       com.stsgeoloc                        I  [c.t.l.logger.LoggerFacade$a a] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ TSLocationManager version: 3.3.1 (418)
                                                                                                    ╠═════════════════════════════════════════════
                                                                                                    ╟─ HONOR TFY-LX1 @ 11 (react-native)
                                                                                                    {
                                                                                                      "activityRecognitionInterval": 10000,
                                                                                                      "allowIdenticalLocations": false,
                                                                                                      "authorization": {},
                                                                                                      "autoSync": false,
                                                                                                      "autoSyncThreshold": 0,
                                                                                                      "backgroundPermissionRationale": {
                                                                                                        "title": "Allow {applicationName} to access this device's location even when closed or not in use?",
                                                                                                        "message": "[CHANGEME] This app collects location data for FEATURE X and FEATURE Y.",
                                                                                                        "positiveAction": "Change to \"{backgroundPermissionOptionLabel}\"",
                                                                                                        "negativeAction": ""
                                                                                                      },
                                                                                                      "batchSync": false,
                                                                                                      "configUrl": "",
                                                                                                      "debug": true,
                                                                                                      "deferTime": 0,
                                                                                                      "desiredAccuracy": 1000,
                                                                                                      "desiredOdometerAccuracy": 10,
                                                                                                      "disableAutoSyncOnCellular": false,
                                                                                                      "disableElasticity": true,
                                                                                                      "disableLocationAuthorizationAlert": false,
                                                                                                      "disableMotionActivityUpdates": false,
                                                                                                      "disableProviderChangeRecord": true,
                                                                                                      "disableStopDetection": false,
                                                                                                      "distanceFilter": 10,
                                                                                                      "elasticityMultiplier": 1,
                                                                                                      "enableHeadless": true,
                                                                                                      "enableTimestampMeta": false,
                                                                                                      "extras": {},
                                                                                                      "fastestLocationUpdateInterval": -1,
                                                                                                      "foregroundService": true,
                                                                                                      "geofenceInitialTriggerEntry": true,
                                                                                                      "geofenceModeHighAccuracy": false,
                                                                                                      "geofenceProximityRadius": 1000,
                                                                                                      "geofenceTemplate": "",
                                                                                                      "headers": {},
                                                                                                      "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask",
                                                                                                      "heartbeatInterval": -1,
                                                                                                      "httpRootProperty": "location",
                                                                                                      "httpTimeout": 60000,
                                                                                                      "isMoving": false,
                                                                                                      "locationAuthorizationRequest": "Always",
                                                                                                      "locationTemplate": "",
                                                                                                      "locationTimeout": 60,
                                                                                                      "locationUpdateInterval": 1000,
                                                                                                      "locationsOrderDirection": "ASC",
                                                                                                      "logLevel": 5,
                                                                                                      "logMaxDays": 3,
                                                                                                      "maxBatchSize": -1,
                                                                                                      "maxDaysToPersist": 1,
                                                                                                      "maxRecordsToPersist": -1,
                                                                                                      "method": "POST",
                                                                                                      "minimumActivityRecognitionConfidence": 75,
                                                                                                      "motionTriggerDelay": 0,
                                                                                                      "notification": {
                                                                                                        "layout": "",
                                                                                                        "title": "",
                                                                                                        "text": "Location Service activated",
                                                                                                        "color": "",
                                                                                                        "channelName": "TSLocationManager",
                                                                                                        "channelId": "",
                                                                                                        "smallIcon": "",
                                                                                                        "largeIcon": "",
                                                                                                        "priority": 0,
                                                                                                        "sticky": false,
                                                                                                        "strings": {},
                                                                                                        "actions": []
                                                                                                      },
                                                                                                      "params": {},
                                                                                                      "persist": true,
                                                                                                      "persistMode": 2,
                                                                                                      "schedule": [],
                                                                                                      "scheduleUseAlarmManager": false,
                                                                                                      "speedJumpFilter": 300,
                                                                                                      "startOnBoot": false,
                                                                                                      "stationaryRadius": 500,
                                                                                                      "stopAfterElapsedMinutes": 0,
                                                                                                      "stopOnStationary": false,
                                                                                                      "stopOnTerminate": false,
                                                                                                      "stopTimeout": 5,
                                                                                                      "triggerActivities": "in_vehicle",
                                                                                                      "url": "",
                                                                                                      "useSignificantChangesOnly": false,
                                                                                                      "enabled": true,
                                                                                                      "schedulerEnabled": false,
                                                                                                      "trackingMode": 1,
                                                                                                      "odometer": 0,
                                                                                                      "isFirstBoot": false,
                                                                                                      "didLaunchInBackground": false,
                                                                                                      "didDeviceReboot": false
                                                                                                    }
2023-02-03 20:07:14.740  7715-7780  TSLocationManager       com.stsgeoloc                        I  [c.t.l.logger.LoggerFacade$a a] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ DEVICE SENSORS
                                                                                                    ╠═════════════════════════════════════════════
                                                                                                    ╟─ ✅  ACCELEROMETER: {Sensor name="KX02x Accelerometer Non-wakeup", vendor="Kionix", version=132096, type=1, maxRange=78.45318, resolution=0.0023928226, power=0.145, minDelay=2500}
                                                                                                    ╟─ ⚠️  GYROSCOPE:  none.  Motion-detection system performance will be degraded
                                                                                                    ╟─ ✅  MAGNETOMETER: {Sensor name="ak0991x Magnetometer Non-wakeup", vendor="akm", version=146966, type=2, maxRange=4911.994, resolution=0.15, power=1.1, minDelay=10000}
                                                                                                    ╟─ ⚠️  SIGNIFICANT_MOTION:  none.  Motion-detection system performance will be degraded
                                                                                                    ╚═════════════════════════════════════════════
2023-02-03 20:07:14.740  7715-7780  TSLocationManager       com.stsgeoloc                        D  [c.t.l.logger.LoggerFacade$a a] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ ☯️  HeadlessMode? true
                                                                                                    ╠═════════════════════════════════════════════
2023-02-03 20:07:14.741  7715-7780  TSLocationManager       com.stsgeoloc                        D  [c.t.l.logger.LoggerFacade$a a] 
                                                                                                      🎾  Start monitoring connectivity changes
2023-02-03 20:07:14.749  7715-7776  Settings                com.stsgeoloc                        W  Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
2023-02-03 20:07:14.750  7715-7745  Settings                com.stsgeoloc                        W  Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
2023-02-03 20:07:14.751  7715-7776  TSLocationManager       com.stsgeoloc                        I  [c.t.l.p.TSProviderManager startMonitoring] 
                                                                                                      🎾  Start monitoring location-provider changes
2023-02-03 20:07:14.753  7715-7776  Settings                com.stsgeoloc                        W  Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
2023-02-03 20:07:14.756  7715-7745  TSLocationManager       com.stsgeoloc                        D  [c.t.l.http.HttpService a] 
                                                                                                    ╔═════════════════════════════════════════════
                                                                                                    ║ 📶  Connectivity change: connected? true
                                                                                                    ╠═════════════════════════════════════════════
2023-02-03 20:07:14.761  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask onHeadlessEvent] 💀  event: providerchange
2023-02-03 20:07:14.766  7715-7715  SoLoader                com.stsgeoloc                        V  libreactnativejni.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:14.767  7715-7715  SoLoader                com.stsgeoloc                        D  libreactnativejni.so found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:14.767  7715-7715  SoLoader                com.stsgeoloc                        D  Not resolving dependencies for libreactnativejni.so
2023-02-03 20:07:14.787  7715-7780  TSLocationManager       com.stsgeoloc                        D  [c.t.l.data.sqlite.b prune] 
                                                                                                      ℹ️  PRUNE -1 days
2023-02-03 20:07:14.817  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask onHeadlessEvent] 💀  event: connectivitychange
2023-02-03 20:07:14.819  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask onHeadlessEvent] 💀  event: terminate
2023-02-03 20:07:15.209  7715-7787  AppCenterCrashes        com.stsgeoloc                        D  Setting react context
2023-02-03 20:07:15.209  7715-7787  AppCenterCrashes        com.stsgeoloc                        D  Returning list containing crashes module
2023-02-03 20:07:15.240  7715-7715  InstallReferrerState    com.stsgeoloc                        D  OK
2023-02-03 20:07:15.243  7715-7789  RNKeychainManager       com.stsgeoloc                        V  warming up started at 340380726213070
2023-02-03 20:07:15.250  1705-3537  BiometricService        pid-1705                             D  Package: com.stsgeoloc Authenticator ID: 0 Modality: 2 Reported Modality: 2 Status: 1
2023-02-03 20:07:15.253  7715-7789  RNKeychainManager       com.stsgeoloc                        D  Probe cipher storage: CipherStorageFacebookConceal
2023-02-03 20:07:15.254  7715-7789  RNKeychainManager       com.stsgeoloc                        D  Probe cipher storage: CipherStorageKeystoreAesCbc
2023-02-03 20:07:15.254  7715-7789  RNKeychainManager       com.stsgeoloc                        D  Probe cipher storage: CipherStorageKeystoreRsaEcb
2023-02-03 20:07:15.254  7715-7789  RNKeychainManager       com.stsgeoloc                        D  Selected storage: CipherStorageKeystoreRsaEcb
2023-02-03 20:07:15.341  7715-7734  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore characteristics promise future onFinished.
2023-02-03 20:07:15.350  7715-7733  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore characteristics promise future onFinished.
2023-02-03 20:07:15.361  7715-7734  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore export key promise future onFinished.
2023-02-03 20:07:15.453  7715-7733  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore characteristics promise future onFinished.
2023-02-03 20:07:15.458  7715-7789  AndroidSecurityKeyStore com.stsgeoloc                        E  generateKeyInternal failed on request -68
2023-02-03 20:07:15.460  7715-7789  CipherStorageBase       com.stsgeoloc                        W  StrongBox security storage is not available.
                                                                                                    android.security.keystore.StrongBoxUnavailableException: Failed to generate key pair
                                                                                                        at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:512)
                                                                                                        at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:471)
                                                                                                        at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:727)
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageKeystoreRsaEcb.generateKey(CipherStorageKeystoreRsaEcb.java:269)
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageBase.tryGenerateStrongBoxSecurityKey(CipherStorageBase.java:475)
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageBase.tryGenerateStrongBoxSecurityKey(CipherStorageBase.java:460)
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageBase.generateKeyAndStoreUnderAlias(CipherStorageBase.java:413)
                                                                                                        at com.oblador.keychain.KeychainModule.internalWarmingBestCipher(KeychainModule.java:174)
                                                                                                        at com.oblador.keychain.KeychainModule.$r8$lambda$DYujhqpjRgfFQ_gyuwMwyxxqDlk(Unknown Source:0)
                                                                                                        at com.oblador.keychain.KeychainModule$$ExternalSyntheticLambda0.run(Unknown Source:2)
                                                                                                        at java.lang.Thread.run(Thread.java:933)
                                                                                                    Caused by: android.security.KeyStoreException: No StrongBox available
                                                                                                        at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:512) 
                                                                                                        at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:471) 
                                                                                                        at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:727) 
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageKeystoreRsaEcb.generateKey(CipherStorageKeystoreRsaEcb.java:269) 
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageBase.tryGenerateStrongBoxSecurityKey(CipherStorageBase.java:475) 
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageBase.tryGenerateStrongBoxSecurityKey(CipherStorageBase.java:460) 
                                                                                                        at com.oblador.keychain.cipherStorage.CipherStorageBase.generateKeyAndStoreUnderAlias(CipherStorageBase.java:413) 
                                                                                                        at com.oblador.keychain.KeychainModule.internalWarmingBestCipher(KeychainModule.java:174) 
                                                                                                        at com.oblador.keychain.KeychainModule.$r8$lambda$DYujhqpjRgfFQ_gyuwMwyxxqDlk(Unknown Source:0) 
                                                                                                        at com.oblador.keychain.KeychainModule$$ExternalSyntheticLambda0.run(Unknown Source:2) 
                                                                                                        at java.lang.Thread.run(Thread.java:933) 
2023-02-03 20:07:17.328  7715-7787  unknown:ReactContext    com.stsgeoloc                        W  initializeMessageQueueThreads() is called.
2023-02-03 20:07:17.361  7715-7715  unknown:ReactNative     com.stsgeoloc                        W  Packager connection already open, nooping.
2023-02-03 20:07:17.487  7715-7793  flipper                 com.stsgeoloc                        I  flipper: FlipperClient::addPlugin Fresco
2023-02-03 20:07:17.487  7715-7715  AudioManager            com.stsgeoloc                        V  isWiredHeadsetOn...
2023-02-03 20:07:17.490  7715-7715  AudioManager            com.stsgeoloc                        V  isBluetoothA2dpOn...
2023-02-03 20:07:17.490  7715-7715  AudioSystem             com.stsgeoloc                        I  getDeviceConnectionState , Connecting to the Bluetooth device
2023-02-03 20:07:17.490  7715-7715  IAudioPolicyService     com.stsgeoloc                        I  getDeviceConnectionState, BpAudioPolicy: Bluetooth device
2023-02-03 20:07:17.490  7715-7715  AudioSystem             com.stsgeoloc                        I  getDeviceConnectionState , Connecting to the Bluetooth device
2023-02-03 20:07:17.490  7715-7715  IAudioPolicyService     com.stsgeoloc                        I  getDeviceConnectionState, BpAudioPolicy: Bluetooth device
2023-02-03 20:07:17.491  7715-7715  AudioSystem             com.stsgeoloc                        I  getDeviceConnectionState , Connecting to the Bluetooth device
2023-02-03 20:07:17.491  7715-7715  IAudioPolicyService     com.stsgeoloc                        I  getDeviceConnectionState, BpAudioPolicy: Bluetooth device
2023-02-03 20:07:17.548  7715-7733  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore characteristics promise future onFinished.
2023-02-03 20:07:17.558  7715-7734  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore characteristics promise future onFinished.
2023-02-03 20:07:17.571  7715-7733  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore export key promise future onFinished.
2023-02-03 20:07:17.610  7715-7736  AndroidSecurityKeyStore com.stsgeoloc                        I  keystore characteristics promise future onFinished.
2023-02-03 20:07:17.612  7715-7789  RNKeychainManager       com.stsgeoloc                        V  warming up takes: 2369 ms
2023-02-03 20:07:17.651  7715-7792  SoLoader                com.stsgeoloc                        V  libreactnativeblob.so not found on /data/data/com.stsgeoloc/lib-main
2023-02-03 20:07:17.651  7715-7792  SoLoader                com.stsgeoloc                        D  libreactnativeblob.so found on /data/app/~~7NzQN6o0mkHbGmNdd-eIdQ==/com.stsgeoloc-FHvNSDhhZk7ad7eLUEW_0g==/lib/arm64
2023-02-03 20:07:17.651  7715-7792  SoLoader                com.stsgeoloc                        D  Not resolving dependencies for libreactnativeblob.so
2023-02-03 20:07:17.689  7715-7715  unknown:ReactNative     com.stsgeoloc                        E  Unable to launch logbox because react was unable to create the root view
2023-02-03 20:07:17.765  7715-7793  WebViewFactory          com.stsgeoloc                        I  Loading com.google.android.webview version 109.0.5414.117 (code 541411733)
2023-02-03 20:07:17.772  7715-7793  linker                  com.stsgeoloc                        W  Warning: "/data/app/~~bf-Ol5aS9UUokfRhPXlZ4g==/com.google.android.webview-xVg2yGHI1n-cnCt5tSLN3A==/base.apk!/lib/arm64-v8a/libmonochrome.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
2023-02-03 20:07:17.781  7715-7793  com.stsgeoloc           com.stsgeoloc                        I  Waiting for a blocking GC ClassLinker
2023-02-03 20:07:17.787  7715-7793  com.stsgeoloc           com.stsgeoloc                        I  WaitForGcToComplete blocked ClassLinker on ClassLinker for 5.620ms
2023-02-03 20:07:17.797  7715-7793  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
2023-02-03 20:07:17.798  7715-7793  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
2023-02-03 20:07:17.798  7715-7793  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
2023-02-03 20:07:17.798  7715-7793  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
2023-02-03 20:07:17.798  7715-7793  com.stsgeoloc           com.stsgeoloc                        W  Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
2023-02-03 20:07:17.802  7715-7793  cr_WVCFactoryProvider   com.stsgeoloc                        I  Loaded version=109.0.5414.117 minSdkVersion=29 isBundle=true multiprocess=true packageId=3
2023-02-03 20:07:17.827  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2023-02-03 20:07:17.835  7715-7793  cr_LibraryLoader        com.stsgeoloc                        I  Successfully loaded native library
2023-02-03 20:07:17.838  7715-7793  cr_CachingUmaRecorder   com.stsgeoloc                        I  Flushed 8 samples from 8 histograms.
2023-02-03 20:07:17.861  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2023-02-03 20:07:17.866  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2023-02-03 20:07:17.870  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask$2 onHeadlessJsTaskStart] taskId: 1
2023-02-03 20:07:17.870  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2023-02-03 20:07:17.871  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2023-02-03 20:07:17.873  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2023-02-03 20:07:17.874  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask$2 onHeadlessJsTaskStart] taskId: 2
2023-02-03 20:07:17.874  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2023-02-03 20:07:17.878  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager
2023-02-03 20:07:17.879  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask$2 onHeadlessJsTaskStart] taskId: 3
2023-02-03 20:07:17.880  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
2023-02-03 20:07:17.881  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2023-02-03 20:07:17.883  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2023-02-03 20:07:17.884  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2023-02-03 20:07:17.885  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2023-02-03 20:07:17.886  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2023-02-03 20:07:17.887  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2023-02-03 20:07:17.890  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2023-02-03 20:07:17.891  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2023-02-03 20:07:17.892  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2023-02-03 20:07:17.892  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2023-02-03 20:07:17.893  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2023-02-03 20:07:17.898  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2023-02-03 20:07:17.900  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2023-02-03 20:07:17.902  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2023-02-03 20:07:17.903  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2023-02-03 20:07:17.906  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2023-02-03 20:07:17.906  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2023-02-03 20:07:17.907  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
2023-02-03 20:07:17.908  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.lottie.LottieAnimationViewManager
2023-02-03 20:07:17.915  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapCalloutManager
2023-02-03 20:07:17.918  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapMarkerManager
2023-02-03 20:07:17.926  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapPolylineManager
2023-02-03 20:07:17.931  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapGradientPolylineManager
2023-02-03 20:07:17.935  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapPolygonManager
2023-02-03 20:07:17.938  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapCircleManager
2023-02-03 20:07:17.940  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapManager
2023-02-03 20:07:17.946  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapLiteManager
2023-02-03 20:07:17.947  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapUrlTileManager
2023-02-03 20:07:17.948  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapWMSTileManager
2023-02-03 20:07:17.949  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapLocalTileManager
2023-02-03 20:07:17.950  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapOverlayManager
2023-02-03 20:07:17.951  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.airbnb.android.react.maps.AirMapHeatmapManager
2023-02-03 20:07:17.952  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaProviderManager
2023-02-03 20:07:17.953  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewManager
2023-02-03 20:07:17.953  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewShadowNode
2023-02-03 20:07:17.954  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.swmansion.rnscreens.ScreenContainerViewManager
2023-02-03 20:07:17.955  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.swmansion.rnscreens.ScreenViewManager
2023-02-03 20:07:17.956  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.swmansion.rnscreens.ScreenStackViewManager
2023-02-03 20:07:17.956  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderConfigViewManager
2023-02-03 20:07:17.958  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderSubviewManager
2023-02-03 20:07:17.958  7715-7792  unknown:Vi...rtyUpdater com.stsgeoloc                        W  Could not find generated setter for class com.swmansion.rnscreens.SearchBarManager
2023-02-03 20:07:18.603  7715-7792  ReactNativeJS           com.stsgeoloc                        I  HEADLESS ENTER
2023-02-03 20:07:18.604  7715-7792  ReactNativeJS           com.stsgeoloc                        I  providerchange
2023-02-03 20:07:18.606  7715-7792  ReactNativeJS           com.stsgeoloc                        I  HEADLESS ENTER
2023-02-03 20:07:18.606  7715-7792  ReactNativeJS           com.stsgeoloc                        I  connectivitychange
2023-02-03 20:07:18.608  7715-7792  ReactNativeJS           com.stsgeoloc                        I  HEADLESS ENTER
2023-02-03 20:07:18.608  7715-7792  ReactNativeJS           com.stsgeoloc                        I  terminate
2023-02-03 20:07:18.611  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask$2 onHeadlessJsTaskFinish] taskId: 1
2023-02-03 20:07:18.618  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask$2 onHeadlessJsTaskFinish] taskId: 2
2023-02-03 20:07:18.625  7715-7715  TSLocationManager       com.stsgeoloc                        D  [c.t.r.HeadlessTask$2 onHeadlessJsTaskFinish] taskId: 3
2023-02-03 20:07:19.221  7715-7715  AwareBitmapCacher       com.stsgeoloc                        I  init lrucache size: 2097152 pid=7715
2023-02-03 20:07:27.520  7715-7715  AppCenter               com.stsgeoloc                        W  Try #1 failed and will be retried in 5533 ms
                                                                                                    java.net.SocketTimeoutException: failed to connect to in.appcenter.ms/52.232.209.85 (port 443) from /192.168.1.60 (port 41222) after 10000ms
                                                                                                        at libcore.io.IoBridge.connectErrno(IoBridge.java:190)
                                                                                                        at libcore.io.IoBridge.connect(IoBridge.java:134)
                                                                                                        at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
                                                                                                        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
                                                                                                        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
                                                                                                        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
                                                                                                        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
                                                                                                        at java.net.Socket.connect(Socket.java:621)
                                                                                                        at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)
                                                                                                        at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145)
                                                                                                        at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
                                                                                                        at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)
                                                                                                        at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)
                                                                                                        at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
                                                                                                        at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)
                                                                                                        at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)
                                                                                                        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)
                                                                                                        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
                                                                                                        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)
                                                                                                        at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219)
                                                                                                        at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30)
                                                                                                        at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doHttpCall(DefaultHttpClientCallTask.java:226)
                                                                                                        at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:279)
                                                                                                        at com.microsoft.appcenter.http.DefaultHttpClientCallTask.doInBackground(DefaultHttpClientCallTask.java:48)
                                                                                                        at android.os.AsyncTask$3.call(AsyncTask.java:405)
                                                                                                        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                                                                                                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
                                                                                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
                                                                                                        at java.lang.Thread.run(Thread.java:933)
2023-02-03 20:07:43.848  3102-3630  SQLiteDatabase          pid-3102                             E  Error inserting totalCount=1 callerPackageName=com.stsgeoloc timeOfDay=1675378800000 timeOfLastExact=1675451233787 startupResult=true packageName=com.stsgeoloc
                                                                                                    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: SmartControlRecordTable.packageName, SmartControlRecordTable.callerPackageName, SmartControlRecordTable.startupResult, SmartControlRecordTable.timeOfDay (Sqlite code 2067 SQLITE_CONSTRAINT_UNIQUE), (OS error - 2:No such file or directory)
                                                                                                        at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
                                                                                                        at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:990)
                                                                                                        at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:810)
                                                                                                        at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:88)
                                                                                                        at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1760)
                                                                                                        at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1622)
                                                                                                        at b.d.u.b.d.b.b(Unknown Source:7)
                                                                                                        at com.hihonor.systemmanager.appcontrol.provider.SmartControlProvider.insert(Unknown Source:57)
                                                                                                        at android.content.ContentProvider.insert(ContentProvider.java:1700)
                                                                                                        at android.content.ContentProvider$Transport.insert(ContentProvider.java:351)
                                                                                                        at android.content.ContentResolver.insert(ContentResolver.java:2182)
                                                                                                        at android.content.ContentResolver.insert(ContentResolver.java:2139)
                                                                                                        at b.d.u.b.g.e.Oc(Unknown Source:26)
                                                                                                        at com.hihonor.systemmanager.appcontrol.service.SmartControlResidentService.e(:1)
                                                                                                        at b.d.i.c.h.invoke(:4)
                                                                                                        at b.d.x.c.m.invokeSuspend(:4)
                                                                                                        at d.b.b.a.a.resumeWith(:2)
                                                                                                        at e.a.Q.run(:4)
                                                                                                        at e.a.c.b.a(Unknown Source:0)
                                                                                                        at e.a.c.b$a.run(:9)
christocracy commented 1 year ago

I don’t see any crash referencing the plugin (com.transistorsoft.*. It looks like your own code and/or other plugin(s) responsible.

However, why does your app code seem to be referencing UI components while headless? There is no UI when headless:

Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager

which file did you place your HeadlessTask? It’s supposed to be in index.js.

talal-tilted commented 1 year ago

Hmm i am going to investigate about the code .. but do you know why sometime the headless task is not even executed ?

The code is in the index.js file (root file of the app). And i am logging in the function, i got them but no location event are triggered.

Here is the code in the index.js

/**
 * @format
 */

import { AppRegistry, Platform } from 'react-native'
import BackgroundGeolocation from 'react-native-background-geolocation'
import { getBrand, getModel } from 'react-native-device-info'

import { name as appName } from '@appDetails'
import App from '@appRoot'
import AsyncStorage from "@react-native-async-storage/async-storage";
import {useGeolocationStore} from "./src/services/stores/geolocation";

AppRegistry.registerComponent(appName, () => App)

if(Platform.OS === 'android'){
  const HeadlessTask = async (event) => {
    const { setCoordinatesHistory } = useGeolocationStore.getState()
    const prevData = await AsyncStorage.getItem('coordinate') ?? '[]'
    const decodedData = JSON.parse(prevData)

    switch (event.name) {
      case 'location':
        const eventCoords = event.params?.coords ?? {}
        const payload = {
          datetime: new Date().toISOString(),
          deviceBrand: `${getBrand()} ${getModel()}`,
          deviceId: '',
          latitude: eventCoords?.latitude,
          latitudeDelta: 0.04,
          longitude: eventCoords?.longitude,
          longitudeDelta: 0.05
        }
        decodedData?.push(payload)
        try {
          setCoordinatesHistory(payload)
        } catch(e){

        }
        const encodedData = JSON.stringify(decodedData)
        await AsyncStorage.setItem('coordinate', encodedData)
        break
    }
  }

  BackgroundGeolocation.registerHeadlessTask(HeadlessTask)
}
christocracy commented 1 year ago

but no location event are triggered.

You need to physically move with the device before the plugin will turn on location-services and record locations.

you can simulate moving by shaking the device vigorously to simulate walking (can take some time, typically 10-30s of shaking).

i suggest you observe $ adb logcat *:S TSLocationManager:V while doing so.

talal-tilted commented 1 year ago

Yep i was testing in my car, i drove like 1km ..

Okay i will try this command and see, i will let you know.

Thanks for the quick reply 👍🏻

christocracy commented 1 year ago

You’ve configured debug: true: do you hear the plug-in’s debug soundFx? Is the foreground-service notification shown? If not, this is not a “HeadlessTask” problem, but a “plugin is not tracking at all” problem and you should go visit https://dontkillmyapp.com

talal-tilted commented 1 year ago

Yes i hear the soundFx, and everything is working well in foreground and even when the app is in background. Only problem is when the app is killed.

christocracy commented 1 year ago

Only problem is when the app is killed.

Do hear the debug sounds when the app is killed?

christocracy commented 1 year ago

I’d be investigating this, if I were you:

StrongBox security storage is not available. android.security.keystore.StrongBoxUnavailableException: Failed to generate key pair at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:512) at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:471) at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:727) at com.oblador.keychain.cipherStorage.CipherStorageKeystoreRsaEcb.generateKey(CipherStorageKeystoreRsaEcb.java:269) at com.oblador.keychain.cipherStorage.CipherStorageBase.tryGenerateStrongBoxSecurityKey(CipherStorageBase.java:475) at com.oblador.keychain.cipherStorage.CipherStorageBase.tryGenerateStrongBoxSecurityKey(CipherStorageBase.java:460) at com.oblador.keychain.cipherStorage.CipherStorageBase.generateKeyAndStoreUnderAlias(CipherStorageBase.java:413) at com.oblador.keychain.KeychainModule.internalWarmingBestCipher(KeychainModule.java:174) at com.oblador.keychain.KeychainModule.$r8$lambda$DYujhqpjRgfFQ_gyuwMwyxxqDlk(Unknown Source:0) at com.oblador.keychain.KeychainModule$$ExternalSyntheticLambda0.run(Unknown Source:2) at java.lang.Thread.run(Thread.java:933) Caused by: android.security.KeyStoreException: No StrongBox available

talal-tilted commented 1 year ago

Nope i do not and i waited like 10 mins moving, i tried many things before posting the issue.

I will also try the same code on a samsung phone, maybe i will get some clues..

The strongbox error is related to react-native-keychain, it is not used anymore, i will remove it from the projet and see but not sure if it is related.. i will try this also

christocracy commented 1 year ago

I’d probably also disable all my code I’m expecting to run in my headless task and do BackgroundGeolocation.logger message in there (see api docs). Then I’d go for a field test and fetch my logs with .emailLog(myEmail) to see if my headless log messages are there in the logs. Then I’d conclude there’s nothing wrong with the plugin and that the custom code in the HeadlessTask is at fault.

talal-tilted commented 1 year ago

Yep i will do that too. Thanks a lot !

christocracy commented 1 year ago

And, like I said: “you can simulate moving while sitting at your desk and simply shaking the device vigorously.” You don’t need to go outside for this sort of test

talal-tilted commented 1 year ago

Good to know, because i was doing all my tests on road, in my car 😅

github-actions[bot] commented 3 months ago

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

github-actions[bot] commented 3 months ago

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