mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
fix pushnotification
This commit is contained in:
parent
380bbe3416
commit
ff4a0d0d1f
4 changed files with 4 additions and 4 deletions
|
|
@ -2394,7 +2394,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
}
|
||||
}
|
||||
|
||||
if ([LinphoneManager.instance lpConfigBoolForKey:@"backgroundmode_preference"] && !pushNotifEnabled) {
|
||||
if ([LinphoneManager.instance lpConfigBoolForKey:@"voip_mode_preference"] && [LinphoneManager.instance lpConfigBoolForKey:@"backgroundmode_preference"] && !pushNotifEnabled) {
|
||||
// Keep this!! Socket VoIP is deprecated after 9.0, but sometimes it's the only way to keep the phone background and receive the call. For example, when there is only local area network.
|
||||
// register keepalive
|
||||
if ([[UIApplication sharedApplication]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[app]
|
||||
animations_preference=1
|
||||
autoanswer_notif_preference=1
|
||||
backgroundmode_preference=0
|
||||
backgroundmode_preference=1
|
||||
edge_opt_preference=0
|
||||
enable_log_collect=0
|
||||
file_transfer_migration_done=1
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ debug_popup_email=linphone-iphone@belledonne-communications.com
|
|||
send_logs_include_linphonerc_and_chathistory=0
|
||||
#use_phone_number=0
|
||||
publish_presence=0
|
||||
backgroundmode_preference=0
|
||||
backgroundmode_preference=1
|
||||
use_rls_presence=1
|
||||
|
||||
accept_early_media=0
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[app]
|
||||
animations_preference=1
|
||||
autoanswer_notif_preference=1
|
||||
backgroundmode_preference=0
|
||||
backgroundmode_preference=1
|
||||
edge_opt_preference=0
|
||||
enable_log_collect=0
|
||||
file_transfer_migration_done=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue