Respond to push notifications related to your app’s complications, file providers, and VoIP services using PushKit.

Posts under PushKit tag

201 Posts

Post

Replies

Boosts

Views

Activity

Scheduling local notification after app is terminated from App Switcher by the user manually
Dear friends, In my app, i am using Silent Push Notification and Background Fetch to schedule local notification. Everything is working fine, even when the app is in background state. But in some devices, when the app is quit manually from App Switcher, silence push notification is not received and hence local notification is not scheduled properly. We could not use PushKit as our app is not providing VoIP services and we cannot use continuous location detection feature, as it may drain battery of the device. Is there any trick to make scheduling local notification works even when the app is quit from App Switcher? Is it possible use PushKit and get approved by Apple by any special request? Please advise, Thank you.
4
0
3.3k
Sep ’22
iOS 15 PushKit VOIP Not Received When App is Not Running
After updating to iOS 15, our app is no longer receiving voip notifications when in a not running (killed) state. However, voip notifications come through just fine if the app is in the foreground or background. This behavior is specific to iOS 15, as testing the same exact build on iOS 14 works in all 3 states: foreground, background, & killed. Looking through the device console, I see the following logs coming through when running the app on iOS 15: Killing VoIP app because it failed to post an incoming call in time VoIP app failed to post incoming call and then eventually: VoIP app no longer eligible to launch I'm aware about needing to report the call to CallKit immediately - this is what we're doing (i.e. it works fine on iOS 14). And after reviewing the PushKit & CallKit docs, I see no changes that would affect this. Also, I tested this with the Facebook Messenger app, and the same problem was happening; no voip received when the app is killed on iOS 15, but on iOS 14 it works fine. Anyone know what's going on here?
4
2
7.4k
Sep ’22
Web Push and Push notifications
Apple recently introduced and presented Web Push, a new Web Kit tool permitting to send notifications to users on your websites and web apps. However, push notifications have been a thing on macOS since Mavericks. Therefore, what is the difference between these two things ?(https://developer.apple.com/notifications/safari-push-notifications/ ) and that new thing (https://developer.apple.com/videos/play/wwdc2022/10098/)
2
1
2.5k
Aug ’22
Pushkit not work at Ad hoc mode
When I updated to Xcode 13.2.1 ios 15.2 I found my pushKit not working anymore. After testing, it is found that everything is normal in the debug state, the installation package made with Ad hoc does not work properly, I cannot get the token, and there is no response when I use the previous token to push. I tried to write a simple test code in AppDelegate, it works fine in ad hoc state, and the logic implemented is not significantly different from what I used before. So is there anything in the latest update that could cause this kind of problem?
2
0
1.5k
Aug ’22
VOIP PushKit Notifications
Hi, I was wondering if its possible to use "mutable-content": 1 in a VOIP-Notification in order to modify the payload, for example to download the caller-name from the server. Some sources mentioned that you can use the same keys as in normal notificationsm, which would include the "mutable-content"-key. A follow-up question would then be, are voip-notifications with "mutable-content": 1 handled by a Notification service Extension or are they immediately handled by CallKit. Thank you,
0
0
1.4k
Aug ’22
Notifications comes only after network change.
So i’ve been testing voip calls of my app. One weird issue i noticed is that after few calls iphone stops receiving voip notifications. actually not just voip notifications but notifications from every other apps. i have two wifi networks at my home. when i switch from one network to other then suddenly voip notifications starts working and if there were any pending notification from other apps then those arrives too as soon as i change the network. Again i test calls few times and it works. then again same issue. if voip notifications doesn’t works then i just switch the network and notifications works. wondering if its iphone issue or ios or the router configuration thats delaying or preventing the notification from coming in.
0
0
977
Jul ’22
App launch time too slow when launched from call kit answer call button
i have an app with video call integrated and call kit integrated totally fine. when i cold launch the app launch time is absolutely normal. Now if my app is terminated and i recieve voip notification and see call kit banner and i accept the call from there, it launches my app. But it freezes like for 5 to 10 secs on a white screen. it happens everytime when i receive call and pick it up while app is in terminated state. i also loose the audio in these scenario. Need help to figure out if app launching from call kit answer call action and from normal tap on icon is any different?
0
0
566
Jul ’22
iOS 15 VOIP background mode?
Hallo there, We are using PUSHKIT and CALLKIT for waking up and showing the calls. But I ask for something like a voip background mode here, because a lot of features of our telephone system requiring an instant answer on SIP level. Sometimes with delay for example, so its not possible to use PUSHKIT here. So my question is: "How can we run a VOIP App in background, so that we can receive and show an incoming call WITHOUT push notifications?"
1
0
1.5k
Jul ’22
How to detect user tap on answer or decline call button in CallKit
I am writing a Flutter application that uses VoIP notification. I have successfully integrated PushKit natively in iOS and it is invoking CallKit as well. When the app is minimized and there is an incoming call, there is a call notification with a decline and answer button. It is a native VoIP CallKit Notification. What I am trying to achieve is, when a user presses either the answer or decline button, I want to detect those button taps for performing some call declining functionality on the Flutter end. Attaching some code here what I have done so far func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) {     let handle : String = payload.dictionaryPayload["handle"] as! String     //    let uuidString : String = payload.dictionaryPayload["callUUID"] as! String     self.handleCallAndMethods(handle, completion: completion)         }           func callObserver(_ callObserver: CXCallObserver, callChanged call: CXCall) {     print(callObserver)     print("Call UUID = ")     print(call.uuid)                 if call.isOutgoing == false && call.hasConnected == false && call.hasEnded == false {       print("Call has ended")     }   }           func handleCallAndMethods(_ handle : String, completion: @escaping () -> Void){     let config = CXProviderConfiguration(localizedName: "VoIP Service")     config.supportsVideo = true     config.supportedHandleTypes = [.phoneNumber]     config.maximumCallsPerCallGroup = 1     let callProvider : CXProvider = CXProvider(configuration: config)     //    callProvider?.setDelegate(callManager, queue: nil)     let uuid : UUID = UUID()     print("Reaching inside call condition")     let callUpdate = CXCallUpdate()     let phoneNumber = CXHandle(type: .phoneNumber, value: handle)     print(phoneNumber)     callUpdate.remoteHandle = phoneNumber     print(callUpdate)     let bgTaskID = UIApplication.shared.beginBackgroundTask(expirationHandler: nil)     callProvider.reportNewIncomingCall(with: uuid,                       update: callUpdate, completion: { (error) in       self.callObserver.setDelegate(self, queue: nil)       completion()     })     UIApplication.shared.endBackgroundTask(bgTaskID)         }       func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) {     action.fulfill()     print("Answer button is pressed")   }       func provider(_ provider: CXProvider, perform action: CXEndCallAction) {     action.fulfill()     print("Calling is ended")   }
1
1
2.1k
Jun ’22
[CallKit] Incoming call sound alert while already in another call.
In my VoIP app that uses CallKit, while I'm in a connected call and report to the CXProvider a new incoming one only the CallKit UI is displayed (the screen with End&Accept, Decline and Hold&Accept). There's no sound indication whatsoever of the newly reported call. Shouldn't there be a knock sound on top of the current call's audio? Am I missing some required configuration for that? Thanks in advance.
0
0
715
Jun ’22
padOS15 cannot receive remote push notifications
All our applications listed below, once installed in padOS15 (iPad mini 6 15.4.1) are not receiving any remote push notifications. We built our apps in XCode13.2.1. I also tried to install the latest XCode13.3.1 in macOS Monterey, but I got the same problem. It has no problem when installed on different devices and versions. Our apps: CLOMO SecuredBrowser for iFilter CLOMO SecuredMailer CLOMO SecuredDocs CLOMO SecuredContacts This is how to replicate it: Start the app Press the home button and the app goes to the background I change the profile settings on our server-side Wait for the remote push notifications. (the remote push notifications are received on other devices but not on this device) Expected result: remote push notifications should be shown on the device. When I checked the console log, I found that com.apple.Preferences removed delivered notifications as shown below. SpringBoard [com.apple.Preferences] Removing delivered notifications
1
0
847
Jun ’22
VoIP PushKit - No Token
Hello Everyone, I hope someone can help. We are using PushKit and CallKit as part of a VoIP calling application. This code has been working for several months. We noticed that as of some time PM Friday 10th, we no longer receive a token when debugging code to a locally connected iPhone in Xcode. Tokens are being generated in live environments and existing users are not affected. If we archive our debug builds to TestFlight the code runs correctly. To clarify: In debug if we request the cached token using .pushToken(for: voIP) nil is returned. In debug if we regster, the didUpdate delegate method is never called. If we publish this same code to TestFlight, didUpdate is called on app start and a call to retrieve the cached token is successful. The delegate and the pushregistry variable are not becoming nil as far as we can see and considering the code is working in TestFlight, how to you diagnose what is wrong? Code has been tested across a wide range of iPhone devices and releases from 13 through 15.5. The behaviour is consistent in that it never works in debug and always works in TestFlight. Thanks, Alex
2
0
1.1k
Jun ’22
Voip push does not wake up app after the user is killed by user
I am working on an iOS app where VOIP push notifications are working as expected in the app foreground and background scenario. When the app is terminated by the user and lets say after 1 min the iPhone receives the VOIP push for my app, but the app is not launched in the background and therefore didReceiveIncomingPushWithPayload is never getting called. Can anyone please help me why am i seeing this behavior ? Thanks in Advance.
1
0
905
Jun ’22
reportNewIncomingCall completion is not called
Hi, I've recently faced with an issue while dealing with PushKit and CallKit. Everything was working fine before adding a socket connection method to my code. I want to be connected to the socket before calling reportNewIncomingCall so I adjusted my code accordingly. Then I realized that completion block of reportNewIncomingCall is not being called. I don't understand why, any thoughts? The part of didReceiveIncomingPushWith delegate method, mentioned above: func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) { . . .             Log.addedCallInfotoAppDelegate.add("callID: \(String(describing: callID!)) callerName: \(callerName) uuID: \(String(describing: self.uuID!))")   let semaphore = DispatchSemaphore(value: 0)                 self.connectSocket { success in                     if success {                         Log.socketSuccessfullyConnected.add()                     } else {                         Log.errorWhileConnectingSocket.add()                     }                     self.update.remoteHandle = CXHandle(type: .phoneNumber, value: callerName)                     self.update.hasVideo = false                     self.update.localizedCallerName = callerName                     self.update.supportsGrouping = false                     self.update.supportsUngrouping = false                     self.update.supportsHolding = false                     self.provider.reportNewIncomingCall(with: self.uuID!, update: self.update) { error in                         Log.doneReporting.add()                         if error == nil {                             Log.didReportIncomingCall.add()                             if !stateCheck {                                 self.provider.reportCall(with: self.uuID!, endedAt: Date(), reason: .answeredElsewhere)                                 Log.reportedEndedCall.add()                                 self.uuID = nil                                 self.callID = nil                                 Log.deletedCallInfoFromAppDelegate.add()                             }                             semaphore.signal()                         } else {                             Log.errorWhileReportingIncomingCall.add(String(describing: error))                             semaphore.signal()                         }                     }         } else {             semaphore.signal()         }         semaphore.wait()         completion() }
0
0
753
Jun ’22
WebRTC using SIPJS and Callkit
HI , I'm trying to adopt callkit with my voip app using  iOS 14.7 as Apple announced since iOS 14.4 support webrtc for mobile browsers. my voip app is an ionic/angular using SIPJS lib for VOIP calls . I can detect microphone / camera , register my sip useragent when I perform an outgoing call , I send to callkit start call action and transaction is done successfully and I have the provider perform action cxstartcallaction successfully , at this moment i configure the avaudiosession to PlayandRecord category and voicechat mode and session didactivate succesfully too. my issue is after the other side answer the outgoing call , my voip app still using the iphone mic and speaker too (as SIPJS uses the mic to get media stream of the call) so the result : 1- from VOIP app user can hear from both earpiece and speaker and access mic 2- from callkit user can hear from earpiece only but no access to mic so other side doesn't hear any voice I tried many solutions to re-activate and configure the audiosession when other user answers outgoing call but nothing works any help is appreciated Thanks, marwa
2
1
2.4k
May ’22
Firebase Duplicate Notification.
After changing from normal to business Membership developer im facing an error on firebase notifications. When sending a notification ONLY on ios it will duplicate the notification. What shoud be the problem?
Replies
0
Boosts
0
Views
1.4k
Activity
Sep ’22
Scheduling local notification after app is terminated from App Switcher by the user manually
Dear friends, In my app, i am using Silent Push Notification and Background Fetch to schedule local notification. Everything is working fine, even when the app is in background state. But in some devices, when the app is quit manually from App Switcher, silence push notification is not received and hence local notification is not scheduled properly. We could not use PushKit as our app is not providing VoIP services and we cannot use continuous location detection feature, as it may drain battery of the device. Is there any trick to make scheduling local notification works even when the app is quit from App Switcher? Is it possible use PushKit and get approved by Apple by any special request? Please advise, Thank you.
Replies
4
Boosts
0
Views
3.3k
Activity
Sep ’22
iOS 15 PushKit VOIP Not Received When App is Not Running
After updating to iOS 15, our app is no longer receiving voip notifications when in a not running (killed) state. However, voip notifications come through just fine if the app is in the foreground or background. This behavior is specific to iOS 15, as testing the same exact build on iOS 14 works in all 3 states: foreground, background, & killed. Looking through the device console, I see the following logs coming through when running the app on iOS 15: Killing VoIP app because it failed to post an incoming call in time VoIP app failed to post incoming call and then eventually: VoIP app no longer eligible to launch I'm aware about needing to report the call to CallKit immediately - this is what we're doing (i.e. it works fine on iOS 14). And after reviewing the PushKit & CallKit docs, I see no changes that would affect this. Also, I tested this with the Facebook Messenger app, and the same problem was happening; no voip received when the app is killed on iOS 15, but on iOS 14 it works fine. Anyone know what's going on here?
Replies
4
Boosts
2
Views
7.4k
Activity
Sep ’22
Push notifications for new message in messaging app
I am building a messaging app that needs notification when a new message in sent. When someone sends a message how do I send a push notification to other people to receive it while they are not on the app?
Replies
0
Boosts
0
Views
1.1k
Activity
Aug ’22
Web Push and Push notifications
Apple recently introduced and presented Web Push, a new Web Kit tool permitting to send notifications to users on your websites and web apps. However, push notifications have been a thing on macOS since Mavericks. Therefore, what is the difference between these two things ?(https://developer.apple.com/notifications/safari-push-notifications/ ) and that new thing (https://developer.apple.com/videos/play/wwdc2022/10098/)
Replies
2
Boosts
1
Views
2.5k
Activity
Aug ’22
Pushkit not work at Ad hoc mode
When I updated to Xcode 13.2.1 ios 15.2 I found my pushKit not working anymore. After testing, it is found that everything is normal in the debug state, the installation package made with Ad hoc does not work properly, I cannot get the token, and there is no response when I use the previous token to push. I tried to write a simple test code in AppDelegate, it works fine in ad hoc state, and the logic implemented is not significantly different from what I used before. So is there anything in the latest update that could cause this kind of problem?
Replies
2
Boosts
0
Views
1.5k
Activity
Aug ’22
VOIP PushKit Notifications
Hi, I was wondering if its possible to use "mutable-content": 1 in a VOIP-Notification in order to modify the payload, for example to download the caller-name from the server. Some sources mentioned that you can use the same keys as in normal notificationsm, which would include the "mutable-content"-key. A follow-up question would then be, are voip-notifications with "mutable-content": 1 handled by a Notification service Extension or are they immediately handled by CallKit. Thank you,
Replies
0
Boosts
0
Views
1.4k
Activity
Aug ’22
Notifications comes only after network change.
So i’ve been testing voip calls of my app. One weird issue i noticed is that after few calls iphone stops receiving voip notifications. actually not just voip notifications but notifications from every other apps. i have two wifi networks at my home. when i switch from one network to other then suddenly voip notifications starts working and if there were any pending notification from other apps then those arrives too as soon as i change the network. Again i test calls few times and it works. then again same issue. if voip notifications doesn’t works then i just switch the network and notifications works. wondering if its iphone issue or ios or the router configuration thats delaying or preventing the notification from coming in.
Replies
0
Boosts
0
Views
977
Activity
Jul ’22
App launch time too slow when launched from call kit answer call button
i have an app with video call integrated and call kit integrated totally fine. when i cold launch the app launch time is absolutely normal. Now if my app is terminated and i recieve voip notification and see call kit banner and i accept the call from there, it launches my app. But it freezes like for 5 to 10 secs on a white screen. it happens everytime when i receive call and pick it up while app is in terminated state. i also loose the audio in these scenario. Need help to figure out if app launching from call kit answer call action and from normal tap on icon is any different?
Replies
0
Boosts
0
Views
566
Activity
Jul ’22
iOS 15 VOIP background mode?
Hallo there, We are using PUSHKIT and CALLKIT for waking up and showing the calls. But I ask for something like a voip background mode here, because a lot of features of our telephone system requiring an instant answer on SIP level. Sometimes with delay for example, so its not possible to use PUSHKIT here. So my question is: "How can we run a VOIP App in background, so that we can receive and show an incoming call WITHOUT push notifications?"
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’22
How to detect user tap on answer or decline call button in CallKit
I am writing a Flutter application that uses VoIP notification. I have successfully integrated PushKit natively in iOS and it is invoking CallKit as well. When the app is minimized and there is an incoming call, there is a call notification with a decline and answer button. It is a native VoIP CallKit Notification. What I am trying to achieve is, when a user presses either the answer or decline button, I want to detect those button taps for performing some call declining functionality on the Flutter end. Attaching some code here what I have done so far func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) {     let handle : String = payload.dictionaryPayload["handle"] as! String     //    let uuidString : String = payload.dictionaryPayload["callUUID"] as! String     self.handleCallAndMethods(handle, completion: completion)         }           func callObserver(_ callObserver: CXCallObserver, callChanged call: CXCall) {     print(callObserver)     print("Call UUID = ")     print(call.uuid)                 if call.isOutgoing == false && call.hasConnected == false && call.hasEnded == false {       print("Call has ended")     }   }           func handleCallAndMethods(_ handle : String, completion: @escaping () -> Void){     let config = CXProviderConfiguration(localizedName: "VoIP Service")     config.supportsVideo = true     config.supportedHandleTypes = [.phoneNumber]     config.maximumCallsPerCallGroup = 1     let callProvider : CXProvider = CXProvider(configuration: config)     //    callProvider?.setDelegate(callManager, queue: nil)     let uuid : UUID = UUID()     print("Reaching inside call condition")     let callUpdate = CXCallUpdate()     let phoneNumber = CXHandle(type: .phoneNumber, value: handle)     print(phoneNumber)     callUpdate.remoteHandle = phoneNumber     print(callUpdate)     let bgTaskID = UIApplication.shared.beginBackgroundTask(expirationHandler: nil)     callProvider.reportNewIncomingCall(with: uuid,                       update: callUpdate, completion: { (error) in       self.callObserver.setDelegate(self, queue: nil)       completion()     })     UIApplication.shared.endBackgroundTask(bgTaskID)         }       func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) {     action.fulfill()     print("Answer button is pressed")   }       func provider(_ provider: CXProvider, perform action: CXEndCallAction) {     action.fulfill()     print("Calling is ended")   }
Replies
1
Boosts
1
Views
2.1k
Activity
Jun ’22
Can I use PushKit but don't make a call?
As the title, I just want to receive a VoIP message, then do something. But it seems to be necessary to do reportNewIncomingCall in didReceiveIncomingPushWith, and it will make the call shows up. Can I cancel the call before it shows up ?
Replies
1
Boosts
0
Views
842
Activity
Jun ’22
[CallKit] Incoming call sound alert while already in another call.
In my VoIP app that uses CallKit, while I'm in a connected call and report to the CXProvider a new incoming one only the CallKit UI is displayed (the screen with End&Accept, Decline and Hold&Accept). There's no sound indication whatsoever of the newly reported call. Shouldn't there be a knock sound on top of the current call's audio? Am I missing some required configuration for that? Thanks in advance.
Replies
0
Boosts
0
Views
715
Activity
Jun ’22
padOS15 cannot receive remote push notifications
All our applications listed below, once installed in padOS15 (iPad mini 6 15.4.1) are not receiving any remote push notifications. We built our apps in XCode13.2.1. I also tried to install the latest XCode13.3.1 in macOS Monterey, but I got the same problem. It has no problem when installed on different devices and versions. Our apps: CLOMO SecuredBrowser for iFilter CLOMO SecuredMailer CLOMO SecuredDocs CLOMO SecuredContacts This is how to replicate it: Start the app Press the home button and the app goes to the background I change the profile settings on our server-side Wait for the remote push notifications. (the remote push notifications are received on other devices but not on this device) Expected result: remote push notifications should be shown on the device. When I checked the console log, I found that com.apple.Preferences removed delivered notifications as shown below. SpringBoard [com.apple.Preferences] Removing delivered notifications
Replies
1
Boosts
0
Views
847
Activity
Jun ’22
VoIP PushKit - No Token
Hello Everyone, I hope someone can help. We are using PushKit and CallKit as part of a VoIP calling application. This code has been working for several months. We noticed that as of some time PM Friday 10th, we no longer receive a token when debugging code to a locally connected iPhone in Xcode. Tokens are being generated in live environments and existing users are not affected. If we archive our debug builds to TestFlight the code runs correctly. To clarify: In debug if we request the cached token using .pushToken(for: voIP) nil is returned. In debug if we regster, the didUpdate delegate method is never called. If we publish this same code to TestFlight, didUpdate is called on app start and a call to retrieve the cached token is successful. The delegate and the pushregistry variable are not becoming nil as far as we can see and considering the code is working in TestFlight, how to you diagnose what is wrong? Code has been tested across a wide range of iPhone devices and releases from 13 through 15.5. The behaviour is consistent in that it never works in debug and always works in TestFlight. Thanks, Alex
Replies
2
Boosts
0
Views
1.1k
Activity
Jun ’22
Voip push does not wake up app after the user is killed by user
I am working on an iOS app where VOIP push notifications are working as expected in the app foreground and background scenario. When the app is terminated by the user and lets say after 1 min the iPhone receives the VOIP push for my app, but the app is not launched in the background and therefore didReceiveIncomingPushWithPayload is never getting called. Can anyone please help me why am i seeing this behavior ? Thanks in Advance.
Replies
1
Boosts
0
Views
905
Activity
Jun ’22
reportNewIncomingCall completion is not called
Hi, I've recently faced with an issue while dealing with PushKit and CallKit. Everything was working fine before adding a socket connection method to my code. I want to be connected to the socket before calling reportNewIncomingCall so I adjusted my code accordingly. Then I realized that completion block of reportNewIncomingCall is not being called. I don't understand why, any thoughts? The part of didReceiveIncomingPushWith delegate method, mentioned above: func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) { . . .             Log.addedCallInfotoAppDelegate.add("callID: \(String(describing: callID!)) callerName: \(callerName) uuID: \(String(describing: self.uuID!))")   let semaphore = DispatchSemaphore(value: 0)                 self.connectSocket { success in                     if success {                         Log.socketSuccessfullyConnected.add()                     } else {                         Log.errorWhileConnectingSocket.add()                     }                     self.update.remoteHandle = CXHandle(type: .phoneNumber, value: callerName)                     self.update.hasVideo = false                     self.update.localizedCallerName = callerName                     self.update.supportsGrouping = false                     self.update.supportsUngrouping = false                     self.update.supportsHolding = false                     self.provider.reportNewIncomingCall(with: self.uuID!, update: self.update) { error in                         Log.doneReporting.add()                         if error == nil {                             Log.didReportIncomingCall.add()                             if !stateCheck {                                 self.provider.reportCall(with: self.uuID!, endedAt: Date(), reason: .answeredElsewhere)                                 Log.reportedEndedCall.add()                                 self.uuID = nil                                 self.callID = nil                                 Log.deletedCallInfoFromAppDelegate.add()                             }                             semaphore.signal()                         } else {                             Log.errorWhileReportingIncomingCall.add(String(describing: error))                             semaphore.signal()                         }                     }         } else {             semaphore.signal()         }         semaphore.wait()         completion() }
Replies
0
Boosts
0
Views
753
Activity
Jun ’22
VOIP Push Notification expiry after 15 seconds
I am using push kit and call kit to send VOIP notificatin from my server to my app. The notification's working fine, however it remains there for infinite time unless the user rejects or accepts the call. Is there any way to handle this? Like it automatically expires after 20 seconds.
Replies
0
Boosts
0
Views
958
Activity
May ’22
WebRTC using SIPJS and Callkit
HI , I'm trying to adopt callkit with my voip app using  iOS 14.7 as Apple announced since iOS 14.4 support webrtc for mobile browsers. my voip app is an ionic/angular using SIPJS lib for VOIP calls . I can detect microphone / camera , register my sip useragent when I perform an outgoing call , I send to callkit start call action and transaction is done successfully and I have the provider perform action cxstartcallaction successfully , at this moment i configure the avaudiosession to PlayandRecord category and voicechat mode and session didactivate succesfully too. my issue is after the other side answer the outgoing call , my voip app still using the iphone mic and speaker too (as SIPJS uses the mic to get media stream of the call) so the result : 1- from VOIP app user can hear from both earpiece and speaker and access mic 2- from callkit user can hear from earpiece only but no access to mic so other side doesn't hear any voice I tried many solutions to re-activate and configure the audiosession when other user answers outgoing call but nothing works any help is appreciated Thanks, marwa
Replies
2
Boosts
1
Views
2.4k
Activity
May ’22
Why my site is not responsive on ios devices?
I just placed a test where I've tested my site on different platforms. It's doing well on Andriod devices but not showing responsiveness on ios devices. What are the possible reasons for this???
Replies
0
Boosts
0
Views
802
Activity
May ’22