samrum/OnStarJS

FEATURE REQUEST: Vehicle Location

Closed this issue · 3 comments

The app can do it, so I am sure it can be reverse engineered into this. :)

thanks

The key to this is to figure out how the app does this. Perhaps running the app in the Android development environment virtual machine and then using something like Fiddler to capture all of the API calls using Fiddler's wildcard SSL certificates to allow decryption of HTTPS traffic.

Thinking about this more to accomplish this you have to get Android to trust the Fiddler wildcard certificates. I'm going to follow these instructions to see if I can capture how the native app requests the vehicle location.

Added this and updated the readme.
Accessing the data returned from a command is a little clunky but there's a bit in there about that as well: result.response.data.commandResponse.body

Cool. Thanks