Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Why are my app's shared links getting truncated in iOS messages?

$
0
0

I am working on a React Native app (only on iOS right now) that has shareable posts. The following happens in a post's TouchableOpacity component's onPress:

const url = `https://app.appname.com/post/${postId}`;try {  const result = await Share.share({    url,    tintColor: colors.primary   });...

The entire url is shared most of the time. However, in the iOS Messages app particularly, sometimes what is shared is https://app.appname.com/, removing the post information, so it directs a user to the app when it's clicked, but not to the specific post.Independent of our app, this has also happened when sharing a complete link (post information included) from Slack through Messages on iOS. The link in Messages was also truncated, removing the post information.Because of the latter sharing experience, wherein our app was not involved, I'm figuring this might be an iOS issue; but I'm hoping that it is something I can fix through the app.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>