Can an app developper see the device's mobile # in iOS 10?

Discussion in 'iOS 10' started by RichardF, Mar 4, 2017.

  1. RichardF macrumors 6502a

    RichardF

    Joined:
    Oct 27, 2006
    Location:
    New York City
    #1
    How much data about the device can an app have access to in iOS 10 and do I block things beyond the location, notification and cellular Data?
     
  2. cswifx Suspended

    cswifx

    Joined:
    Dec 15, 2016
    #2
    Everything is controlled by the user. Apple's policy is that the user gets to choose before the app can access or use any of the device's features. You'll want to check Apple's APIs.

    Permissions the user will need to accept: Camera, Microphone, Contacts, Calendar, Location, etc
     
  3. RichardF thread starter macrumors 6502a

    RichardF

    Joined:
    Oct 27, 2006
    Location:
    New York City
    #3
    That's awesome.

    And I just Googled it, it's here https://developer.apple.com/reference/


    So there is no way an App can capture the SIM number in the background?
    That's never ever been asked in any of the permissions I have seen.
     
  4. cswifx Suspended

    cswifx

    Joined:
    Dec 15, 2016
    #4
  5. RichardF thread starter macrumors 6502a

    RichardF

    Joined:
    Oct 27, 2006
    Location:
    New York City
    #5
    So I spent some time on this and don't really understand it all.

    CTSubscriber
    The CTSubscriber object provides cellular network subscriber information.

    This object seems to pass along the SIM info to the app and developer. No?
     
  6. cswifx Suspended

    cswifx

    Joined:
    Dec 15, 2016
    #6
    I'm not too sure, you may want to try.
     
  7. anzio macrumors 6502

    Joined:
    Dec 5, 2010
    Location:
    Innisfil, Ontario, Canada
    #7
    No. That just retrieves a token for authentication for confirming the user is on the mobile network.

    Your mobile device number cannot be retrieved from any standard API. The closest thing would be somehow getting it from your Contact card.
     
  8. RichardF thread starter macrumors 6502a

    RichardF

    Joined:
    Oct 27, 2006
    Location:
    New York City
    #8

    Thank you so much for taking the time to reply.
    I was hoping for this answer when discussing Apple.

    APIs do allow contacts access without permission?
     
  9. simonsi macrumors 601

    simonsi

    Joined:
    Jan 3, 2014
    Location:
    Auckland
    #9
    Don't think so, apps are always asking for permission to access Contacts. You must have seen that?
     
  10. anzio macrumors 6502

    Joined:
    Dec 5, 2010
    Location:
    Innisfil, Ontario, Canada
    #10
    +1 for what simonsi said. Sorry, I should've been more clear. Your contacts cannot be accessed without your consent.

    And it's my pleasure. Hopefully it puts your mind to ease.
     
  11. daijholt macrumors 65816

    daijholt

    Joined:
    Jun 14, 2013
    Location:
    Wales, UK
    #11
    I second this. Nothing critical on an iPhone can be accessed without the user manually pressing "allow" when the app asks. And if the app doesn't ask for permission, it automatically doesn't get it.
     
  12. RichardF thread starter macrumors 6502a

    RichardF

    Joined:
    Oct 27, 2006
    Location:
    New York City
    #12
    Thank you gentlemen!

    This was so helpful. And I so love Apple for the way they do things, this being a concrete situation where they made the right decision/ designed well.
     
  13. pacorob macrumors 68000

    pacorob

    Joined:
    Apr 8, 2010
    Location:
    the Netherlands
    #13
    One of my reasons to stick with iOS and iDevices is having the option to choose what apps can and can't do.
    Also stability/reliablility and speed are other things which why I choose for Apple iOS.
     

Share This Page