{"action":"opened","issue":{"url":"https://api.github.com/repos/xamarin/Essentials/issues/191","repository_url":"https://api.github.com/repos/xamarin/Essentials","labels_url":"https://api.github.com/repos/xamarin/Essentials/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/Essentials/issues/191/comments","events_url":"https://api.github.com/repos/xamarin/Essentials/issues/191/events","html_url":"https://github.com/xamarin/Essentials/issues/191","id":316317166,"number":191,"title":"Accelerometer Platform Inconsistencies","user":{"login":"charlespetzold","id":6651785,"avatar_url":"https://avatars1.githubusercontent.com/u/6651785?v=4","gravatar_id":"","url":"https://api.github.com/users/charlespetzold","html_url":"https://github.com/charlespetzold","followers_url":"https://api.github.com/users/charlespetzold/followers","following_url":"https://api.github.com/users/charlespetzold/following{/other_user}","gists_url":"https://api.github.com/users/charlespetzold/gists{/gist_id}","starred_url":"https://api.github.com/users/charlespetzold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlespetzold/subscriptions","organizations_url":"https://api.github.com/users/charlespetzold/orgs","repos_url":"https://api.github.com/users/charlespetzold/repos","events_url":"https://api.github.com/users/charlespetzold/events{/privacy}","received_events_url":"https://api.github.com/users/charlespetzold/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T15:41:12Z","updated_at":"2018-04-20T15:41:12Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nThe `Accelerometer` performs inconsistently among the three platforms.\r\n\r\n### Steps to Reproduce\r\n\r\nAttach an `Accelerometer.ReadingChanged` handler and call `Accelerometer.Start(SensorSpeed.Normal)`\r\n\r\n### Expected Behavior\r\n\r\nBased on documentation, the magnitude of the vector should be approximately 9.8 m/s². The vector components should be consistent among the three platforms.\r\n\r\n### Actual Behavior\r\n\r\nOn Android, the magnitude of the vector on an Android Nexus 5 is about 9.4 to 9.8, depending on orientation. (Close enough.) However, on an iPad Mini and a SurfacePro 2, the magnitude is approximately 1.0, evidently a normalized value.\r\n\r\nOn Android, positive Y values are to the bottom of the phone, positive X values are to the left, and positive Z values are to the back of the phone.  On the iPad Mini and SurfacePro 2, it's the same coordinate orientation but negative: Positive Y values are to the top of the device, positive X values are to the right, and positive Z values are to the front of the device. \r\n\r\n### Basic Information\r\n\r\nXamarin.Essentials 0.0.1.79-preview \r\nXamarin.Forms 2.5.0.280555 \r\n.NET Standard 2.0\r\nVisual Studio 2017 on Windows 10.0.16299\r\n\r\n- Platform Target Frameworks: \r\n  - iOS:  11.3\r\n  - Android: 8.1\r\n  - UWP:  10.0.16299.0\r\n- Android Support Library Version:  25.4.0.2\r\n- Affected Devices: Nexus 5, iPad Mini, SurfacePro 2\r\n\r\n### Reproduction Link\r\n\r\nhttps://github.com/xamarin/private-samples/tree/master/EssentialsExperiment\r\n"}}
{"actor":{"display_login":"charlespetzold"}}