1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-06 02:23:57 +00:00

Proper conditions for push reregistration. Added fix for app compat crash on resume from sleep while app was open.

This commit is contained in:
Kyle Spearrin
2016-08-27 14:36:32 -04:00
parent 395342be37
commit 5c6ff45cc9
5 changed files with 83 additions and 17 deletions

View File

@@ -102,6 +102,12 @@ namespace Bit.App
protected async override void OnResume()
{
base.OnResume();
// workaround for app compat bug
// ref https://forums.xamarin.com/discussion/62414/app-resuming-results-in-crash-with-formsappcompatactivity
await Task.Delay(10);
// Handle when your app resumes
Debug.WriteLine("OnResume");