Skip to content

Commit

Permalink
Log systemVersion and model on startup
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
SystemKeeper authored and backportbot[bot] committed Nov 6, 2024
1 parent 56b2fb4 commit 8bf4152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NextcloudTalk/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 8bf4152

Please sign in to comment.