Post

Replies

Boosts

Views

Activity

Migrating from CallKit to PushToTalk Framework for PTT Calls — Handling Incoming Calls and Cellular Conflicts
Hello everyone, I’m developing a VoIP-based application that supports both standard VoIP calls and Push-To-Talk (PTT) calls. The app does not use the unrestricted-voip entitlement since it’s not publicly documented or communicated as a standard by Apple. Previously, I handled PTT calls using CallKit after receiving PushKit notifications, but I’m now migrating PTT functionality to the PushToTalk Framework while keeping CallKit for standard VoIP calls. I’m facing a few challenges that I’d like help with: Handling Incoming Push-To-Talk Calls When the App Is Closed and the Device Is Locked I considered continuing to use PushKit notifications to alert users via CallKit and using CallKit until the user brings the app into the foreground, at which point I’d switch to the PushToTalk Framework. While this could technically work, the user experience is not ideal. Are there any recommended approaches for handling PTT calls in this state? Handling Incoming PTT Calls When the App Is in the Background According to Apple documentation, I cannot join a PTT session unless my app is in the foreground. However, in practical scenarios, we often receive incoming PTT calls while the app is in the background. What’s the best solution for this situation? It feels odd to show notifications or use CallKit until the app is foregrounded. Conflict Between Ongoing PushToTalk Call and Incoming Cellular Call Currently, if there’s an ongoing PushToTalk call using the PTT framework and a cellular call comes in, if I receive a PTT transmission and call requestBeginTransmission, the cellular call is ended. I can handle this within my app, but is this expected behavior? Is this the intended conflict management for concurrent PTT and cellular calls? Lastly, a broader question: when will the unrestricted-voip entitlement stop working? I’m contemplating using this entitlement to handle incoming PTT calls without CallKit, but I’m concerned about its longevity. Some apps have been using it for messaging and other features for over four years, and it’s still functional for them. Any guidance or insights on these points would be greatly appreciated! Thanks in advance!
1
0
507
Sep ’24
Check if my app has a new version on AppStore
I would like to manually check if there are new updates for my app while the user is in it, and prompt him to download the new version. Can I do this by checking the version of my app in the app store - programatically?I found a solution by Checking response of my app itunesRL, i want to confirm if there is an official method, if not can i use this methode safely.https://stackoverflow.com/questions/6256748/check-if-my-app-has-a-new-version-on-appstore
4
0
25k
Feb ’19
[iOS] Search LDAP contacts
I had a need to display and search for contacts from my LDAP server. Seems the most efficient solution is to connect my Device (Application Contact) with my LDAP server. And with the Contacts framework I will be able to fetch all Local contacts including my LDAP contacts. Is there a solution to know from the CNContact if this contact is among my LDAP Contacts or other (Local, iCloud,..) If you have another solution how to search on my LDAP contacts do not hesitate to suggest me. OpenDirectory is not available on iOS Thanks
0
0
1.1k
Nov ’22
How to get Mobile Country Code of the network not the SIM card ?
I have a technical need to block some services of my application according to the operator currently camped (network operator). From the Core Telephony documentation it is possible to know the home cellular operator using CTCarrier, but there is no guidance on how to get the MCC and MNC of the network operator. https://developer.apple.com/documentation/coretelephony/ctcarrier?language=objc Can you help me find a solution to know the MCC and the MNC of the Network for example in the case of Roaming. If this is not possible, is there a solution to know if the device goes through the roaming service or not?
2
0
1.7k
Nov ’20