检测SIM卡更换 [英] Detect SIM card replacement
问题描述
是否有办法知道用户是否已用其他SIM卡更换了他的SIM卡?
Is there any way to know if the user has changed his SIM card with a different SIM card?
我真正想做的就是知道他现在正在使用哪个号码,我的意思是,如果到目前为止,他已经使用了一些电话号码,现在又将他的电话号码更改为另一个号码,我能检测到吗?
really what I want to do is to know from which number he is using right now, I mean if so far he used some phone number and now he changed his phone number to a different number, can I detect it?
谢谢.
推荐答案
您应该使用但是,只有在您的应用程序运行时发生交换时,您才会收到通知.当您的应用未运行时,您仍然无法检测到用户是否从同一运营商将SIM更改为另一SIM.
But, you're only be notified if the swap occurs while your app is running. you're still be unable to detect if the user changes the SIM to another SIM from the same operator when your app is not running.
如果只想在越狱的设备上访问?
And if you want to get access only on jailbroken device ?
然后,您应该在路径/private/var/root/Library/Lockdown/data_ark.plist
密钥是 InternationalMobileSubscriberIdenti
这篇关于检测SIM卡更换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!