+ 12

Really Strange

Is the device motion API going to be removed? Or some changes are there in the guidelines?? Prior to updating chrome, this API worked perfectly. Now, after updating it it only executes once and returns "null". Same thing after updating Android System Webview. It is to be noted that I did not change my phone. Can anyone explain me whats happening?

9th Dec 2017, 4:08 PM
Swapnil Srivastava
Swapnil Srivastava - avatar
5 Respostas
+ 9
EDIT: Another update fixed it.
12th Dec 2017, 4:41 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 11
@Kirk I don't have any codes using that API. I was planning to make one.
10th Dec 2017, 3:52 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 6
You have a lot of codes; if one of those uses the API could you link it so others can compare? Otherwise, I could link mine but I can't access all my sensors (one of my devices is known to occasionally lie + I have independent Android) so I don't have tests everywhere.
10th Dec 2017, 12:23 AM
Kirk Schafer
Kirk Schafer - avatar
+ 6
Features to be removed: https://www.chromestatus.com/features#deprecated Removed: look for the red (x): https://www.chromestatus.com/features#removed Weirdly, I had to use Firefox to browse these​; Chrome wouldn't work :)
10th Dec 2017, 5:21 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
Thanks, I thought this was a little mysterious.
12th Dec 2017, 4:46 AM
Kirk Schafer
Kirk Schafer - avatar