listen to messages for credential store updates
This commit is contained in:
parent
24304c2f55
commit
fbce0be457
|
@ -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 New Issue