mirror of
https://github.com/bitwarden/mobile
synced 2025-12-22 11:13:49 +00:00
listen to messages for credential store updates
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user