{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/658","repository_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt","labels_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/658/comments","events_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/658/events","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/658","id":318291073,"number":658,"title":"Geofence callback doesn't get called on Android 8 when crossing out","user":{"login":"t2wu","id":1560064,"avatar_url":"https://avatars0.githubusercontent.com/u/1560064?v=4","gravatar_id":"","url":"https://api.github.com/users/t2wu","html_url":"https://github.com/t2wu","followers_url":"https://api.github.com/users/t2wu/followers","following_url":"https://api.github.com/users/t2wu/following{/other_user}","gists_url":"https://api.github.com/users/t2wu/gists{/gist_id}","starred_url":"https://api.github.com/users/t2wu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t2wu/subscriptions","organizations_url":"https://api.github.com/users/t2wu/orgs","repos_url":"https://api.github.com/users/t2wu/repos","events_url":"https://api.github.com/users/t2wu/events{/privacy}","received_events_url":"https://api.github.com/users/t2wu/received_events","type":"User","site_admin":false},"labels":[{"id":493808234,"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/labels/Waiting%20for%20feedback","name":"Waiting for feedback","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-27T06:23:33Z","updated_at":"2018-05-02T13:01:46Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Your Environment\r\n* Plugin version:\r\n* Platform: Android \r\n* OS version: Android 8.0.0\r\n* Device manufacturer / model: Samsung Galaxy S9\r\n* Cordova version (`cordova -v`): 7.1.0\r\n* Cordova platform version (`cordova platform ls`): android 6.4.0\r\n* Plugin config\r\n\r\n```\r\n    window.BackgroundGeolocation.configure({\r\n      desiredAccuracy: 1000, // <-- Config params // 0, 10, 100, 1000, where 1000 is the lowest accuracy\r\n      distanceFilter: 50,\r\n      timeout: 40000, // 40 seconds for every location fetch\r\n      activityRecognitionInterval: 10000, // android\r\n      // locationUpdateInterval: 1000,// With distanceFilter: 0, Sets the desired interval for location updates, in milliseconds.\r\n      timeout: 3000,\r\n      geofenceInitialTriggerEntry: true,\r\n      fastestLocationUpdateInterval: 10000,\r\n      forceReloadOnGeofence: true,\r\n    }, ...\r\n```\r\n\r\n## Expected Behavior\r\nCrossing event should be received for geofence when testing by physically moving in and out of the geofence boundary\r\n\r\n## Actual Behavior\r\nNo crossing event\r\n\r\n## Steps to Reproduce\r\n<!--- reproduce this issue; include code to reproduce, if relevant -->\r\n1. Run app on Android 8. Samsung Galaxy S9 is what I have.\r\n2. Walk out of the geofence zone.\r\n\r\n## Context\r\nJust want the event for crossing out of geofence region.\r\n\r\n## Debug logs\r\nNothing to show for now.\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/comments/385969748","html_url":"https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/658#issuecomment-385969748","issue_url":"https://api.github.com/repos/transistorsoft/cordova-background-geolocation-lt/issues/658","id":385969748,"user":{"login":"christocracy","id":14999,"avatar_url":"https://avatars1.githubusercontent.com/u/14999?v=4","gravatar_id":"","url":"https://api.github.com/users/christocracy","html_url":"https://github.com/christocracy","followers_url":"https://api.github.com/users/christocracy/followers","following_url":"https://api.github.com/users/christocracy/following{/other_user}","gists_url":"https://api.github.com/users/christocracy/gists{/gist_id}","starred_url":"https://api.github.com/users/christocracy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christocracy/subscriptions","organizations_url":"https://api.github.com/users/christocracy/orgs","repos_url":"https://api.github.com/users/christocracy/repos","events_url":"https://api.github.com/users/christocracy/events{/privacy}","received_events_url":"https://api.github.com/users/christocracy/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T13:01:46Z","updated_at":"2018-05-02T13:01:46Z","author_association":"OWNER","body":"I primarily develop upon a Pixel @ 8.1.0 and I have no problems with geofences, ever.  No, there's nothing special that needs to be done.  `foregroundService: true` is automatically enforced for Android 8.  Setting it to `false` has no effect."}}
{"actor":{"display_login":"christocracy"}}