[PushNotif] add keep_alive on start LC to workaround push notif on chat message

This commit is contained in:
Brieuc Viel 2017-12-11 14:58:40 +01:00
parent 10faf268d9
commit cd3ab3aeb7

View file

@ -595,6 +595,8 @@ static void migrateWizardToAssistant(const char *entry, void *user_data) {
reason:@"Linphone core not initialized yet"
userInfo:nil]);
}
//Force keep alive to workaround push notif on chat message
linphone_core_enable_keep_alive(theLinphoneCore, true);
return theLinphoneCore;
}