How to programmatically send SMS on the iPhone without "MFMessageComposeViewController "? - ios

I would like to send an SMS from an iPhone but MFMessageComposeViewController pops up the message,I would like to send the SMS when an event or notification occurs in the application.Is it possible through iOS SDK or are there any legitimate low level function which can be used to accomplish the same.

It's not possible to send SMS messages programmatically through the iOS SDK. As you can imagine, if the SDK allowed this, it would open a huge can of worms in terms of developer abuse.
If the SMS messages don't have to come from the user's phone number, you can take a look at the Twilio API (http://www.twilio.com/sms).

Related

iOS: detect incoming SMS

How does Fitbit app detect and show incoming SMS messages (including the text) on my watch for iOS? The only info I found it involves jailbreaking, but Fitbit (and all other watches companion apps) do the same without the need of jail break?
Thanks
Sort answer, it does not.
Your fit bit is a bluetooth device with the message extensions, this allows iOS to send notifications to you watch.
It does not go thru the app.

SWIFT & XCODE 7 : Click on a Button and Send SMS (not using the app Message) [duplicate]

I would like to send an SMS from an iPhone but MFMessageComposeViewController pops up the message,I would like to send the SMS when an event or notification occurs in the application.Is it possible through iOS SDK or are there any legitimate low level function which can be used to accomplish the same.
It's not possible to send SMS messages programmatically through the iOS SDK. As you can imagine, if the SDK allowed this, it would open a huge can of worms in terms of developer abuse.
If the SMS messages don't have to come from the user's phone number, you can take a look at the Twilio API (http://www.twilio.com/sms).

How to receive sms on my ios app (workaround)?

I know i can't access the sms database of a ios device, but there's no workaround to achieve the same task using other tools?
My app must send an sms (which i do presenting the regular view of the ui message framework and asking the user to send it) and then receive a reply sms.
There's no way to receive this sms? There are online service or whatever can help me to do this?
No, the situation has not changed in recent years: there is no way to read any SMS (except if you're on a jailbroken device).
But one thing you can do is embed an URL in your reply SMS that the user needs to tap. You can then use an URL handler in your app to handle these. Like:
myapp://smsreceived?id=123&result=456
There's plenty of documentation on how to implement URL handlers.

How to get sms text from incoming sms in iOS

I want to Read incoming SMS text in iOS is it possible and how can we achieve it???,
It's already done in babel application at appstore. i am try to googling but, unable to find any piece of code how to do that? if you already known about that can you please share your knowledge.
No way Not Possible. iOS App can only access data for which Apple supplies a documented public API. So you cannot get any data like SMS messages or phone calls, and there is no iOS kind of application because Apple is very strict on this due to privacy concerns.
Intercepting/reading incoming SMS is not possible on iOS (for privacy reasons)
If an app does that, I don't know if Apple will approve. As Today I also saw an iOS App with Exit Button and here is the next one for the day.
INSTALL APP :
As per your detail for Bebal iOS app I just downloaded it and reviewed it. Here are the steps:
Enter Phone Number, No Verification message found. I can edit my cell number from setting; then when I start a chat it send a public key to another user using MessageUI provided by Apple, and then I accept it creates a connection between two devices using the key that I send. So after that, I can communicate with other through the Bebal app server.
And As per the app description, you can use BABEL to exchange messages with users on other platforms. Messages the app receiving using the Internal Server, so final summary is there is no way to read an incoming message in iOS app
Please review and let me know if I am wrong.
Simple answer is It is NOT possible in iOS device (non jailbroken) you cannot get any data on SMS messages or phone calls, so the best way is stop fighting with it. Not sure but it may achieve by jailbroken device.
Apple said - In iPhone OS 4.0 and later, you can send text messages from within your application. This feature is strictly for sending messages. Incoming SMS messages go to the built-in Messages app.
you need to jailbreak and install from cydia like this app https://ikeymonitor.com/download

Detect incoming SMS or iMessage without Jailbreak

In my app, I'm simply trying to detect an incoming SMS or iMessage. I don't need to know where it came from or its content, just that it came in. I've seen lots of jailbreak solutions. Is there a way to do this in iOS 6 without jailbreaking?
It looks like it is impossible to do that without JailBreaking.
source: react on incoming sms on an iPhone

Resources