@capgo/capacitor-wifi 8.5.4 → 8.5.6

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/README.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # @capgo/capacitor-wifi
2
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-wifi" alt="Capgo - Instant updates for Capacitor" /></a>
2
+
3
+ Manage Wi-Fi from your Capacitor app: connect to networks, read the current SSID, IP and signal, and scan nearby networks on Android.
4
+
5
+ <a href="https://capgo.app/?ref=plugin_wifi"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-wifi" alt="Capgo - Instant updates for Capacitor" /></a>
3
6
 
4
7
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin_wifi"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin_wifi"> Missing a feature? We'll build the plugin for you 💪</a></h2>
8
+ <p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
9
+ <h2><a href="https://capgo.app/register/?ref=plugin_wifi">➡️ Get started for free</a></h2>
10
+ <p>14-day unlimited free trial. No credit card required</p>
11
+ <p><a href="https://capgo.app/consulting/?ref=plugin_wifi">Missing a feature? We'll build the plugin for you 💪</a></p>
7
12
  </div>
8
13
 
9
- Manage WiFi connectivity for your Capacitor app
14
+ <p align="center">
15
+ <img src="https://raw.githubusercontent.com/Cap-go/capacitor-wifi/main/assets/github-social-preview.png" alt="@capgo/capacitor-wifi for Capacitor apps" width="300" />
16
+ </p>
17
+
18
+ ## Key features
19
+
20
+ - **Connect**: `connect()`, `addNetwork()` and `disconnect()`.
21
+ - **Current network**: `getSsid()`, `getIpAddress()` and `getWifiInfo()`.
22
+ - **Scanning on Android**: `startScan()`, `getAvailableNetworks()`, `getRssi()` and the `networksScanned` event.
23
+ - **Saved networks and sharing**: `isNetworkSaved()` and `shareNetwork()`.
24
+ - **Permissions**: location permission helpers. On Android, scans, SSID, RSSI and `getWifiInfo()` need location permission.
25
+ - **Platforms**: iOS and Android. iOS uses NetworkExtension hotspot configuration, so some calls are Android only. Not available on web.
10
26
 
11
27
  ## Why Capacitor WiFi?
12
28
 
@@ -56,7 +56,7 @@ import java.util.concurrent.atomic.AtomicInteger;
56
56
  )
57
57
  public class CapacitorWifiPlugin extends Plugin {
58
58
 
59
- private final String pluginVersion = "8.5.4";
59
+ private final String pluginVersion = "8.5.6";
60
60
 
61
61
  private WifiManager wifiManager;
62
62
  private ConnectivityManager connectivityManager;
@@ -5,7 +5,7 @@ import CoreLocation
5
5
 
6
6
  @objc(CapacitorWifiPlugin)
7
7
  public class CapacitorWifiPlugin: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelegate {
8
- private let pluginVersion: String = "8.5.4"
8
+ private let pluginVersion: String = "8.5.6"
9
9
  public let identifier = "CapacitorWifiPlugin"
10
10
  public let jsName = "CapacitorWifi"
11
11
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-wifi",
3
- "version": "8.5.4",
3
+ "version": "8.5.6",
4
4
  "description": "Manage WiFi connectivity for your Capacitor app",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",