From 8bf415268ad575452905c39c4a12ef241b7985c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Tue, 5 Nov 2024 20:00:12 +0100 Subject: [PATCH] Log systemVersion and model on startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- NextcloudTalk/AppDelegate.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NextcloudTalk/AppDelegate.m b/NextcloudTalk/AppDelegate.m index 79f32a8a2..e03dbcfc4 100644 --- a/NextcloudTalk/AppDelegate.m +++ b/NextcloudTalk/AppDelegate.m @@ -70,7 +70,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( [NCUtils removeOldLogfiles]; }); - [NCUtils log:[NSString stringWithFormat:@"Starting %@, version %@", NSBundle.mainBundle.bundleIdentifier, [NCAppBranding getAppVersionString]]]; + UIDevice *currentDevice = [UIDevice currentDevice]; + [NCUtils log:[NSString stringWithFormat:@"Starting %@, version %@, %@ %@, model %@", NSBundle.mainBundle.bundleIdentifier, [NCAppBranding getAppVersionString], currentDevice.systemName, currentDevice.systemVersion, currentDevice.model]]; //Init rooms manager to start receiving NSNotificationCenter notifications [NCRoomsManager sharedInstance];