Skip to content

hasBackButton property #109

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

Merged
merged 2 commits into from
Jun 25, 2020
Merged

hasBackButton property #109

merged 2 commits into from
Jun 25, 2020

Conversation

aitorct
Copy link
Contributor

@aitorct aitorct commented Oct 5, 2019

Sets a back arrow instead of the default X icon to close the custom tab, if hasBackButton property is true.

I had to use PNGs because Custom Tab does not support SVG/Vector files as custom close buttons. I compressed the image files using ImageOptim.

This solves #85.

@jdnichollsc
Copy link
Member

Hi @aitorct, this is awesome! One little question, can we modify the resource of the icon from our projects? :)

@aitorct
Copy link
Contributor Author

aitorct commented Jun 24, 2020

Hi @aitorct, this is awesome! One little question, can we modify the resource of the icon from our projects? :)

I did use the default Android back button icon (arrow left). Just like the cross, it's not supposed to be changed to a custom one, isn't it? I just kept the same behavior as the cross.

@jdnichollsc jdnichollsc merged commit 6ebc3e7 into proyecto26:master Jun 25, 2020
phuongwd pushed a commit to phuongwd/react-native-inappbrowser that referenced this pull request Jul 31, 2020
@jdnichollsc jdnichollsc mentioned this pull request Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants