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
+101-6Lines changed: 101 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
</p>
30
30
31
31
<h1align="center">InAppBrowser for NativeScript</h1>
32
+
<h3align="center">Provides access to the system's web browser and supports handling redirects</h3>
32
33
<h4align="center"><ahref="https://developer.chrome.com/multidevice/android/customtabs#whatarethey">Chrome Custom Tabs</a> for Android & <ahref="https://developer.apple.com/documentation/safariservices">SafariServices</a>/<ahref="https://developer.apple.com/documentation/authenticationservices">AuthenticationServices</a> for iOS.</h4>
33
34
34
35
<palign="center">
@@ -66,6 +67,7 @@ Property | Description
66
67
`modalTransitionStyle` (String) | The transition style to use when presenting the view controller. [`coverVertical`/`flipHorizontal`/`crossDissolve`/`partialCurl`]
67
68
`modalEnabled` (Boolean) | Present the **SafariViewController** modally or as push instead. [`true`/`false`]
68
69
`enableBarCollapsing` (Boolean) | Determines whether the browser's tool bars will collapse or not. [`true`/`false`]
70
+
`ephemeralWebSession` (Boolean) | Prevent re-use cookies of previous session (openAuth only) [`true`/`false`]
69
71
70
72
### Android Options
71
73
Property | Description
@@ -142,15 +144,100 @@ import InAppBrowser from 'nativescript-inappbrowser'
142
144
...
143
145
```
144
146
145
-
## Credits 👍
146
-
***React Native InAppBrowser:**[InAppBrowser for React Native](https://github.com/proyecto26/react-native-inappbrowser)
147
+
### Authentication Flow using Deep Linking
148
+
149
+
In order to redirect back to your application from a web browser, you must specify a unique URI to your app. To do this,
150
+
define your app scheme and replace `my-scheme` and `my-host` with your info.
151
+
152
+
- Enable deep linking (Android) - **[AndroidManifest.xml](https://github.com/proyecto26/nativescript-inappbrowser/blob/master/demo/app/App_Resources/Android/src/main/AndroidManifest.xml#L41)**
Using in-app browser tabs (like SFAuthenticationSession/ASWebAuthenticationSession and Android Custom Tabs) where available. Embedded user-agents, known as web-views (like UIWebView and WKWebView), are explicitly not supported due to the usability and security reasons documented in [Section 8.12 of RFC 8252](https://tools.ietf.org/html/rfc8252#section-8.12).
147
226
148
227
## Contributors ✨
149
-
Thanks goes to these wonderful people:
150
-
<!-- CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
228
+
Please do contribute! Issues and pull requests are welcome.
229
+
230
+
### Code Contributors
231
+
232
+
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
***React Native InAppBrowser:**[InAppBrowser for React Native](https://github.com/proyecto26/react-native-inappbrowser)
267
+
178
268
## Supporting 🍻
179
269
I believe in Unicorns 🦄
180
270
Support [me](http://www.paypal.me/jdnichollsc/2), if you do too.
181
-
[Professionally supported nativescript-inappbrowser is coming soon](https://tidelift.com/subscription/pkg/npm-nativescript-inappbrowser?utm_source=npm-nativescript-inappbrowser&utm_medium=referral&utm_campaign=readme)
271
+
272
+
## Enterprise 💼
273
+
274
+
Available as part of the Tidelift Subscription.
275
+
276
+
The maintainers of InAppBrowser for NativeScript and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-nativescript-inappbrowser?utm_source=npm-nativescript-inappbrowser&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
182
277
183
278
## Security contact information 🚨
184
279
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
0 commit comments