wifi_name_plugin 0.0.1 copy "wifi_name_plugin: ^0.0.1" to clipboard
wifi_name_plugin: ^0.0.1 copied to clipboard

PlatformiOS

Recupera il nome della rete Wi-Fi corrente su iOS.

wifi_name_plugin #

Recupera il nome della rete Wi-Fi corrente su iOS.

Installazione #

Aggiungi al pubspec.yaml:

dependencies:
  wifi_name_plugin: ^0.0.1

Uso #

import 'package:wifi_name_plugin/wifi_name_plugin.dart';

String? ssid = await WifiNamePlugin.getWifiName();
print(ssid);

Note sui permessi #

  • iOS: aggiungi NSLocationWhenInUseUsageDescription e abilita Wi-Fi Info capability.
  • info.plist:
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Serve per ottenere il nome della rete Wi-Fi</string>
    <key>com.apple.developer.networking.wifi-info</key>
    <true/>
1
likes
140
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Recupera il nome della rete Wi-Fi corrente su iOS.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on wifi_name_plugin

Packages that implement wifi_name_plugin