I have gone through this tutorial for sending SMS from an iPhone.
This is giving me an alertView with the message:
textMessage is not enabled on this device.
Where is the problem?
The iPhone Simulator does not simulate in-app SMS. You can only test this functionality on an iPhone device.
You can’t send messages from the Simulator.
Related
I have a chatting app and i am using livechat sdk to communicate between agent and client.When a chat is started {On chat started} callback is not received by the android app when its in background however its being received when its in foreground and its being received on the Ios app when its in background and foreground both.Is there anyway to capture the callback from livechat in background on android? Any help will be really appreciated.
I am using GCM to deliver notifications to Android and iOS devices.
What I am looking for is to send in the same downstream message a silent push for both platforms.
I have tried with this message
"content_available":true,
"data":
{
//My data here
},
As you can see, no notification key is sended, iOS works fine and we are receiving push in the background but Android shows my app icon at the top bar and it is not calling the GCM receiver.
If I set content_available to false, Android works fine but not in iOS (either background or foreground).
What I supposed to do? Send to my server the OS of each device and send a different message for each system?
I have also tried to set aps dictionary in data payload, but still the same.
Thanks in advance.
I use GCM in combination with an iOS app. The app registeres the device with GCM. I get a token from GCM, but when I send a message GCM reports ' NotRegistered'. Ik have tried to reinstall the app from Xcode, but the token is the same and keeps saying 'NotRegistered'. Deleting the app en reinstalling is does not help.
I have this problem on multiple devices (iPhone 6 iOS 9.1), iPad 3 and iPhone 4s. I have it working on a different iPhone 6 and iPhone 5s.
Could someone tell what is wrong? Or maybe how to force a new token from GCM?
Thanks in advance.
is it possible to send push notification for apple without apple device? I would like to send push notification using any page or service from apple, but not using an app created in xcode for example. My app that will get the push is ready and working, but I would like to send the push from a normal page, not from mac or iphone app.
Apple push notifications can only be send to Apple devices (iOS, OSX or Safari for Mac).
However, you can send the notification from any type of operating system using the Apple Push Notification Service API:
https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/remotenotificationspg/Chapters/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW9
Yes, you can do that for free with using a push notification API, such as Spontit.
See the API docs here: https://api.spontit.com/
See the Python wrapper here: https://github.com/spontit/spontit-api-python-wrapper
Is it possible to open the SMS message app (MFMessageComposeViewController) in iPad? I already have an app that implements this functionality; tested it in simulator it works good but in iPad, it displays the default error message that it does not support the SMS function. Is there any way to open an SMS app in iPad?
Answer is simple, without Jailbreak there is no way to send SMS from iPad.