mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
listen to messages for credential store updates
This commit is contained in:
parent
24304c2f55
commit
fbce0be457
1 changed files with 22 additions and 0 deletions
|
@ -138,6 +138,28 @@ namespace Bit.iOS
|
||||||
UIApplication.SharedApplication.SetStatusBarHidden(!show, false);
|
UIApplication.SharedApplication.SetStatusBarHidden(!show, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
MessagingCenter.Subscribe<Xamarin.Forms.Application, bool>(Xamarin.Forms.Application.Current,
|
||||||
|
"FullSyncCompleted", (sender, successfully) =>
|
||||||
|
{
|
||||||
|
if(successfully)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(Xamarin.Forms.Application.Current,
|
||||||
|
"UpsertedCipher", (sender, id) =>
|
||||||
|
{
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(Xamarin.Forms.Application.Current,
|
||||||
|
"DeletedCipher", (sender, id) =>
|
||||||
|
{
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
ZXing.Net.Mobile.Forms.iOS.Platform.Init();
|
ZXing.Net.Mobile.Forms.iOS.Platform.Init();
|
||||||
return base.FinishedLaunching(app, options);
|
return base.FinishedLaunching(app, options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue