File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,13 @@ import InAppBrowser from 'react-native-inappbrowser-reborn'
125125 const result = await InAppBrowser.open(url, {
126126 // iOS Properties
127127 dismissButtonStyle: 'cancel',
128- preferredBarTintColor: 'gray ',
128+ preferredBarTintColor: '#453AA4 ',
129129 preferredControlTintColor: 'white',
130130 readerMode: false,
131+ animated: false,
132+ modalPresentationStyle: 'overFullScreen',
133+ modalTransitionStyle: 'partialCurl',
134+ modalEnabled: false,
131135 // Android Properties
132136 showTitle: true,
133137 toolbarColor: '#6200EE',
@@ -145,7 +149,7 @@ import InAppBrowser from 'react-native-inappbrowser-reborn'
145149 },
146150 headers: {
147151 'my-custom-header': 'my custom header value'
148- },
152+ }
149153 })
150154 Alert.alert(JSON.stringify(result))
151155 }
You can’t perform that action at this time.
0 commit comments