react-native-branch-deep-linking-attribution icon indicating copy to clipboard operation
react-native-branch-deep-linking-attribution copied to clipboard

Customize android ShareSheetStyle and sharing channel

Open alaminopu opened this issue 4 years ago • 5 comments

Is there any way to customize android share sheet style? Currently, it's bit cut off from both side. Would be nice to set it Full width. According to branch documentation, it's possible to set it to full width. But I don't know how to do it in react-native.

Screenshot_20200610-163850

Also, is there any option to change the order of sharing channel?. I want to put "WhatsApp", "Instagram" on top of the list.

if it's not possible to customize, is there any way to use default sharing option in android?

android_share_image

alaminopu avatar Jun 10 '20 14:06 alaminopu

Adding a feature request ticket for this.

echo-branch avatar Jun 10 '20 17:06 echo-branch

You can do this with a combination of branchUniversalObject.generateShortUrl() to obtain a short link then Share to get the built-in Android modal.

jamesholcomb avatar Jul 03 '20 21:07 jamesholcomb

You can do this with a combination of branchUniversalObject.generateShortUrl() to obtain a short link then Share to get the built-in Android modal.

This worked for me. Thanks!

bauerpm avatar Jul 06 '20 15:07 bauerpm

Are you find the way how change the order of sharing channel? Even if use .addPreferredSharingOption(SharingHelper.SHARE_WITH.TWITTER) right in java code, it is not use real order, it just add app in the first screen but in own order

ZaikinaEvgeniya-2 avatar Jun 04 '21 11:06 ZaikinaEvgeniya-2

You can do this with a combination of branchUniversalObject.generateShortUrl() to obtain a short link then Share to get the built-in Android modal.

can you explain more pls?

utkuertas avatar Jun 27 '21 21:06 utkuertas