listen to messages for credential store updates

This commit is contained in:
Kyle Spearrin 2018-09-20 23:54:03 -04:00
parent 24304c2f55
commit fbce0be457

View file

@ -138,6 +138,28 @@ namespace Bit.iOS
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();
return base.FinishedLaunching(app, options);
}