Hello,
I am developing a private internal Flutter app for our customer, which will not be published on the Apple Store. One of the key features of this app is to collect RF strength metrics to share user experience with the network.
For Android, we successfully implemented the required functionality and are able to collect the following metrics:
Signal strength level (0-4)
Signal strength in dBm
RSSI
RSRQ
Cell ID
Location Area Code
Carrier name
Mobile country code
Mobile network code
Radio access technology
Connection status
Duplex mode
However, for iOS, we are facing challenges with CoreTelephony, which is not returning the necessary data. We are aware that CoreTelephony is deprecated and are looking for alternatives.
We noticed that a lot of the information we need is available via FTMInternal-4. Is there a way to access this data for a private app? Are there any other recommended approaches or frameworks that can be used to gather cellular network information on iOS for an app that won't be distributed via the Apple Store?
my swift code
import Foundation
import CoreTelephony
class RfSignalStrengthImpl: RfSignalStrengthApi {
func getCellularSignalStrength(completion: @escaping (Result<CellularSignalStrength, Error>) -> Void) {
let networkInfo = CTTelephonyNetworkInfo()
guard let carrier = networkInfo.serviceSubscriberCellularProviders?.values.first else {
completion(.failure(NSError(domain: "com.xxxx.yyyy", code: 0, userInfo: [NSLocalizedDescriptionKey: "Carrier not found"])))
return
}
let carrierName = carrier.carrierName ?? "Unknown"
let mobileCountryCode = carrier.mobileCountryCode ?? "Unknown"
let mobileNetworkCode = carrier.mobileNetworkCode ?? "Unknown"
let radioAccessTechnology = networkInfo.serviceCurrentRadioAccessTechnology?.values.first ?? "Unknown"
var connectionStatus = "Unknown"
...
...
}
Thank you for your assistance.
Post
Replies
Boosts
Views
Activity
I'm publishing free IOS app with my own name and Individual account ( not Company/Organization )
My app is used to bets between college on the score of football matches of FIFA world cup 2022 and others Europe leagues ( France / Spain ... league )
I have monthly subscription to this football api to get matches result api-football https://www.api-football.com
On Apple store my app is accepted and I have publish several update and all are accepted, today my app is rejected with this
Guideline 5.2.1 - Legal - Intellectual Property
there are other similar app in app store but with only FIFA world cup 2022 and ads and I don't think that those app provide Intellectual Property from FIFA
Please Help, I don't know what I should do ! as the FIFA world cup 2022 will start soon
Today my xcode is stack on startup, I have try to restart my MacBook several time but not helping
I have uninstall and install latest version 14.0.1 but same issue
MacBook Pro (14-inch, 2021)
Chip : Apple M1 Pro
Memory : 16 GB
Please can someone help for any workaround to make it up ( don't know if there is some cache to clean to make it up ....)
I'm using xcode only to archive publish my flutter up and I'm blocked due to this issue