SIM binding via text messages to verify the user's mobile number in iOS App Swift 5

80 Views Asked by At

I'm developing an iOS app and need a secure method to detect SIM changes. Given the deprecation of serviceSubscriberCellularProviders and restrictions on accessing SIM details like IMSI or ICCID, traditional methods aren't viable. I've observed apps like Google Pay and PhonePe implement SIM binding via text messages to verify the user's mobile number.

How can we detect SIM changes in iOS, ensuring compliance with App Store privacy policies? I'm looking for alternative approaches that enhance security without directly accessing restricted SIM information. I have used CTTelephonyNetworkInfo() and it’s subscriberCellularProvider but those data are deprecated from iOS 16.

Any guidance would be greatly appreciated.

0

There are 0 best solutions below