Summary:
In my application, I’ve defined a custom URL in the format “myapp://..” . But the URL is not recognized as a link when it comes in an SMS. So the user is not able to tap it and launch the app. Instead, he has to copy & paste it in browser. This happens only in iPhone4(iOS v5.0)
Steps to Reproduce:
Define a custom URL for the app by specifying a new URL scheme in info.plist. Send an SMS with the custom URL of the app to iPhone4(iOS v5.0). Open the SMS.
Expected Result:
The URL must be displayed as link in the SMS.
Actual Result:
The URL is displayed there as plain text and not as a link.
Regression:
Before upgrading to iOS 5, in the same iPhone4(iOS version 4.3), the URL was displayed as link always.
Notes:
The funny side is that, if I forward the message from the same iPhone to itself, in the sent SMS and the newly received SMS, the URL will appear as a link.
Check if you’re using uppercase/mixed scheme (as in MyApp://…) versus an all lowercase (myapp://…). Under iOS 5, the OS won’t recognize and will throw exceptions if you try to use uppercase in a custom URL scheme. If that doesn’t work, it’s almost certainly a bug with the SMS code in which case you should file a bug. Let me know if that worked.