mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
fix log enablement
This commit is contained in:
parent
3f12a347bd
commit
10fe800656
2 changed files with 4 additions and 1 deletions
|
|
@ -237,6 +237,9 @@
|
|||
UIApplicationState state = app.applicationState;
|
||||
|
||||
LinphoneManager *instance = [LinphoneManager instance];
|
||||
//init logs asap
|
||||
[Log enableLogs:[[LinphoneManager instance] lpConfigIntForKey:@"debugenable_preference"]];
|
||||
|
||||
BOOL background_mode = [instance lpConfigBoolForKey:@"backgroundmode_preference"];
|
||||
BOOL start_at_boot = [instance lpConfigBoolForKey:@"start_at_boot_preference"];
|
||||
[self registerForNotifications]; // Register for notifications must be done ASAP to give a chance for first SIP register to be done with right token. Specially true in case of remote provisionning or re-install with new type of signing certificate, like debug to release.
|
||||
|
|
|
|||
|
|
@ -1932,7 +1932,7 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
|
|||
LOGI(@"linphonecore is already created");
|
||||
return;
|
||||
}
|
||||
[Log enableLogs:[self lpConfigIntForKey:@"debugenable_preference"]];
|
||||
|
||||
connectivity = none;
|
||||
|
||||
// Set audio assets
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue