mirror of
https://github.com/bitwarden/mobile
synced 2025-12-12 06:13:21 +00:00
HttpService abstraction with CustomAndroidClientHandler to handle xamarin android bug with error response body
This commit is contained in:
12
src/Android/Services/HttpService.cs
Normal file
12
src/Android/Services/HttpService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using Xamarin.Android.Net;
|
||||
using Bit.App;
|
||||
using Bit.App.Abstractions;
|
||||
|
||||
namespace Bit.Android.Services
|
||||
{
|
||||
public class HttpService : IHttpService
|
||||
{
|
||||
public ApiHttpClient Client => new ApiHttpClient(new CustomAndroidClientHandler());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user