You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I simply copy the Configuration from Readme , BackgroundGeolocation.start(); is showing not throwing any error but location is not getting shared.and no notification is getting popped up
getting error in logcat as Unable to start service Intent { flg=0x4 cmp=com.onewaycorp.daddysroad/com.marianhello.bgloc.LocationService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } U=0: not found
BackgroundGeolocation.on('error', (error) => { also not throwing any error
Expected Behavior
Location sharing should be active and a notification pops up saying background tracking enabled
Actual Behavior
Notification not coming
Logs
04-07 15:18:31.030 30215 31964 D com.marianhello.bgloc.data.sqlite.SQLiteConfigurationDAO: Configuration persisted with rowId = 1 04-07 15:18:31.031 30215 31964 D com.marianhello.bgloc.BackgroundGeolocationFacade: Service configured with: Config[distanceFilter=50 stationaryRadius=50.0 desiredAccuracy=0 interval=10000 fastestInterval=5000 activitiesInterval=10000 isDebugging=true stopOnTerminate=false stopOnStillActivity=false startOnBoot=false startForeground=true locationProvider=1 nTitle=Background tracking nText=enabled nIconLarge= nIconSmall= nIconColor= url=http://192.168.81.15:3000/location syncUrl=http://192.168.1.2:3000/location syncThreshold=10 httpHeaders={X-FOO=bar} maxLocations=10000 postTemplate={"lat":"@latitude","lon":"@longitude","foo":"bar"}] 04-07 15:18:31.037 30215 31966 D com.marianhello.bgloc.BackgroundGeolocationFacade: Starting service 04-07 15:18:31.051 30215 31966 I com.marianhello.bgloc.BackgroundGeolocationFacade: Starting bg service 04-07 15:18:31.066 3739 4024 W ActivityManager: Unable to start service Intent { flg=0x4 cmp=com.onewaycorp.daddysroad/com.marianhello.bgloc.LocationService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } U=0: not found 04-07 15:18:31.130 30215 30215 D com.marianhello.bgloc.BackgroundGeolocationFacade: Binding to service 04-07 15:18:31.140 3739 13976 W ActivityManager: Unable to start service Intent { cmp=com.onewaycorp.daddysroad/com.marianhello.bgloc.LocationService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } } U=0: not found
I dont know whether this one is same or not.. just referring here #89
The text was updated successfully, but these errors were encountered:
Your Environment
Context
When I simply copy the Configuration from Readme , BackgroundGeolocation.start(); is showing not throwing any error but location is not getting shared.and no notification is getting popped up
getting error in logcat as
Unable to start service Intent { flg=0x4 cmp=com.onewaycorp.daddysroad/com.marianhello.bgloc.LocationService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } U=0: not found
BackgroundGeolocation.on('error', (error) => {
also not throwing any errorExpected Behavior
Location sharing should be active and a notification pops up saying background tracking enabled
Actual Behavior
Notification not coming
Logs
04-07 15:18:31.030 30215 31964 D com.marianhello.bgloc.data.sqlite.SQLiteConfigurationDAO: Configuration persisted with rowId = 1 04-07 15:18:31.031 30215 31964 D com.marianhello.bgloc.BackgroundGeolocationFacade: Service configured with: Config[distanceFilter=50 stationaryRadius=50.0 desiredAccuracy=0 interval=10000 fastestInterval=5000 activitiesInterval=10000 isDebugging=true stopOnTerminate=false stopOnStillActivity=false startOnBoot=false startForeground=true locationProvider=1 nTitle=Background tracking nText=enabled nIconLarge= nIconSmall= nIconColor= url=http://192.168.81.15:3000/location syncUrl=http://192.168.1.2:3000/location syncThreshold=10 httpHeaders={X-FOO=bar} maxLocations=10000 postTemplate={"lat":"@latitude","lon":"@longitude","foo":"bar"}] 04-07 15:18:31.037 30215 31966 D com.marianhello.bgloc.BackgroundGeolocationFacade: Starting service 04-07 15:18:31.051 30215 31966 I com.marianhello.bgloc.BackgroundGeolocationFacade: Starting bg service 04-07 15:18:31.066 3739 4024 W ActivityManager: Unable to start service Intent { flg=0x4 cmp=com.onewaycorp.daddysroad/com.marianhello.bgloc.LocationService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } (has extras) } U=0: not found 04-07 15:18:31.130 30215 30215 D com.marianhello.bgloc.BackgroundGeolocationFacade: Binding to service 04-07 15:18:31.140 3739 13976 W ActivityManager: Unable to start service Intent { cmp=com.onewaycorp.daddysroad/com.marianhello.bgloc.LocationService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } } U=0: not found
I dont know whether this one is same or not.. just referring here #89
The text was updated successfully, but these errors were encountered: