-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Retrieve SIM Card Information on Latest iOS Version #8
Comments
Sorry for the late reply... I can reproduce this issue on my end. This plugin works as expected on iOS 16.3.1 but no longer works on iOS 16.4. Unfortunately, after some investigation, I have bad news to share: I found the following comments in the To provide some context, this plugin uses Core Telephony Now, it seems that Apple does not allow us to do so... I suspect it is due to privacy reasons... Until Apple re-adds this feature for developers, I don't think there is much we can do for now. |
@kevindupas |
@jonz94 |
Error getting SIM info: [Error: "Sim" plugin is not implemented on web] getting this error!!! ? |
This sim card plugin only work when running the app as native android/ios app. Because it is not possible to get sim card information on the web platform. |
@sinanverve7 Currently, it is not possible to get SIM card information on iOS 16.4+ because Apple does not allow it. I am still looking for an alternative way to achieve the same goal, but right now, it seems like there is no hope to make it work. |
thank you for your reply but |
@officialomkarjadhav Would you like to open a new issue and provide more details? I believe your issue is not related to the original issue of this thread. Thank you! P.S. I'm not familiar with "React Native / Expo" development, so I'm not sure if using a capacitor plugin in a React Native project is a good idea or not. |
@jonz94 - Is there alternate way to do it? I've seen one financial app that could check if the SIM card was present or not. Does Apple have something special provision for financial apps, like a Private-API access? |
Any update on this. |
Unable to Retrieve SIM Card Information on iOS Version 16.4.1
Description:
On iOS version 16.4.1, it has become impossible to retrieve the SIM card information using the
getSimCards()
function. This issue affects iPhone 12 with iOS 16.4.1. The function works correctly on iPhone 12 with iOS 16.3.1.Relevant Information:
iPhone 12 - iOS Version: 16.4.1 (Issue occurs)
{"simCards":[{"mobileCountryCode":"65535","mobileNetworkCode":"65535","carrierName":"--","allowsVOIP":true,"isoCountryCode":"--"},{"mobileCountryCode":"65535","allowsVOIP":true,"carrierName":"--","isoCountryCode":"--","mobileNetworkCode":"65535"}]}
iPhone 12 - iOS Version: 16.3.1 (Works as expected)
{"simCards":[{"carrierName":"","isoCountryCode":"","mobileCountryCode":"","mobileNetworkCode":"","allowsVOIP":true},{"isoCountryCode":"fr","carrierName":"Orange France","mobileNetworkCode":"01","mobileCountryCode":"208","allowsVOIP":true}]}
iPhone XR - iOS Version: 16.3.1 (Works as expected)
{"simCards":[{"isoCountryCode":"fr","carrierName":"Orange France","mobileNetworkCode":"01","mobileCountryCode":"208","allowsVOIP":true},{"carrierName":"","isoCountryCode":"","mobileCountryCode":"","mobileNetworkCode":"","allowsVOIP":true}]}
Code Example:
Please help me fix this issue on the latest iOS version.
The text was updated successfully, but these errors were encountered: