1
我們正試圖從我們的Xamarin Forms項目調用Salesforce restful API。這些調用在iOS應用程序方面工作正常,但Android失敗。Xamarin表單 - Salesforce - TLS 1.1或TLS 1.2。針對Android的POST API調用錯誤
HttpClient authClient = new HttpClient();
message = await authClient.PostAsync("url", content);
string responseString = await message.Content.ReadAsStringAsync();
我們在Android的「responseString」變量中收到以下響應。
<tr><td width="100%" height="100%"><div class="content">
<h1>**Stronger security is required**</h1><div class="simple">
<p>**To access this website, update your web browser or upgrade your operating system to support TLS 1.1 or TLS 1.2.**</p>
<p>For more information, see
<a href="https://help.salesforce.com/HTViewSolution?id=000221207&language=en_US" target="_blank">Salesforce disabling TLS 1.0</a>.
</p>
</div></div></td></tr>
</table></body>
</html>
我們需要找到一個應該支持iOS,Android和Win 10應用程序的解決方案。我們檢查了iOS,它工作。現在爲了Android而加入並且不工作。對於Windows,我們不檢查。
請幫忙。