Branch.io feature request: Prevent long links in showShareSheetWithLinkProperties
Sometimes when sharing links with showShareSheetWithLinkProperties if you don’t have a internet connection you will get a very long link. From what I understand it is the expected behaviour.
These links are very unaesthetic and doesn’t always behave properly (e.g. link text not displayed properly).
For this reason it would be nice to have two things:
- A way (completionHandler for example) to not display the share sheet in case the link will be in the long format
- Instead of this long format provide the link with the parameters passed as parameters such as:
https://[branchsubdomain]? %24deeplink_path=article%2Fjan%2F123& %24fallback_url=https%3A%2F%2Fgoogle.com& channel=facebook& feature=affiliate& user_id=4562& name=Alex
If your short link creating fails far too often, then I’d suggest that you write in to our integrations team here. We’ve not had outages on our API recently and the last instance when it was down, we brought it back quickly.