I'm developing an app for iOS and Android that i want users to be able to launch when they receive a SMS message that contains a link.
The link includes the app package as well as encrypted data in the following format:
"com.app.myapp://?<encrypted data>" (the <> brackets are not included and the encrypted data is never over 120 characters)
On iOS, this works perfectly as the SMS link comes in correctly hyperlinked to include all of the encrypted data, the app launches and all is well.
Android on the other hand, the link comes in broken...only the "com.app.myapp" is hyperlinked, which still launches the app when clicked, but it does not pass the encrypted data. So it seems like Android is breaking the link.
One fix i had for android was to add "http://" to the beginning of the link, this kept the hyperlink fully intact in Android, but on iOS the link with http would no longer launch the app. Also removing the ':' after the package name fixed it for Android, but again broke the iOS functionality.
I know its not an app issue, its more a Android Messages issue / possibly a link formatting issue. Is there another solution i can try?
myapp://load_data?<encrypted_data>
? – wottle