How to send message to any number from app - ios

Actually i have implemented app to phone call using Sinch. is there is any possibility to send message to any number from app like way2sms,etc.

There are many services that will help you to build applications.
https://www.twilio.com/sms
https://www.twilio.com/sms/api
https://www.plivo.com/sms-api/
You can use some service like this and create SMS applications

You can use the MFMessageComposeViewController:
More Information please refer the link:
http://www.appcoda.com/ios-programming-send-sms-text-message/

Related

Incoming Call Number is not showing Using Sinch Client to Call in iOS

Thanks in advance.
I am developing one app in iOS.But have one Problem.
I am using SINCH CLIENT to make phone call from app to phone.But facing one problem when make call to other number on that device not showing actual number. and Showing incoming call from +11111 like this number.
I have to show actual phone number who call.
Please help me.
Thanks Again
Jignesh Patel, you have to write to support of Sinch to explain about your app in brief.
All the Sinch users will not have real number caller id feature enabled by default.
Sinch would verify all the aspects and then they may enable this feature for your account or for a specific app. And then you can see real numbers on the screen to whom you called (if the calling number is verified with Sinch verification service).
Hope this helps you.
In Documentation of Sinch Client, they have mentioned :
Instead of invoking the callUserWithId: method, invoke the
callPhoneNumber: method on the SINCallClient object.
So your App should know the phone number of the current device and you have to pass number in above method.

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.

Skpsmtpmessage API

My application need to send mail on background without display any mail compose screen so i got suggestion as skpsmtpmessage api .shall i use this api for my application and any apple rejection by using this api.I am new to ios application development so tell me the way to use third party api in applicatiion without apple rejection.can any one help me.
As Sudha and MarJamRob answered, your app can be rejected if you are sending mails in background but there is a workaround to this.
You can create a web method which takes the mail ids and content to be mailed as inputs and mails to the intended email ids. Call this method from within your iOS app with appropriate parameters. In this way you can fulfill your purpose without a risk of rejection as your app is not mailing in background but you are only giving a call to remote method!
You will get an Apple rejection for sending background e-mail without using the compose screen, or an in-app compose screen (g-mail).
Yes, your application will be rejected from apple because it is illegal to sending background email without display mail compose screen or without user interaction ...
...

Possible to send automated email?

The iOS SDK class MFMailComposeViewController can be used to let the user compose an email message.
What I'd like to do, is for the iOS app to send an email in the background, with no user interaction. Is this at all possible/allowed in the iOS SDK?
Nope. There isn't any API available to do this. You'd need to roll your own SMTP client and have the user enter credentials into your application. On top of that Apple may not approve this.
Unfortunately, I don't think Apple would ever allow this because (for example) then you could just get everyone's email address by auto-sending mail to yourself. :(
I actually wanted to implement something like this for the express purpose of alerting me when a critical error happens on an app in the app market.
Best solution would be to create an API (just ping a php file or something), and have it send the relative alert message to your email).

How to Add Phone With twitter using Third Party tool

I need a script that will add my phone with Twitter for All latest notification.
I found this page Twitter but i need to create script for my own application.
I goggled but i didn't get any solution For this.Please Help me to find this answer.
Thanks a lot in advance.
First Edit
This is a twitter's new feature Send notification to Phone. Actually I want to create an app that will allow users to register there phone with twitter via my application. Ie I need a script to implement send notification to phone.
The question that others are asking you Pankaj is what platform is your application being written for. You keep saying you want a "script" to do this, but what kind of script?
Giving us more insight to what your application is (a console application written in C#, or an ASP.NET web application) would lend more detail and raise the chances of someone being able to help you. :)
Regardless of your app's platform though, you're probably going to need to look into the Twitter API for setting this up. This is the normal method to interact with Twitter from 3rd party applications. So all the suggestions above, specifically the list of API's available, is probably what you're looking for.
Hey, can you give some more information? What kind of Phone are you developing for?
Maybe that helps solving your Problem.
If you are just searching for a way connecting your Phone to Twitter, here is the Twitter FAQ for Phone connecting:
http://support.twitter.com/articles/14014-twitter-phone-faqs
Maybe it helps, or give you more keywords for your search.
I don't believe there's a way to get or set the notification phone number using the API, however if a phone is already setup on the profile you want to configure, you can do the following to get notification from all user friends.
The user will need to authorize your application to access her account. This flow uses OAuth, and begins here:
http://api.twitter.com/oauth/request_token
Once the user has granted your app access, and your application has all the required OAuth credentials, turn on notifications using account/update_delivery_device:
http://api.twitter.com/1/account/update_delivery_device.json?device=sms
Next, fetch all the IDs for your user's friends using the friends/ids API call. Be sure to study the documentation; this call uses cursors, so you will have to manage those if the user has over 5,000 friends. Store these IDs for use in the next step. Here's an example call:
http://api.twitter.com/1/friends/ids.json?cursor=-1
Once you have all of the friend IDs, you can call notifications/follow repeatedly to enable notifications on your mobile device whenever your friend makes an update:
http://api.twitter.com/1/notifications/follow.xml?user_id=12345
This approach will burn one API call for each user that you enable notifications for; there's no way currently to manage notifications en masse.

Resources