Closed allisonc07 closed 9 months ago
Attention: 6 lines
in your changes are missing coverage. Please review.
Comparison is base (
6964c98
) 0.00% compared to head (1c4e3d8
) 0.00%.
Files | Patch % | Lines |
---|---|---|
SmartcarAuth/SmartcarAuth.swift | 0.00% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
For brands that require a virtual key to be registered on the vehicle in order to receive data and/or send commands to the vehicle, Smartcar will be sending back an additional query parameter,
virutal_key_url
, when redirecting back with the authorizationcode
. This PR updates the interface of thecompletionHandler
to include a new parameter,virtualKeyUrl
, and to pass the value of thevirtual_key_url
flag to thecompletionHandler
when present.From there, the
virtualKeyUrl
can be used within thecompletionHandler
that is created by the developer, and passed onto the BE, etc. so that it can be sent to the appropriate vehicle owners.