This repository was archived by the owner on Nov 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Android Settings
Matei Radu edited this page Mar 3, 2019
·
3 revisions
- All properties are optional.
- If a property is set incorrectly the configuration process will not fail and its default value will be used instead.
- Chrome Custom Tabs is not Chrome specific and other browsers, like Firefox and Samsung Internet, support it. However, implementation across different browsers may vary and so could the results of applying these settings.
{
toolbarColor: "#AA0000",
showTitle: true,
addDefaultShareMenu: true,
closeButtonIcon: myIcon // const myIcon = require('./image.jpg');
}
The color to tint the background of the toolbar. Provided color can be in any TinyColor supported format.
Flag to toggle if the page title should be shown in the custom tab.
Flag to toggle the default share menu.
Custom close button icon. The Icon image file should be imported with something like require('./image.jpg')
.
Provided icon must be a .png
, .jpg
, or .gif
file.