I have a requirement to send an SMS to a set of user and track its delivery status. Is there any option available in iOS SDK to check whether the SMS is delivered successfully or not?
Thanks,
Adarsh
Related
I am developing an iOS chat messaging App using MQTT, In this App i have to show other user online/offline status and message Send & Deliver Status.
Please help me in this.
Thanks in advance.
Online/offline status can be retrieved in this kind of method.
Checking Active MQTT Client Connections.
This guy uses sensors, but working principle is the same.
Message sent status can be obtained if you're using QOS1 or QOS2, so it guarantees delivery to server.
Message delivered can be done with publishing to the recipient's topic. You are sure that message is delivered, if another client published some sort of acknowledgment.
Consider 2 iOS phones running an app.
The app in one phone sends a SMS to the other phone. I want to know two things.
Is it possible to show a notification inside the same app in second phone when this SMS is received.
Is it possible to receive this SMS only inside the app ie, this SMS should not go to the default iOS message inbox.
No, it's absolutely not possible without jailbreak.
iOS does not provide any public API to deal with SMS without going through the MFMessageComposeViewController.
Need to send SMS programmatically in my iPhone app.But don't want to track SMS history in default message app(message in sent items).
Does any one has solution for this ?
I know Apple won't let you know when a user uninstalls your app.
I have an old legacy SMS system to send alert Short Message to end users. Most of these messages are serious. There's a bottleneck with the GSM module when sending hundreds SMS users simultaneously. Delay is inevitable.
Thus, I built a new alert system to send push notification to my users if they installed my app. After registering their phone number, their SMS Alert will be switched into the new alert system.
The problem is that some old-school users prefer SMS rather than push notifications. They downloaded the app and registered their phone number. Then they found their phone doesn't have a 3G data plan. They deleted the app without un-registering their phone number.
My new system has no idea who deleted the app without unregistering the phone number. All serious alert messages are still sent to the nonexistent app on their phones.
Is there any way to detect that a user has deleted my app?
APNS has a feedback service where Apple reports any device token that is no longer active on the users device. You are required by Apple to check the tokens from the feedback service and stop sending pushes to those devices.
You can use this same information to automatically move the user back to SMS. Just tie the device token to the phone number in your database. If the token is active, send pushes to it. If it is reported by the feedback service to be in-active, remove it from your records and use the users phone number for SMS again.
Just remember that a device token can become active again, at which point, it will be registered with you through the same mechanism it was the first time. Re-save it with the user and use push again.
i am successfully send Sms through my application,but i am unable to check is message sent or not.means any kind of delivery report by which my application get to know that Sms has Successfully reached to the desired location.
there were So many condition in which Sms Sending code run Successfully but message didn't send as if device balance is negative etc.
so how to catch these events when sending Sms.
No you can't access the SMS delivery report from your application. For more info see this discussion.