expo-web-browser 12.1.0 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +10 -3
- package/android/build.gradle +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 12.2.0 — 2023-05-08
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
17
|
+
## 12.1.1 — 2023-02-09
|
|
18
|
+
|
|
19
|
+
_This version does not introduce any user-facing changes._
|
|
20
|
+
|
|
13
21
|
## 12.1.0 — 2023-02-03
|
|
14
22
|
|
|
15
23
|
### 🐛 Bug fixes
|
package/README.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
<p>
|
|
2
|
+
<a href="https://docs.expo.dev/versions/latest/sdk/webbrowser/">
|
|
3
|
+
<img
|
|
4
|
+
src="../../.github/resources/expo-web-browser.svg"
|
|
5
|
+
alt="expo-web-browser"
|
|
6
|
+
height="64" />
|
|
7
|
+
</a>
|
|
8
|
+
</p>
|
|
2
9
|
|
|
3
10
|
Provides access to the system's web browser and supports handling redirects. On iOS, it uses SFSafariViewController or SFAuthenticationSession, depending on the method you call, and on Android it uses ChromeCustomTabs. As of iOS 11, SFSafariViewController no longer shares cookies with Safari, so if you are using WebBrowser for authentication you will want to use WebBrowser.openAuthSessionAsync, and if you just want to open a webpage (such as your app privacy policy), then use WebBrowser.openBrowserAsync.
|
|
4
11
|
|
|
@@ -9,7 +16,7 @@ Provides access to the system's web browser and supports handling redirects. On
|
|
|
9
16
|
|
|
10
17
|
# Installation in managed Expo projects
|
|
11
18
|
|
|
12
|
-
For [managed](https://docs.expo.dev/
|
|
19
|
+
For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/webbrowser/).
|
|
13
20
|
|
|
14
21
|
# Installation in bare React Native projects
|
|
15
22
|
|
|
@@ -18,7 +25,7 @@ For bare React Native projects, you must ensure that you have [installed and con
|
|
|
18
25
|
### Add the package to your npm dependencies
|
|
19
26
|
|
|
20
27
|
```
|
|
21
|
-
expo install expo-web-browser
|
|
28
|
+
npx expo install expo-web-browser
|
|
22
29
|
```
|
|
23
30
|
|
|
24
31
|
### Configure for iOS
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '12.
|
|
6
|
+
version = '12.2.0'
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
buildscript {
|
|
@@ -23,7 +23,7 @@ buildscript {
|
|
|
23
23
|
if (ext.has("kotlinVersion")) {
|
|
24
24
|
ext.kotlinVersion()
|
|
25
25
|
} else {
|
|
26
|
-
ext.safeExtGet("kotlinVersion", "1.
|
|
26
|
+
ext.safeExtGet("kotlinVersion", "1.8.10")
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -75,7 +75,7 @@ android {
|
|
|
75
75
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
76
76
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
77
77
|
versionCode 18
|
|
78
|
-
versionName '12.
|
|
78
|
+
versionName '12.2.0'
|
|
79
79
|
}
|
|
80
80
|
lintOptions {
|
|
81
81
|
abortOnError false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-web-browser",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.0",
|
|
4
4
|
"description": "Provides access to the system's web browser and supports handling redirects. On iOS, it uses SFSafariViewController or SFAuthenticationSession, depending on the method you call, and on Android it uses ChromeCustomTabs. As of iOS 11, SFSafariViewController no longer shares cookies with Safari, so if you are using WebBrowser for authentication you will want to use WebBrowser.openAuthSessionAsync, and if you just want to open a webpage (such as your app privacy policy), then use WebBrowser.openBrowserAsync.",
|
|
5
5
|
"main": "build/WebBrowser.js",
|
|
6
6
|
"types": "build/WebBrowser.d.ts",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"expo": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "4ba50c428c8369bb6b3a51a860d4898ad4ccbe78"
|
|
49
49
|
}
|