Closed hrishiakhade closed 1 month ago
Replaced the native library code
from
if (options.hasKey(KEY_DEFAULT_SHARE_MENU_ITEM) &&
options.getBoolean(KEY_DEFAULT_SHARE_MENU_ITEM)) {
builder.addDefaultShareMenuItem();
}
to
if(options.hasKey(KEY_DEFAULT_SHARE_MENU_ITEM)){
if(options.getBoolean(KEY_DEFAULT_SHARE_MENU_ITEM)){
builder.setShareState(CustomTabsIntent.SHARE_STATE_ON);
}else{
builder.setShareState(CustomTabsIntent.SHARE_STATE_OFF);
}
}else{
builder.setShareState(CustomTabsIntent.SHARE_STATE_OFF);
}
Hello , I'm struggling with hiding the share icon on android. enableDefaultShare: false is not working on Android. Has anyone faced this issue? Also, any idea how to remove the arrow-down icon on the right side of the Close icon?
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Build.gradle
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Is there any code involved?