mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
LinphoneManager.m: instanciate in app manager only after linphone core initialization
This commit is contained in:
parent
c6960034f3
commit
54afa31e4d
1 changed files with 2 additions and 2 deletions
|
|
@ -295,8 +295,6 @@ struct codec_name_pref_table codec_pref_table[]={
|
|||
#endif
|
||||
}
|
||||
|
||||
_iapManager = [[InAppProductsManager alloc] init];
|
||||
|
||||
[self migrateFromUserPrefs];
|
||||
}
|
||||
return self;
|
||||
|
|
@ -1399,6 +1397,8 @@ static BOOL libStarted = FALSE;
|
|||
// create linphone core
|
||||
[self createLinphoneCore];
|
||||
|
||||
_iapManager = [[InAppProductsManager alloc] init];
|
||||
|
||||
linphone_core_migrate_to_multi_transport(theLinphoneCore);
|
||||
|
||||
// init audio session (just getting the instance will init)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue