Android (Unity) problem

Hy,

I’m working on a small app in unity for Andriod devices. I’m using the API like calling this URL:


http://USERNAME:KEY@flightxml.flightaware.com/json/FlightXML2/InFlightInfo?ident=" + tailNumber + "&howMany=10&offset=0&_=1465562286089

It works like charm in the editor or when I make a build for PC.
The problem is, when I make a build for android, it’s says Error 401 Auth Required (when I try to call this URL)

Any idea, how can I fix this?

Specifying “USERNAME:KEY@” in the URL is usually not supported in all HTTP libraries, since that’s really just a shortcut for generating the proper HTTP Authorization headers.

Look at something like this:
stackoverflow.com/questions/509 … on-android