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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user