From fbce0be45731234e7ab67e2678a308eccc028da5 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 20 Sep 2018 23:54:03 -0400 Subject: [PATCH] listen to messages for credential store updates --- src/iOS/AppDelegate.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/iOS/AppDelegate.cs b/src/iOS/AppDelegate.cs index af3d95d2a..44607fe5a 100644 --- a/src/iOS/AppDelegate.cs +++ b/src/iOS/AppDelegate.cs @@ -138,6 +138,28 @@ namespace Bit.iOS UIApplication.SharedApplication.SetStatusBarHidden(!show, false); }); + MessagingCenter.Subscribe(Xamarin.Forms.Application.Current, + "FullSyncCompleted", (sender, successfully) => + { + if(successfully) + { + + } + }); + + MessagingCenter.Subscribe(Xamarin.Forms.Application.Current, + "UpsertedCipher", (sender, id) => + { + + }); + + + MessagingCenter.Subscribe(Xamarin.Forms.Application.Current, + "DeletedCipher", (sender, id) => + { + + }); + ZXing.Net.Mobile.Forms.iOS.Platform.Init(); return base.FinishedLaunching(app, options); }