{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/478","repository_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android","labels_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/478/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/478/events","html_url":"https://github.com/mapbox/mapbox-plugins-android/issues/478","id":319929674,"number":478,"title":"Location cannot be found with LocationLayer Plugin 5.0 examples","user":{"login":"AlexeyIke","id":18044177,"avatar_url":"https://avatars0.githubusercontent.com/u/18044177?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexeyIke","html_url":"https://github.com/AlexeyIke","followers_url":"https://api.github.com/users/AlexeyIke/followers","following_url":"https://api.github.com/users/AlexeyIke/following{/other_user}","gists_url":"https://api.github.com/users/AlexeyIke/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexeyIke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexeyIke/subscriptions","organizations_url":"https://api.github.com/users/AlexeyIke/orgs","repos_url":"https://api.github.com/users/AlexeyIke/repos","events_url":"https://api.github.com/users/AlexeyIke/events{/privacy}","received_events_url":"https://api.github.com/users/AlexeyIke/received_events","type":"User","site_admin":false},"labels":[{"id":591064401,"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/labels/location-layer-plugin","name":"location-layer-plugin","color":"7753eb","default":false},{"id":576426709,"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/labels/question","name":"question","color":"ed6498","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-03T13:51:20Z","updated_at":"2018-05-10T15:07:41Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI've use Mapbox  SDK v6.0.1 and LocationLayer plugin v 0.5.0\r\nI've add location init as described on LocationLayer plugin v 0.5.0 examples:\r\ncreate  locationEngine = new LocationEngineProvider(this).obtainBestLocationEngineAvailable() \r\nand set locationEngine.setPriority(LocationEnginePriority.HIGH_ACCURACY);\r\nLocation work till GSP available, after  GPS off by lost signal  or turned off by device settings - no any location found.\r\nI've try to set another priority : locationEngine.setPriority(LocationEnginePriority.BALANCED_POWER_ACCURACY);\r\n- and it  found location if cellular/WiFI location on, and Not found location if only GPS location enable on device. Absolutely different behaviour. \r\nSo:\r\n-  does HIGH_ACCURACY mean only GPS location will be used? \r\n- How to get ALL (GPS+ Cellular/WiFi) location used  anyway? Like LostEngine on previous mapbox sdk uses?\r\n-  Maybe some way to use LocationEngine.Type.GOOGLE_PLAY_SERVICES engine type? i'vetry to turn it on but no engine return - fails on locationEngineSupplier.hasDependencyOnClasspath() in initAvailableLocationEngines method."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/comments/388082517","html_url":"https://github.com/mapbox/mapbox-plugins-android/issues/478#issuecomment-388082517","issue_url":"https://api.github.com/repos/mapbox/mapbox-plugins-android/issues/478","id":388082517,"user":{"login":"electrostat","id":1819666,"avatar_url":"https://avatars0.githubusercontent.com/u/1819666?v=4","gravatar_id":"","url":"https://api.github.com/users/electrostat","html_url":"https://github.com/electrostat","followers_url":"https://api.github.com/users/electrostat/followers","following_url":"https://api.github.com/users/electrostat/following{/other_user}","gists_url":"https://api.github.com/users/electrostat/gists{/gist_id}","starred_url":"https://api.github.com/users/electrostat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrostat/subscriptions","organizations_url":"https://api.github.com/users/electrostat/orgs","repos_url":"https://api.github.com/users/electrostat/repos","events_url":"https://api.github.com/users/electrostat/events{/privacy}","received_events_url":"https://api.github.com/users/electrostat/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T15:07:41Z","updated_at":"2018-05-10T15:07:41Z","author_association":"NONE","body":"@sstolz Hi, as stated above, we no longer support `LOST` due to a lack of support on their end. \r\n\r\nWith a Hardware toggle as you are talking about and a device is indoors, then no our `AndroidLocationEngine` in `HIGH_ACCURACY` will not return a location point. It also sounds like that would be the case for the lower levels as well, since the native Android apis rely on software to figure out your location through wifi and network calls. The only way around this would be to utilize Google-Play-Services within your project and use our `GoogleLocationEngine`. It sounds like you have a unique case though and are looking to avoid this scenario.\r\n\r\nSounds like there is demand for a `LOST` replacement, so I will look into implementing that and making it an offering within our pipeline.\r\n\r\nIf you could give me more info on your circumstances and what your app is looking to do, I could make some recommendations to get the desired result you are looking for."}}
{"actor":{"display_login":"electrostat"}}