makeOAuthRequest() documentation is disappointing

Former Member
Former Member
Hi,

OAuth is not trivial to set up. Please don't make it any harder than it already is.
The single example provided by the documentation has trivial errors in it.
Comm.encodeURL(https://www.serviceurl.com/) // Is missing quotes. function oAuthCallback(code, data) // Has an extra arg. Commumincations.registerForOAuthMessages(method(:oAuthCallback)); // You see the typo, right? Neither did I. I'd die of shame if I wrote something like this in an official documentation which is supposed to be read by tens / hundreds of developers.
I know you can do better. A student writing a bachelor's thesis usually does better.

Adding a working example to the SDK samples would make things much better (and probably these documentation drawbacks less noticeable).

Please let me expect more from Garmin.

Alex