Acknowledged

Connect IQ SDK 7.4.3 Oauth2 malforms urls on Android

When using the authenticate oauth2 API, the url sent to the default browser by the Connect IQ app is malformed on Android devices.

The url should look like https://requesturl?parameter1=xxxxx&parameter2=yyy etc

But instead it produces https://requesturl&parameter1=xxxxx&parameter=yyy 

The url is correctly formed on iPhone devices. Suggesting the bug is in the Android Connect IQ app

Parents
  • Plus, if the url is modified in the browser to replace the & with ?

    What if you just add “?” without removing the first “&”?

    e.g.

    h t t p s : : / / requesturl?&parameter1=xxxxx&parameter2=yyy 

Comment
  • Plus, if the url is modified in the browser to replace the & with ?

    What if you just add “?” without removing the first “&”?

    e.g.

    h t t p s : : / / requesturl?&parameter1=xxxxx&parameter2=yyy 

Children
  • Oh, I've found a way round it by adding ?android=1 to the auth url, if the user selects Google Android as the phone type in the app settings.  But it's less than ideal having to do this for the Garmin Android bug.  The code shouldn't have to care as to whether they have a paired Android or iOS phone but it does. I'd rather fixed the underlying bug in their Android code. Hey ho.