You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
great work on the docker. We succesfully run it and it will be powering our standard OBA deployments.
We noticed a strange behaviour linked to differences in how OBA ios treats formatting of lat/lon included in endpoints produced by oba docker.
When ios app (setup with any other language than english - i.e. polish, german) sends requests: api/where/stops-for-location.json?lon=16.903518751776243&latSpan=0.00919621834986728&lat=52.36105449372918&lonSpan=0.009276089134189647&version=2&app_ver=24.3.1&key=web&app_uid=215BB071-58FF-41C7-AC51-A184CBB7B4FA
it's getting an error:
When we replace the . with , for lat/lon/latspan/lonspan, it works again: api/where/stops-for-location.json?lon=16,903518751776243&latSpan=0,00919621834986728&lat=52,36105449372918&lonSpan=0,009276089134189647&version=2&app_ver=24.3.1&key=web&app_uid=215BB071-58FF-41C7-AC51-A184CBB7B4FA
To debug the error in ios, try opening any OBA endpoint in xcode and start emulator (dont use english language).
The text was updated successfully, but these errors were encountered:
ok, we found a solution/fix for anybody that runs this outside of the US (with different language than english).What works for us is adding the following directive to virtualhost settings of Apache server: RequestHeader set Accept-Language "en-US"
Hi,
great work on the docker. We succesfully run it and it will be powering our standard OBA deployments.
We noticed a strange behaviour linked to differences in how OBA ios treats formatting of lat/lon included in endpoints produced by oba docker.
When ios app (setup with any other language than english - i.e. polish, german) sends requests:
api/where/stops-for-location.json?lon=16.903518751776243&latSpan=0.00919621834986728&lat=52.36105449372918&lonSpan=0.009276089134189647&version=2&app_ver=24.3.1&key=web&app_uid=215BB071-58FF-41C7-AC51-A184CBB7B4FA
it's getting an error:
When we replace the . with , for lat/lon/latspan/lonspan, it works again:
api/where/stops-for-location.json?lon=16,903518751776243&latSpan=0,00919621834986728&lat=52,36105449372918&lonSpan=0,009276089134189647&version=2&app_ver=24.3.1&key=web&app_uid=215BB071-58FF-41C7-AC51-A184CBB7B4FA
To debug the error in ios, try opening any OBA endpoint in xcode and start emulator (dont use english language).
The text was updated successfully, but these errors were encountered: