Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reading / parsing SMS from inbox WITH user permission IOS

I'm looking to access the SMS inbox from within an app. This is what I currently understand -

  1. The standard SDK does NOT allow access to the sms db due to privacy reasons iphone app reading sms and How to programmatically send SMS on the iPhone?

  2. The app must not be running in the background due to privacy reasons

  3. An application cannot access another application's data as each app runs within its sandbox

  4. It's possible to access the contact list though (Whatsapp, e.g.) https://developer.apple.com/library/ios/#documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/100-Introduction/chapter_1_section_1.html

  5. It is / maybe possible to do this on a jailbroken iPhone How to get inbox all SMS on iphonse sdk?

My questions are (in the context of a non-jailbreak phone) -

  1. Is it possible to access messages from the SMS inbox AFTER explicit user permission in the app?

  2. Is it possible to ask the user to grant access to SMS messages from select users (listed), from within the app

  3. Is there some workaround to getting my app to read these messages from select users, with user permission from within the app?

Thanks a ton! Max

like image 759
madmax Avatar asked Nov 26 '12 07:11

madmax


People also ask

How do I check SMS permission on iPhone?

To check your app permissions, go to Settings —> Privacy. A list of different categories, such as Location Tracking, Bluetooth, Contacts, Microphone, Photos, and more will appear. You can click on each specific category to see which apps have access to that data. You can grant or revoke permissions as you see fit.

Can iOS apps read SMS?

No, there is no way to read SMS messages.

How do I check SMS permission on Android?

To set the app's permission on a device or emulator instance, choose Settings > Apps > SMS Messaging > Permissions, and turn on the SMS permission for the app.


1 Answers

Your understanding of items 1-5 is correct.

To answer your questions:

  1. No. There is no API for asking the user for permission to access their SMS, and no public API/approved methods to access the SMS.
  2. No.
  3. No.

Sorry to be the bearer of bad news.

like image 50
rickerbh Avatar answered Nov 12 '22 10:11

rickerbh