From b56aad7a4838e3c6113b589a834376f01f0f7faf Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 3 Jun 2019 10:13:45 +0200 Subject: [PATCH] ios: Do not log the private key --- ios/Runner/AppDelegate.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/Runner/AppDelegate.m b/ios/Runner/AppDelegate.m index bc5f6dc9..e83d636a 100644 --- a/ios/Runner/AppDelegate.m +++ b/ios/Runner/AppDelegate.m @@ -30,6 +30,10 @@ NSString* GetDirectoryOfType(NSSearchPathDirectory dir) { NSLog(@"Called %@", method); if (arguments != nil) { for (NSString *key in [arguments allKeys]) { + if ([key isEqualToString:@"privateKey"]) { + NSLog(@". privateKey: "); + continue; + } NSLog(@". %@: %@", key, [arguments objectForKey:key]); } }