-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] fixed share icon display issue on android #462
base: develop
Are you sure you want to change the base?
[Android] fixed share icon display issue on android #462
Conversation
android/src/main/java/com/proyecto26/inappbrowser/RNInAppBrowser.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hrishiakhade marked the conversation https://github.com/proyecto26/react-native-inappbrowser/pull/462/files/1b3b1c3dd94fc5f793bb3fb87dabd4634836a3ef#r1695653707 as resolved because the indentation has been fixed, and asked "Pls check" but the merge was not been subsequently reviewed. It looks like the requested change has been implemented completely. @jdnichollsc can approve and merge it in?
builder.setShareState(CustomTabsIntent.SHARE_STATE_OFF); | ||
} | ||
} else { | ||
builder.setShareState(CustomTabsIntent.SHARE_STATE_OFF); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hrishiakhade I think we can remove this else condition, so users can specify this option to enable/disable that share state instead, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@twocs oh I added a small comment here, sorry for the delay folks!
Next time, please send me a message from WhatsApp or Telegram, this is my profile: https://bio.link/jdnichollsc 🙏
Ok for merging? @jdnichollsc |
PR Checklist
What is the current behavior?
enableDefaultShare: false is not working on android
What is the new behavior?
enableDefaultShare: false is now working on android
Fixes/Implements/Closes #[Issue Number].
Replaced the native library code in RNInAppBrowser.java
from