diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 3e031049a..eaadf8ea1 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -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)