|
@@ -202,6 +202,8 @@
|
|
|
{
|
|
|
if (self.account == nil || self.account.length == 0) { return; }
|
|
|
|
|
|
+ [[NCCommunicationCommon shared] writeLog:@"Application will enter in foreground"];
|
|
|
+
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationWillEnterForeground object:nil];
|
|
|
|
|
|
// Request Passcode
|
|
@@ -252,6 +254,8 @@
|
|
|
{
|
|
|
if (self.account == nil || self.account.length == 0) { return; }
|
|
|
|
|
|
+ [[NCCommunicationCommon shared] writeLog:@"Application did enter in background"];
|
|
|
+
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationDidEnterBackground object:nil];
|
|
|
|
|
|
[self passcodeWithAutomaticallyPromptForBiometricValidation:false];
|