{"action":"closed","issue":{"url":"https://api.github.com/repos/jamesmontemagno/GeolocatorPlugin/issues/256","repository_url":"https://api.github.com/repos/jamesmontemagno/GeolocatorPlugin","labels_url":"https://api.github.com/repos/jamesmontemagno/GeolocatorPlugin/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/jamesmontemagno/GeolocatorPlugin/issues/256/comments","events_url":"https://api.github.com/repos/jamesmontemagno/GeolocatorPlugin/issues/256/events","html_url":"https://github.com/jamesmontemagno/GeolocatorPlugin/issues/256","id":333787583,"node_id":"MDU6SXNzdWUzMzM3ODc1ODM=","number":256,"title":"Altitude information is coming as 0 only ","user":{"login":"parth1729","id":503148,"node_id":"MDQ6VXNlcjUwMzE0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/503148?v=4","gravatar_id":"","url":"https://api.github.com/users/parth1729","html_url":"https://github.com/parth1729","followers_url":"https://api.github.com/users/parth1729/followers","following_url":"https://api.github.com/users/parth1729/following{/other_user}","gists_url":"https://api.github.com/users/parth1729/gists{/gist_id}","starred_url":"https://api.github.com/users/parth1729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parth1729/subscriptions","organizations_url":"https://api.github.com/users/parth1729/orgs","repos_url":"https://api.github.com/users/parth1729/repos","events_url":"https://api.github.com/users/parth1729/events{/privacy}","received_events_url":"https://api.github.com/users/parth1729/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-19T18:28:04Z","updated_at":"2018-06-20T16:02:15Z","closed_at":"2018-06-20T16:02:15Z","author_association":"NONE","body":"Version Number of Plugin: 4.5.0.6\r\nDevice Tested On: Honor 7 X , Oreo Update\r\nSimulator Tested On:\r\nVersion of VS: VS 2017 \r\nVersion of Xamarin:  3.0.0.550146 Xamarin Forms\r\nVersions of other things you are using:\r\n\r\n### Steps to reproduce the Behavior\r\nIn demo application position.Altitude is returning 0 only.\r\nAlso while integraiting it has the same behavior.\r\n\r\n### Expected Behavior\r\nposition.Altitude Should return actual Altitude\r\n\r\n### Actual Behavior\r\nposition.Altitude is returning 0 only\r\n\r\n### Code snippet\r\nvoid CrossGeolocator_Current_PositionChanged(object sender, PositionEventArgs e)\r\n\t{\r\n\r\n\t\tDevice.BeginInvokeOnMainThread(() =>\r\n\t\t{\r\n\t\t\tvar position = e.Position;\r\n\t\t\tPositions.Add(position);\r\n\t\t\tcount++;\r\n\t\t\tLabelCount.Text = $\"{count} updates\";\r\n\t\t\tlabelGPSTrack.Text = string.Format(\"Time: {0} \\nLat: {1} \\nLong: {2} \\nAltitude: {3} \\nAltitude Accuracy: {4} \\nAccuracy: {5} \\nHeading: {6} \\nSpeed: {7}\",\r\n\t\t\t\tposition.Timestamp, position.Latitude, position.Longitude,\r\n\t\t\t\tposition.Altitude, position.AltitudeAccuracy, position.Accuracy, position.Heading, position.Speed);\r\n\r\n\t\t});\r\n\t}\r\n\r\n\r\n\r\n### Screenshotst\r\n\r\n![screenshot_20180619-235550](https://user-images.githubusercontent.com/503148/41616814-94411dd8-741c-11e8-8b6a-c6880485aa2b.jpg)\r\n\r\n\r\n"}}
{"actor":{"display_login":"jamesmontemagno"}}