@capacitor/network 5.0.0-alpha.1 → 5.0.0-beta.1
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
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.0.0-beta.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/network@5.0.0-beta.0...@capacitor/network@5.0.0-beta.1) (2023-04-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Update gradle to 8.0.2 and gradle plugin to 8.0.0 ([#1542](https://github.com/ionic-team/capacitor-plugins/issues/1542)) ([e7210b4](https://github.com/ionic-team/capacitor-plugins/commit/e7210b47867644f5983e37acdbf0247214ec232d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [5.0.0-beta.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/network@5.0.0-alpha.1...@capacitor/network@5.0.0-beta.0) (2023-03-31)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @capacitor/network
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [5.0.0-alpha.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/network@4.1.0...@capacitor/network@5.0.0-alpha.1) (2023-03-16)
|
|
7
26
|
|
|
8
27
|
|
package/android/build.gradle
CHANGED
|
@@ -15,7 +15,7 @@ buildscript {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
dependencies {
|
|
18
|
-
classpath 'com.android.tools.build:gradle:
|
|
18
|
+
classpath 'com.android.tools.build:gradle:8.0.0'
|
|
19
19
|
if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
|
|
20
20
|
classpath 'io.github.gradle-nexus:publish-plugin:1.1.0'
|
|
21
21
|
}
|
|
@@ -30,6 +30,7 @@ if (System.getenv("CAP_PLUGIN_PUBLISH") == "true") {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
android {
|
|
33
|
+
namespace "com.capacitorjs.plugins.network"
|
|
33
34
|
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
|
|
34
35
|
defaultConfig {
|
|
35
36
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
|
@@ -48,8 +49,8 @@ android {
|
|
|
48
49
|
abortOnError false
|
|
49
50
|
}
|
|
50
51
|
compileOptions {
|
|
51
|
-
sourceCompatibility JavaVersion.
|
|
52
|
-
targetCompatibility JavaVersion.
|
|
52
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
53
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
package="com.capacitorjs.plugins.network">
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
2
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
4
3
|
</manifest>
|
|
@@ -168,7 +168,7 @@ public extension Reachability {
|
|
|
168
168
|
func startNotifier() throws {
|
|
169
169
|
guard !notifierRunning else { return }
|
|
170
170
|
|
|
171
|
-
let callback: SCNetworkReachabilityCallBack = { (
|
|
171
|
+
let callback: SCNetworkReachabilityCallBack = { (_, flags, info) in
|
|
172
172
|
guard let info = info else { return }
|
|
173
173
|
|
|
174
174
|
// `weakifiedReachability` is guaranteed to exist by virtue of our
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/network",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-beta.1",
|
|
4
4
|
"description": "The Network API provides network and connectivity information.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "a837068f095735043d64f8c4bfa22a0e77dcda7a"
|
|
83
83
|
}
|