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

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.

Related

Allow my iOS App to Appear in 'Open In...' list on Phone Number Click

I'm building a calling app, and the aim is to allow users to select to call a phone number in another app, and for our app to open in the 'Open With...' list, so users can call the person on our app instead of the default calling app on iOS.
I've found that I can add document types to identify valid formats which can open the app. What I'd like is when someone clicks a phone number in another app or online, they get the option to open it with my app. To link a phone number, obj-C uses a URL string, and the doc type for that is public.url.
How do I differentiate between that and a normal URL so my app can open when someone clicks a phone number in another app? Thanks in advance.

Any way to create contacts in address book with bridging custom service in ios

When we install whatsapp in android, then the contacts in address book are automatically synced with whatsapp contacts and the logo of whatsapp shows in front of them. So when we open that contact and click on whatsapp contact directly from there and we are sent back to whatsapp.
The same functionality I need in iPhone with my app. See thye attached screenshot.
If we click on that bubble then we will be sent back to new message page. The same way I want my icon with that contact and it should open my app. How to do this?
I want to do it by code (my app) itself.
If you have any idea or know any documentation then please share.
Thanks in advance.

How to send a Whatsapp message to a specific user using third party apps in iPhone?

Let my app be A and the app user is called A1
I have a completely different person with his mobile mobile number - N1
Now I want achieve the following in my app A - When the user A1 clicks on a button, Whatsapp is opened(if present) with a compose message to the number N1, whether or not he is in his contact list.
I am pretty sure that this is possible on Android as I my self have done it but in iOS, I am not able to find any solution. What ever solutions are out there don't achieve what I want as they open Whatsapp in general, and show me all the users out there. Please, do not redirect to the Whatsapp.com support URL as it is pretty useless.

SMS default contact name

Whenever I receive a text message from some services (namely Google and Blablacar), I see the service name as the sender (like if it was in my contacts) instead of an ugly phone number, as it appears when the text message comes from other services (Snapchat, Hello Bank).
I don't know if an app from the service needs to be installed on the iPhone for the service name to appear instead of the phone number : I have the BlaBlaCar app installed and (of course) one of the Google apps (Maps), but the sms from Google was to confirm my phone number as I created a google account my computer, not on my phone. So the text message cannot "come from" the iOS app.
When I click the sender "Contact" button and then the Info icon, I can see the real sender phone number (ex 4 66 45 3 for google and 2 52 25 22 27 for blablacar).
I have never added those phone numbers to my contacts myself, neither I see those "contacts" in my contacts.
I would like to know how it is made, so I can do the same when sending a text message from my server.
Are there some kind of pre-embedded default hidden contacts in iOS ?
Is there a field to fill in the app plist file like "default app phone number" that I didn't see ?
Is it some kind of a registration process with Apple so you can associate a phone number to a specific name ?
Thanks
Alright, I was looking in the wrong direction, this has nothing to do with iOS, Apple, or an iOS app setting, this is a feature of the Short Message System called Sender ID.
Here is a thread which lead me to the answer : http://developer.nokia.com/community/discussion/showthread.php/109878-How-to-Send-SMS-with-Sender-Name
This ability to set the sender ID is offered by many of the SMS sending platforms (Clickatell, SMSCountry, blastSMS...), but apparently it might not work in every country.
Here you can find some info about it : http://www.smscountry.com/custom-sender-id.aspx
Hope it will help if someone wonders like me "How hell Google has put itself into my contacts ?" !

open URL inside presented MFMessageComposeViewController

I have an app that presents a MFMessageComposeViewController for sending a text message for a predefined number. The current user already has an SMS history with this number, so already existing SMS with this number show up in the composer. Some of this SMSs have links inside.
Problem is:
When I click on the link from my app message composer the link does nothing.
BUT when I open the SMS app, select the contact and click the links in old messages it opens in Safari.
Question is: is there any way I can handle the tap on the links inside an MFMessageComposeViewController?
From what I can tell this is not currently possible.
And you are also not aloud subclass. Since there are no other public messaging Apis you are out of luck on this one. - at least on this version of ios 7.

Resources