@capacitor/network 5.0.0-beta.0 → 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,17 @@
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
+
6
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)
7
18
 
8
19
  **Note:** Version bump only for package @capacitor/network
@@ -15,7 +15,7 @@ buildscript {
15
15
  }
16
16
  }
17
17
  dependencies {
18
- classpath 'com.android.tools.build:gradle:7.4.1'
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
  }
@@ -49,8 +49,8 @@ android {
49
49
  abortOnError false
50
50
  }
51
51
  compileOptions {
52
- sourceCompatibility JavaVersion.VERSION_11
53
- targetCompatibility JavaVersion.VERSION_11
52
+ sourceCompatibility JavaVersion.VERSION_17
53
+ targetCompatibility JavaVersion.VERSION_17
54
54
  }
55
55
  }
56
56
 
@@ -168,7 +168,7 @@ public extension Reachability {
168
168
  func startNotifier() throws {
169
169
  guard !notifierRunning else { return }
170
170
 
171
- let callback: SCNetworkReachabilityCallBack = { (reachability, flags, info) in
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-beta.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": "d53b649da594ee7e30d7cff4f7cdb87ba6a436b5"
82
+ "gitHead": "a837068f095735043d64f8c4bfa22a0e77dcda7a"
83
83
  }