owntracks / ios

OwnTracks' iPhone App
http://owntracks.org
Other
315 stars 90 forks source link

Value of atmospheric pressure missing on settings #779

Closed jpmens closed 4 months ago

jpmens commented 4 months ago

IMG_7142

As recently discusse, iPhone 13 mini, OwnTracks 17.1.3.

Pressure is being reported in JSON on location publish:

{
  "_type": "location",
  "acc": 35,
  "alt": 110,
  "batt": 68,
  "bs": 1,
  "conn": "w",
  "created_at": 1708331250,
  "m": 1,
  "p": 101.12,
  "t": "u",
  "tid": "jp",
  "tst": 1708331248,
  "vac": 16
}
ckrey commented 4 months ago

Please tell me your iOS version, language, and region settings

I am running iOS 17.3.1, German or English and the region settings below and get the expected result:

IMG_9991

IMG_9992

jpmens commented 4 months ago

iOS 16.7.2 Language English Region Germany

Temperature C Measurement system Metric

ckrey commented 4 months ago

It may be a layout issue... If you turn your iPhone to Landscape and back, does the pressure value appear? Other than that it may be an iOS 16.7.2 issue. The methods used are available in iOS>=10.0

jpmens commented 4 months ago

Pressure doesn't appear in landscape mode either, also not after a republish.

Let's ignore this for now.

ckrey commented 4 months ago

I found an old Xcode 14.2 with an iPhone Simulator 16.2:

The problem you reported is visible in 16.2

jpmens commented 4 months ago

Thanks for checking, @ckrey, which means the problem is historic, so I will now close this.

jpmens commented 4 months ago

After upgrading iOS to 17.3.1 I see pressure displayed.

image