Hey @schmidtwmark!
Just a heads up that Hyundai Canada changes the endpoint to align with our regions for vehicle location. The endpoint is now /tods/api/evc/fme. In my testing, the following changes have worked:
- SPA headers for location — the /evc/fme endpoint requires native app-style headers (from: SPA, brand: H,
native User-Agent, lowercase header keys) instead of the web portal (CWP) headers used for login
- Response parser to be updated — the new endpoint returns coordinates at
result.gpsDetail.coord instead of
result.coord
|
url: "\(apiBaseURL)/fndmcr", |
Hey @schmidtwmark!
Just a heads up that Hyundai Canada changes the endpoint to align with our regions for vehicle location. The endpoint is now
/tods/api/evc/fme. In my testing, the following changes have worked:native User-Agent, lowercase header keys) instead of the web portal (CWP) headers used for login
result.gpsDetail.coordinstead ofresult.coord
BetterBlueKit/Sources/BetterBlueKit/API/HyundaiCanadaAPI/HyundaiCanadaAPIClient.swift
Line 191 in 20f7a2b