iOS sms html link not updating itself - ios

So a rather peculiar issue is occurring. I work for a News company and we have a mobile app. We allow our users to share stories, and we utilize the "sms:&body=..." method of sending a user from html link -> messages app with a pre-populated text. This works fine. The issue that's happening is that, let's say a user clicks our 'Text' link, and they get redirected to the messages app with the pre-populated text filled. But let's say the user doesn't send any text or cancel it, and goes back to our app via the little '<' button in the status bar, and then tries to text another story, the pre-populated text is not updated and still uses the old pre-populated text. Is there any way we can tell messages to update with the new body text?
I have noticed though, if you 'cancel' the text then it works fine.
Here's my current code
Xamarin.Forms.Device.OpenUri(new System.Uri("sms:&body=" + ShareSMSText));

Related

Long URL isn't fully blue when embedded inside SMS text message

In our app, we use MFMailComposeViewController in order to generate and send an invitation message, containing some text and a deep link. Sometimes, when there is a network communication problem, the deep link can't be shortened. When this happens, after the recipient gets the invitation message, the link is broken:
I have no idea why it happens. Is there any way to fix this? By the way, if the recipient uses an Android device, the link is displayed correctly.

How to avoid iPhone automatically adding Map URL to SMS message?

My App allows users to share items from the App with their friends through SMS messages, which contains a deeplink that brings the recipient to that item in the App. I have noticed a few occasions where an extra link is automatically added to the SMS message that when pressed opens up the Map App on the phone and tries to go to an address. This is confusing to the user since the item being shown is a baseball card and the first link goes to an address instead of the item as expected. An example text that turns into a url is:
1933 Goudey #149 Babe Ruth PSA 4
Does anyone know how to turn off this functionality? I couldn't find any references to it.

Testflight invitation email's button not clickable

I have added my application to the iTunes Connect and allowed the application to go Testflight Beta testing. However, when I tried to send the invitation email to the internal tester, the email, which should contains a button to open the URL from the Testflight app appears to be not clickable, and when I tried to right click to get the hyperlink, it does not have it. The button become looks like this,
As far as I am concerned, the button should actually looks like this,
I have tried to remove the internal tester from the Users & Roles section, re-adding the user as internal tester, as well as remove the tester role, adding it back again to get a new invitation email, but all the emails have this same issue.
Any ways so that I can get the button back to the usual one?
Thank you.
So, after some time, I did tried on the alternative mentioned by #WilliamCorncobDecker that I eventually opened the email in a web browser. However, in my case, the button is still not clickable. So, what I did was to view the page source and get the invitation URL and send to URL to my device.
Open the URL from the device, and it's working fine now.

Send an email using text fields for the subject and body instead of MFMailComposeViewController

I want to send an email within my app, but without the standard email layout from apple's mail app, which could be obtained through MFMailComposeViewController. I would like to have two text fields, one for the users email, one for the body, and a button to send the email. Thanks!
The whole point of MFMailComposeViewController is that it looks and acts the same as the system standard e-mail application, also after iOS itself changes (think iOS 6 --> iOS 7). This is primarily for user convenience, so you're supposed to use it. AFAIK, you don't get direct access to the e-mail protocol stack anyway, but then again, you don't need to worry about it.
Of course, you can set the subject and body programmatically, so if you really wanted to, you could have those two text fields, and then copy whatever the user has entered, to use it with MFMailComposeViewController, but why bother? It makes the user experience worse, and it's extra work for you.

UIWebView doesn't detect text box on website

I have a UIWebview that loads the e-mail website for my school. When you log in, you can view and read mail with no problem, but if you goto compose an e-mail or reply to one, you are unable to touch inside the message text box to write your e-mail.
I thought it was a problem with the actual e-mail client my school uses, but when I goto the website on Safari I am able to touch in the message box and write an e-mail as usual.
If you have any insight on why this would happening, i'd appreciate it!!
Also, I basically built my own web browser, how would I go about allowing users to save their user/password, for example for the e-mail link (I have other links to school related websites where it would be nice for it to save your user/pass).
Thanks!
MobileSafari (and UIWebView) don't support contenteditable, only normal inputs and textareas

Resources