How can I send sms with text by using phonegap on iphone? - ios

I am trying to send sms on iphone.
But it works with only sms number well, but it doesn't work with sms number and text.
In other words, following works well.
Send sms
But it doesn't work.
Send sms
I am using phonegap now, if you know its reason, please help me.
Cheers.

I don't know if this the case but you misspelled "href", you wrote instead "herf"

Use this SMS composer plugins for phonegap, its working fine for me.
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/SMSComposer

Related

Twilio issue when sending message with German character

I'm using Twilio to send an SMS message. However, the message is not displayed properly on the mobile devices with German text. For example, the message is "Grüße" but the character "ü" and "ß" is not displayed correctly like this:
The issue happen on both Java SDK and cURL with REST. Is there any solution for this?
Open a ticket via the Twilio console to report this issue, along with the Messaging SID(s) experiencing the issue, so they can determine what is causing the problem.
Also, indicate your troubleshooting steps above (Java/cURL), which is important information as well.

MailCore2 Alternative

I've spent a great deal of time creating an Objective-C based application for the iPhone. I incorporated MailCore2 so that emails could be sent without a dialog popping up (Apple's system of in-app email). My app works perfectly on all of my devices, including all outside devices associated with TestFlight beta testing. Unfortunately, the moment Apple reviews the app, they always reject it, saying that MailCore2 made an AlertView with the contents: "Error! Please connect to the internet or try again later.", and the email never properly sends.
My question is, is there an alternative to MailCore2? I've heard of MailGun, but I see no documentation on their site for either Objective-C or Swift.
Thanks in advance to all who reply.
Mailigun is a services and yes you can send mail with Mailgun, but not receive mail like normal email app. Anyway it is completely different from mailcore (Imap/pop). Mailcore is so hard to use...
If you need only send email i can provide you entirely code for achieve this using mailgun.

How to send SMS on the iPhone without pressing send button? (If just for demo, not for the Appstore)

I am working on an app that can automatically send a message to some specific ones (either emails or SMS) under some dangerous circumstances.
When someone is in danger, he or she has no time to press the send button. Is it possible for the user to approve sending messages in the app in advance, so the app can automatically send emails or SMS to others without telling the user?
I searched in StackOverflow, but found no similar answers.
This is just for a demo. It does not need to be approved by Apple.
Thanks in advance!
Take a look at the ChatKit framework.
It uses iOS private APIs to do what you want to achieve. Don't try to submit it to Apple though.
With this framework, you can programmatically compose and send text messages through iMessage/SMS.

Send a code to Varification Code by sms to user using my iphone

I am working on a application in which I have verify a users number.I will get the user's permission to send message from MFMessageComposeViewController.But I want to hide the code that I am sending in the message body from the user.I read that I can't send message from the
iPhone without showing MFMessageComposeViewController. And Apple will reject my application if i will use any third party framework for that.So what can i do to get my work done.Can any one guid me with that.Any help is welcome.Thanks in advance
Thanks
Happy Coding
There is no alternative method of sending an SMS on a non jailbroken phone.
Is the SMS method of sending critical? Otherwise - I would consider a behind the scenes webservice using HTTPS.

Sending SMS in lua files

I am trying to send a SMS from a lua script.
I researched and found the native.showPopup, but I want to send the SMS from the app itself, not composing it!
Can you help me?
thanks.
Try
url = "sms:1-234-456-6789?body=Hello%2C%20World!"
system.openURL(url)
The current system.openURL() docs in Corona Labs doesn't mention "sms" as valid URL type but I've seen this mentioned elsewhere.
There is no way to do this. You might be able to do it with Corona native which is free now.

Resources