You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@
3
3
4
4
Chrome Custom Tabs for React Native. Custom Tabs is supported only Chrome for Android. For this reason, the interface is the same, but the behavior is following:
5
5
6
-
* iOS
7
-
If Chrome is installed, open the URL in it. If it is not installed, open in Safari.
8
-
9
6
* Android
10
7
If Chrome is installed, open the URL in Chrome that you have customized some of the look & feel. If it is not installed, open in other browser.
11
8
9
+
* iOS
10
+
If Chrome is installed, open the URL in it. If it is not installed, open in Safari.
11
+
12
12
Customization and detailed behavior refer to the Usage.
13
13
14
14
## Installation
@@ -92,13 +92,13 @@ CustomTabs.openURL(url, {
92
92
enableUrlBarHiding:true,
93
93
showPageTitle:true,
94
94
enableDefaultShare:true,
95
-
// For value, specify only full qualifier or only resource name.
96
-
// In the case of the resource name, the module complements the application package in java side.
95
+
// For value, specify only full qualifier(package:anim/name) or only resource name.
96
+
// In the case of the resource name, the module complements application package.
animations:ANIMATIONS_SLIDE, // or ANIMATIONS_FADE
@@ -117,7 +117,7 @@ The option to support:
117
117
|enableUrlBarHiding|boolean|undefined|Enables the url bar to hide as the user scrolls down on the page.|
118
118
|showPageTitle|boolean|undefined|Sets whether the title should be shown in the custom tab.|
119
119
|enableDefaultShare|boolean|undefined|Whether to add a default shared items of the menu.|
120
-
|animations|Object|undefined|Sets the exit and start animations. ANIMATIONS_FADE, ANIMATIONS_SLIDE or custom object with string properties `startEnter`, `startExit`, `endEnter` and `endExit` each defining an Android animation resource ID to use for the animations, such as `com.github.droibit.android.reactnative.customtabs:anim/slide_in_right`.|
120
+
|animations|Object|undefined|Sets the exit and start animations. ANIMATIONS_FADE, ANIMATIONS_SLIDE or custom object with string properties `startEnter`, `startExit`, `endEnter` and `endExit` each defining an Android animation resource ID to use for the animations, such as `slide_in_right`.|
121
121
|headers|Object|undefined|Sets any custom headers that should be used.|
122
122
|forceCloseOnRedirection|boolean|undefined|Workaround that Custom Tabs doesn't close on redirecting back to app scheme.([#11](https://github.com/droibit/react-native-custom-tabs/pull/11))|
0 commit comments