medium_splash_tokenauth icon indicating copy to clipboard operation
medium_splash_tokenauth copied to clipboard

Changed the import for HttpHeaders

Open somupra opened this issue 5 years ago • 1 comments

importing 'dart:_http' gave error that it can't access the private package, replacing it with 'dart:io' fixed the issue, However, authentication headers are not passed properly, printing the token gave an empty string, please help :)

somupra avatar Jul 09 '19 14:07 somupra

@pbirdsall Nope, actually I was passing the wrong header there, there's no problem in this approach. I've just confirmed, 'dart:io' is the correct package I guess.

somupra avatar Jul 09 '19 16:07 somupra