Highlighted

Geolocation heading is allways "-1" on iPhone X, AIR SDK 29.0.0.112

Participant ,
Mar 29, 2018

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):

bug_submission_failed.PNGBug Submission Failed

Bug Submission Failed

TOPICS
Air beta

Views

569

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Geolocation heading is allways "-1" on iPhone X, AIR SDK 29.0.0.112

Participant ,
Mar 29, 2018

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):

bug_submission_failed.PNGBug Submission Failed

Bug Submission Failed

TOPICS
Air beta

Views

570

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 29, 2018 0
Adobe Employee ,
Apr 02, 2018

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 02, 2018 1
Participant ,
Apr 03, 2018

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 03, 2018 0