update libs. update android security provider

This commit is contained in:
Kyle Spearrin 2018-07-16 08:55:37 -04:00
parent c9354f79b8
commit 366b9ddc4a
4 changed files with 26 additions and 30 deletions

View File

@ -869,6 +869,9 @@
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat">
<Version>25.4.0.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.GooglePlayServices.SafetyNet">
<Version>42.1021.1</Version>
</PackageReference>
<PackageReference Include="XLabs.IoC.SimpleInjector" Version="2.0.5782" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.2" />
<PackageReference Include="Plugin.CurrentActivity" Version="2.1.0.4" />

View File

@ -15,6 +15,7 @@ using XLabs.Ioc;
using System.Threading.Tasks;
using XLabs.Ioc.SimpleInjectorContainer;
using SimpleInjector;
using Android.Gms.Security;
namespace Bit.Android
{
@ -23,7 +24,7 @@ namespace Bit.Android
#else
[Application(Debuggable = false)]
#endif
public class MainApplication : Application
public class MainApplication : Application, ProviderInstaller.IProviderInstallListener
{
private const string FirstLaunchKey = "firstLaunch";
private const string LastVersionCodeKey = "lastVersionCode";
@ -37,6 +38,11 @@ namespace Bit.Android
{
SetIoc(this);
}
if(Build.VERSION.SdkInt <= BuildVersionCodes.Kitkat)
{
ProviderInstaller.InstallIfNeededAsync(ApplicationContext, this);
}
}
private void AndroidEnvironment_UnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
@ -132,5 +138,13 @@ namespace Bit.Android
container.Verify();
Resolver.SetResolver(new SimpleInjectorResolver(container));
}
public void OnProviderInstallFailed(int errorCode, Intent recoveryIntent)
{
}
public void OnProviderInstalled()
{
}
}
}

View File

@ -6507,17 +6507,17 @@ namespace Bit.Android
// aapt resource value: 0x7f0a0051
public const int ApplicationName = 2131361873;
// aapt resource value: 0x7f0a00b0
public const int AutoFillServiceDescription = 2131361968;
// aapt resource value: 0x7f0a00a9
public const int AutoFillServiceDescription = 2131361961;
// aapt resource value: 0x7f0a00af
public const int AutoFillServiceSummary = 2131361967;
// aapt resource value: 0x7f0a00a8
public const int AutoFillServiceSummary = 2131361960;
// aapt resource value: 0x7f0a0050
public const int Hello = 2131361872;
// aapt resource value: 0x7f0a00b1
public const int MyVault = 2131361969;
// aapt resource value: 0x7f0a00aa
public const int MyVault = 2131361962;
// aapt resource value: 0x7f0a0027
public const int abc_action_bar_home_description = 2131361831;
@ -6672,27 +6672,6 @@ namespace Bit.Android
// aapt resource value: 0x7f0a000f
public const int common_signin_button_text_long = 2131361807;
// aapt resource value: 0x7f0a00aa
public const int default_web_client_id = 2131361962;
// aapt resource value: 0x7f0a00ab
public const int firebase_database_url = 2131361963;
// aapt resource value: 0x7f0a00a8
public const int gcm_defaultSenderId = 2131361960;
// aapt resource value: 0x7f0a00ac
public const int google_api_key = 2131361964;
// aapt resource value: 0x7f0a00a9
public const int google_app_id = 2131361961;
// aapt resource value: 0x7f0a00ad
public const int google_crash_reporting_api_key = 2131361965;
// aapt resource value: 0x7f0a00ae
public const int google_storage_bucket = 2131361966;
// aapt resource value: 0x7f0a0052
public const int hockeyapp_crash_dialog_app_name_fallback = 2131361874;

View File

@ -32,10 +32,10 @@
<PackageReference Include="Refractored.FloatingActionButtonForms" Version="2.1.0" />
<PackageReference Include="sqlite-net-pcl" Version="1.5.166-beta" />
<PackageReference Include="System.Net.Http" Version="4.3.3" />
<PackageReference Include="Xam.Plugin.Connectivity" Version="3.1.1" />
<PackageReference Include="Xam.Plugin.Connectivity" Version="3.2.0" />
<PackageReference Include="Xam.Plugins.Settings" Version="3.1.1" />
<PackageReference Include="Xamarin.FFImageLoading.Forms" Version="2.4.3.840" />
<PackageReference Include="Xamarin.Forms" Version="3.1.0.583944" />
<PackageReference Include="Xamarin.Forms" Version="3.1.0.637273" />
<PackageReference Include="XLabs.IoC" Version="2.0.5782" />
<PackageReference Include="ZXing.Net.Mobile.Forms" Version="2.1.47" />
</ItemGroup>