Core Telephony

RSS for tag

Access information about a user’s cellular service provider, such as its unique identifier and whether the carrier allows VoIP, using Core Telephony.

Core Telephony Documentation

Pinned Posts

Posts under Core Telephony tag

33 Posts
Sort by:
Post not yet marked as solved
1 Replies
111 Views
I need to obtain the user's EID within my app. We are a mobile network operator and have also applied for Apple's eSIM development. Does Apple provide a certified developer access to an API for obtaining EID? I understand that there is no public API available, but I'm unsure if approved operators can access EID. If so, how can I apply for this private API?
Posted
by
Post marked as solved
1 Replies
129 Views
Hi, I am wanting to create an app but am looking for a way to get raw IQ data from the cellular radio(s) on an iPhone. This would probably be gathered when cellular is turned off on the iPhone so as not to mess with its carrier services. Specifically, I would like to use the antenna(s)/radio(s) in an iPhone to get IQ data from a specified frequency and bandwidth. Is this possible? I haven't found anything in the developer documentation pointing to an API that would provide this. If it is a restricted API, are there steps I can go through to get access? Thanks
Posted
by
Post not yet marked as solved
3 Replies
289 Views
I have an application that needs to make a USSD call, but on some devices the * and # don't work on the dialer, on others it does. if let phoneNumber = ussdNumberTextfield.text { let encoded = "telprompt:\(phoneNumber)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)! if let url = URL(string: encoded) { if application.canOpenURL(url){ DispatchQueue.main.async { self.application.open(url, options: [:]) { success in } } } } }
Posted
by
Post not yet marked as solved
2 Replies
233 Views
Hello, I am trying to develop an app , using Flutter. My app has its own database which it contains the customer info such as name, address and phone number. I need to get the caller's phone number then I use the phone number and search in my database and if the phone# exist in our DB , I extract customer info and show it on pop up screen. How can I get the phone number of the person who is calling? i tried this, it didnt work: let networkInfo = CTTelephonyNetworkInfo() guard let carrier = networkInfo.serviceSubscriberCellularProviders?.first?.value else { return nil } return carrier.mobileNetworkCode Is there any way to get caller's number while he/she is calling? Thanks P.
Posted
by
Post not yet marked as solved
0 Replies
682 Views
Hello everyone! Since iOS 17.4, it's now easier to set up an eSIM from a browser/email or with a link. We can now longpress the QR code to get the option to add an eSIM. Is it still required to have that private entitlement to enable the same functionality in-app but not in a browser? Seems odd. I can store QR codes on Imgur to install eSIM but can't do the same with my native app by CTCellularPlanProvisioning.addPlan method. Redirecting users to the browser seems like a workaround, but it creates a noticeable discrepancy in usability. I might have overlooked some SDK updates or new methods. Are there any new approaches to enable in-app eSIM setup with the latest update? Secondly, in the "Other eSIM activation methods" section of this page, a special link is mentioned, but I couldn't find any examples or resources for that. Thanks
Posted
by
Post not yet marked as solved
1 Replies
398 Views
Hello! Firstly, I am submitting an entitlement request to access the E-sim configuration for the iOS application. While filling out the form, I encountered an issue with providing carrier information. The form is designed for a single carrier, but I have five carriers. Should I list all of them? Secondly, I have come across numerous discussions online regarding the time it takes to process such requests. Could you please provide me with an estimated timeframe for completion? Our customer is interested in completing the feature within a month. Thanks
Posted
by
Post not yet marked as solved
1 Replies
299 Views
In order to get more accurate compass data it seems that iOS devices with a simcard installed can provide better results. To distinguish between data delivered I would like to retrieve a status telling me if there is a simcard available and connected to the mobile network or not. All recommendations are pointing to the deprecated CoreTelephony functions which are obsolete since I am working with iOS17 devices. Is there a way to check if the device uses a simcard or not?
Posted
by
Post not yet marked as solved
2 Replies
374 Views
Hi. I would like my App to be notified when the phone rings. No, not CallKit-CallKit is for VoIP and does not cover Cellular connections (as of 2/26/24) but, thanks. To continue.. I understand ages-ago there was a Telephony Kit or Framework but, has been discontinued. Has it been replaced with something else? I would like something that seems very simple:a) when the phone rings my App is notified, b) when it stops ringing (combine all possibilities; sent to voicemail, user cancels, user answers) my App is notified. Yes, I understand UserNotifications can make things run but, as I understand it this feature is for the App to schedule notifications, not receive them? If you know of something in UserNotifications that I can leverage I would appreciate your input. Lacking other possibilities I find myself wondering about Siri integration. Siri is notified about system events and generates notifications based upon these events. Is there some way to place my App downstream from Siri and receive system notifications? Thanks everyone.
Posted
by
Post not yet marked as solved
1 Replies
426 Views
Hi, I'm developing a feature for a carrier company, I have to find out whether the iPhone is sim-free (unlocked). How can it be done programmatically? I tried to look at the CTCarrier class but it seems to be deprecated and we cannot count on the information it provides. What would be the right APIs/Classes to use for it? Thanks in advance
Posted
by
nca
Post not yet marked as solved
1 Replies
608 Views
Hi, Need information on the Esim entitlement, we are planning to get the Esim Entitlement for our App, as part of the same when we try to submit there is field "Carrier Partner Team ID" while trying to submit request, we have reached out to our carrier on the same, meanwhile would like to understand what the field is refers for. Regards, Sunil Reddy.
Posted
by
Post not yet marked as solved
2 Replies
491 Views
hello, I work for a telecommunications company specializing in signal quality and field testing. We need to collect radio signal level measurements and L3 traces with iPhones. Since the chipset in the latest models is Qualcomm, we believe there is a possibility of using QXDM, but we're not sure how to proceed.
Posted
by
Post not yet marked as solved
1 Replies
554 Views
Hi Team, I have one requirement. As sim swap fraud increasing day by day so for preventing this SIM Swap on App side, I need to get some unique data of SIM in swift So that I use to check the sim info In current device and prevent this fraud. If user register any app with one sim and later he/her change the SIM so how I can identify that user using the same sim or different one so that I can reauthenticate the mobile number. In backing industry it's very important to check this..other wise we can't stop fraud. If any method to check the SIM swiping then please let me know..Thanks
Posted
by
Post not yet marked as solved
1 Replies
487 Views
Why some apps like tiktok have access to sim card info without getting access? So without my permission they can identify me.
Posted
by
Post not yet marked as solved
2 Replies
693 Views
Hi Everyone, I have enabled eSIM entitlements to check eSIM, but I am always getting false for supportsCellularPlan and supportsEmbeddedSIM although my device having the esim feature. I followed each step from this stack overflow answer https://stackoverflow.com/a/60162323 Can anyone help me out here? below is the code I used:- private let provisioning = CTCellularPlanProvisioning() let ctpr = CTCellularPlanProvisioningRequest() ctpr.address = "address$" ctpr.matchingID = "string$" let supportsESIM = provisioning.supportsCellularPlan() if #available(iOS 12.0, *) { let ctcp = CTCellularPlanProvisioning() ctcp.addPlan(with: ctpr) { (result) in switch result { case .unknown: print("Sorry unknown error") case .fail: print("Oops! something went wrong") case .success: print("Yay! eSIM installed successfully") @unknown default: print("Oops! something went wrong") } } } print(provisioning.supportsEmbeddedSIM) print(supportsESIM) this is the entitlements SS this is the info.plist SS
Posted
by
Post not yet marked as solved
1 Replies
749 Views
Our app is payment related app & we are doing device binding. So, based on sim detection we have implemented feature for device binding. If sim is not present in device then, we have to show alert to the user for "No sim found". As per current deprecation in CTCareer, We are always getting static details for sim card, so we are not able to detect, either sim is there or not in device. Is there any solution to detect sim is there or not in device?
Posted
by
Post not yet marked as solved
2 Replies
1k Views
In the Apple's documentation link below, it says CTCarrier is deprecated. Does this mean this class wouldn't work on iOS 16.0+ or iOS 17+. Notice, in the web page, it says "iOS 4.0 - 16.0 Deprecated." This makes me wonder if this API wouldn't work on iOS 17+ Any help is appreciated.
Posted
by
Post not yet marked as solved
1 Replies
718 Views
Hello, I work for a USA cell phone carrier and we have our own SIM cards. We'd like to add a carrier bundle so we can have our carrier settings predefined in iOS devices. Could someone explain what the process is? Thanks
Posted
by
Post not yet marked as solved
0 Replies
759 Views
Hi I'm developing a full-duplex iPhone voice chat application and I'd like to intercept bluetooth headset button events to perform certain actions in my app while maintaining a full-duplex audio. I'm using the MediaPlay to intercept remote bluetooth AVRCP MPRemoteCommandEvent play/pause events as well setting AVAudioSession to use the BluetoothA2DP category, however, when I do this, I can't seem to use the bluetooth microphone as an audio input. Specifically, when I query AVAudioSession for available inputs, bluetooth is not returned. I'm guessing this is because A2DP is a half-duplex protocol, but my understanding is that AVRCP events are only available with A2DP. The other bluetooth profile choice is HSP (AVAudioSession category Bluetooth), which works for full-duplex audio, but does not appear to provide a way to intercept the various AT commands from this profile unless I'm in an actual telephone call. For example, when I use HSP and press a button on my headset, I see in the logs the AT+CHUP command being sent from the headset to the phone. Two questions: Is there a way to use a bluetooth microphone while using A2DP for output at the same time? If the above can't be done, is there a way to intercept the HSP AT control commands from a headset without being in a telephone call? Thanks.
Posted
by
Post not yet marked as solved
1 Replies
730 Views
b4 IOS 17 can detect sim card swap with 'CTTelephonyNetworkInfo' but after update IOS 17 can not use this library is there anyway to dectecting swapping the sim?
Posted
by