VV
Size: a a a
VV
KA
public HttpMessageHandler NativeHttpHandler
{
get
{
var host = JavaSystem.GetProperty(@"https.proxyHost");
var port = JavaSystem.GetProperty(@"https.proxyPort");
if (string.IsNullOrEmpty(host))
return new HttpClientHandler();
var proxyAddress = host;
if (!string.IsNullOrEmpty(port)) proxyAddress = $@"{host}:{port}";
var handler = new HttpClientHandler {Proxy = new WebProxy(proxyAddress), UseProxy = true};
return handler;
}
}
public HttpMessageHandler NativeHttpHandler
{
get
{
var handler = new NSUrlSessionHandler();
return handler;
}
}
k
public HttpMessageHandler NativeHttpHandler
{
get
{
var host = JavaSystem.GetProperty(@"https.proxyHost");
var port = JavaSystem.GetProperty(@"https.proxyPort");
if (string.IsNullOrEmpty(host))
return new HttpClientHandler();
var proxyAddress = host;
if (!string.IsNullOrEmpty(port)) proxyAddress = $@"{host}:{port}";
var handler = new HttpClientHandler {Proxy = new WebProxy(proxyAddress), UseProxy = true};
return handler;
}
}
public HttpMessageHandler NativeHttpHandler
{
get
{
var handler = new NSUrlSessionHandler();
return handler;
}
}
V
SG
VV
VV
VA
SG
SG
VV
SG
VV
SG
VV
Firebase.InstanceID.InstanceId.SharedInstance.Token
сейчас это не работает. Вопрос, как получить токен сейчас?VV
SG
VV
SG
VV