Copy link to clipboard
Copied
Hi,
I can't submit this bug in Adobe tracker, because it's have some problem - i'm always see Bug Submission Failed error.
Problem Description: Geolocation.Event allways return heading value as -1 on iPhone X 11.2.6.
The same code works on other iPhones (5S 11.2.6 for example)
Steps to Reproduce: create simple geolocation app
Actual Result: heading is allways -1
Expected Result: heading changing with device orientation
Any Workarounds: no
Hardware Info: iPhone X, iOS 11.2.6
Operating System: Windows 10 x64, Animate CC 2015.2, AIR SDK 29.0.0.112
UPD:
I have performed some tests with compas ANE. It's seems, that iPhoneX not returning magneticHeading or returning it like as "-1". In the same time trueHeading works fine. Please check it. It's seems that AIR Geolocation.Event.heading use magneticHeading.
Bug of Bug Tracker (all fields are filled):
Copy link to clipboard
Copied
Hi,
We've checked the value of the API GeolocationEvent.heading with AIR 29 on iPhone X (iOS 11.2.1) but the values returned are correct and not -1. Can you please share your sample code where the issue is reproducible so that we can investigate further.
Thanks,
Pravishti | Adobe AIR Engineering
Copy link to clipboard
Copied
Thank you for your attention to this issue.
I used the code directly from the ActionScript example (with trace event.heading of course):
Geolocation - Adobe ActionScript® 3 (AS3 )
If you have tested on your own iPhoneX and have not found issue with Heading, then maybe my iPhoneX has some issue with magnetic/compass module? If so, then let's close this question