diff --git a/packages/backend/src/nest/common/logger.ts b/packages/backend/src/nest/common/logger.ts index eed96b28fb..185552065c 100644 --- a/packages/backend/src/nest/common/logger.ts +++ b/packages/backend/src/nest/common/logger.ts @@ -1,3 +1,3 @@ import { createQuietLogger } from '@quiet/logger' -export const createLogger = createQuietLogger('backend', true) +export const createLogger = createQuietLogger('backend') diff --git a/packages/backend/src/rn-bridge.ts b/packages/backend/src/rn-bridge.ts index f7322fc794..eba2b04f34 100644 --- a/packages/backend/src/rn-bridge.ts +++ b/packages/backend/src/rn-bridge.ts @@ -46,10 +46,11 @@ const initRnBridge = () => { } static parsePayload(message: string) { + logger.warn('rn-bridge payload', message) const parsed: { [key: string]: string } = {} const entries = message.split('|') if (entries.length < 1) { - logger.warn('Malformed or non-existen rn-bridge payload ', entries) + logger.warn('Malformed or non-existent rn-bridge payload ', entries) return parsed } entries.forEach(s => { diff --git a/packages/mobile/ios/Quiet/AppDelegate.m b/packages/mobile/ios/Quiet/AppDelegate.m index 155174e411..0bc8a2f627 100644 --- a/packages/mobile/ios/Quiet/AppDelegate.m +++ b/packages/mobile/ios/Quiet/AppDelegate.m @@ -176,7 +176,7 @@ - (void)applicationDidEnterBackground:(UIApplication *)application { [self stopTor]; - NSString * message = [NSString stringWithFormat:@""]; + NSString * message = [NSString stringWithFormat:@"app:close"]; [self.nodeJsMobile sendMessageToNode:@"close":message]; // Flush persistor before app goes idle