Coder Social home page Coder Social logo

flutternetwork / wififlutter Goto Github PK

View Code? Open in Web Editor NEW
268.0 15.0 169.0 1.02 MB

Flutter plugin suite for various WiFi services.

Home Page: https://wifi.flutternetwork.dev

Java 38.65% Objective-C 0.58% Ruby 2.44% Dart 38.71% Swift 11.06% Kotlin 8.56%
flutter-plugin wifi wifi-hotspot android ios flutter

wififlutter's Introduction

Flutter Network all_plugins GitHub Workflow Status all_plugins Coverage All Contributors Join the chat at https://gitter.im/flutternetwork/WiFiFlutter] Melos


WiFiFlutter is a suite of Flutter plugins that enable Flutter apps to use various WiFi services.

Note: WiFiFlutter is going under reforms, therefore some plugins might not be available yet. Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


wifi_iot

wifi_iot wifi_iot pub points

Flutter plugin which can handle WiFi connections (AP, STA).

[View Source]

Platform Support

Android iOS
✔️ ✔️*

*Only supports STA mode.


wifi_scan

wifi_scan wifi_scan pub points

Flutter plugin to scan for nearby visible WiFi access points.

[View Source]

Platform Support

Android iOS
✔️

Issues

Please file WiFiFlutter specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to WiFiFlutter can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Status

This repository is maintained by WiFiFlutter authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.

Contributors ✨

Thanks goes to these 💖 people for their contributions.

This project follows the all-contributors specification. Contributions of any kind welcome!

wififlutter's People

Contributors

adnreych avatar anharismail avatar bmooij-beeliners avatar cbenhagen avatar daadu avatar dominikstarke avatar fedepell avatar gitter-badger avatar hallot avatar jonasbark avatar jscd avatar julienrbrt avatar lmmfranco avatar mavyfaby avatar mvn-quannguyen2-dn avatar niek avatar nikolip avatar njuelle avatar pboos avatar pololacoste avatar sfaye avatar thearaks avatar weitsai avatar yhua537 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wififlutter's Issues

isConnected returning always false but the Phone connected successfully to the wifi

Hi there,

I'm testing and the module works perfect with iOS.

I'm now testing an Android (Using a Xiaomi M10) and this always returns false. The issue is that the Android Phone connected successfully to the Wifi (I can see it is connected).

bool isConnected = await WiFiForIoTPlugin.connect(STA_DEFAULT_SSID,
password: STA_DEFAULT_PASSWORD,
joinOnce: false,
security: NetworkSecurity.WPA);

Any ideas?

reduce logging amount

During debugging my logs are getting quite cluttered with:

D/got wifiIotPlugin(23599): result number of SSID: 12
D/got wifiIotPlugin(23599): final result:  ...etc/etc/etc

Is there a way to reduce the amount of logging besides forking and manually doing so? When you have a large block returned from the scan, yeah, just too much...

Get SSID & Password of the connected network

Hi,
Great package!

  1. Is it possible to get the ssid and the password of the connected network in iOS?
  2. Is it possible to get a full list of the available networks in iOS?

Thanks

Logo Design Offer as Open Source Contribution

Hello Sir. I'm a UI/UX and Graphics Designer. I'm happy to see an open source project, So, I want provide a logo for you. Would you mind if I propose a new logo design for your project as my Open Source Contribution?

Thanks before.

Doesn't work with Android targetSdk 29

Hey. Android SDK 29 comes with a lot of changes with wifi, mainly so that the user is in more control and the app can't silently manage wifi.

For some actions, the app needs to open settings panel in the bottom sheet (e.g. turning on wifi, so that the user finishes the action). I think some of the actions that are now possible will not be possible at all. It would be good to update the library for this.

Documentation on Wifi Connect/Disconnect iOS

Just wanted to clarify the documentation.

If I'm connected to a wifi network that I manually added. Using this package, can I disconnect from WiFi, then automatically reconnect to that same previously manually added network on iOS?

Android application crashed with running scan from isolate

Based on skeleton: https://gist.github.com/jebright/a7086adc305615aa3a655c6d8bd90264

  static void _scanAP(SendPort sendPort) async {
    Timer.periodic(new Duration(seconds: 5), (Timer t) async {
    List<WifiNetwork> scanResult;
      try {
        scanResult = await WiFiForIoTPlugin.loadWifiList();
      } on PlatformException {
        scanResult = List<WifiNetwork>();
      }
      _counter++;
    });
  }

another approach not working properly:

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
  .then((_) {
  runApp(new MyApp());
 });
}
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.9 at /home/aia/flutter
    • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/aia/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /snap/android-studio/88/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /snap/android-studio/88/android-studio
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • 0123456789ABCDEF • 0123456789ABCDEF • android-arm • Android 4.1.1 (API 16)

• No issues found!
$ flutter run
Launching lib/main.dart on 0123456789ABCDEF in debug mode...
D/FlutterActivity( 7121): Using the launch theme as normal theme.       
D/FlutterActivityAndFragmentDelegate( 7121): Setting up FlutterEngine.  
D/FlutterActivityAndFragmentDelegate( 7121): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 7121): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 7121): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@4231d4c8
D/FlutterActivityAndFragmentDelegate( 7121): Executing Dart entrypoint: main, and sending initial route: /
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter ( 7121): #0      _StreamController._subscribe (dart:async/stream_controller.dart:670:7)
E/flutter ( 7121): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
E/flutter ( 7121): #2      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
E/flutter ( 7121): #3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:87:31)
E/flutter ( 7121): #4      _MyHomePageState._start (package:demo/main.dart:48:18)
E/flutter ( 7121): <asynchronous suspension>                            
E/flutter ( 7121): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 7121): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 7121): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 7121): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 7121): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 7121): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 7121): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 7121): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 7121): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 7121): #14     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 7121): #15     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 7121): #16     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 7121): #17     _rootRunUnary (dart:async/zone.dart:1138:13) 
E/flutter ( 7121): #18     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 7121): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 7121): #20     _invoke1 (dart:ui/hooks.dart:273:10)         
E/flutter ( 7121): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 7121):                                                      
E/flutter ( 7121): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter ( 7121): #0      _StreamController._subscribe (dart:async/stream_controller.dart:670:7)
E/flutter ( 7121): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
E/flutter ( 7121): #2      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
E/flutter ( 7121): #3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:87:31)
E/flutter ( 7121): #4      _MyHomePageState._start (package:demo/main.dart:48:18)
E/flutter ( 7121): <asynchronous suspension>                            
E/flutter ( 7121): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 7121): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 7121): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 7121): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 7121): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 7121): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 7121): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 7121): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 7121): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 7121): #14     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 7121): #15     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 7121): #16     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 7121): #17     _rootRunUnary (dart:async/zone.dart:1138:13) 
E/flutter ( 7121): #18     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 7121): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 7121): #20     _invoke1 (dart:ui/hooks.dart:273:10)         
E/flutter ( 7121): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 7121):                                                      
E/flutter ( 7121): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter ( 7121): #0      _StreamController._subscribe (dart:async/stream_controller.dart:670:7)
E/flutter ( 7121): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
E/flutter ( 7121): #2      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
E/flutter ( 7121): #3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:87:31)
E/flutter ( 7121): #4      _MyHomePageState._start (package:demo/main.dart:48:18)
E/flutter ( 7121): <asynchronous suspension>                            
E/flutter ( 7121): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 7121): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 7121): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 7121): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 7121): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 7121): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 7121): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 7121): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 7121): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 7121): #14     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 7121): #15     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 7121): #16     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 7121): #17     _rootRunUnary (dart:async/zone.dart:1138:13) 
E/flutter ( 7121): #18     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 7121): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 7121): #20     _invoke1 (dart:ui/hooks.dart:273:10)         
E/flutter ( 7121): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 7121):                                                      
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
D/FlutterActivity( 8025): Using the launch theme as normal theme.       
D/FlutterActivityAndFragmentDelegate( 8025): Setting up FlutterEngine.  
D/FlutterActivityAndFragmentDelegate( 8025): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 8025): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 8025): Detaching from a FlutterEngine: null              
D/FlutterView( 8025): Not attached to an engine. Doing nothing.         
D/FlutterView( 8025): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42314ee0
D/FlutterActivityAndFragmentDelegate( 8025): Executing Dart entrypoint: main, and sending initial route: /
D/FlutterView( 8025): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42314ee0
D/FlutterView( 8025): Already attached to this engine. Doing nothing.   
D/FlutterView( 8025): Detaching from a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42314ee0
D/FlutterActivityAndFragmentDelegate( 8025): Detaching FlutterEngine from the Activity that owns this Fragment.
D/FlutterEngine( 8025): Destroying.                                     
D/FlutterEnginePluginRegistry( 8025): Destroying.                       
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                         3.6s
✓ Built build/app/outputs/apk/debug/app-debug.apk.
D/FlutterActivity( 8200): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate( 8200): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate( 8200): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 8200): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 8200): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42315d18
D/FlutterActivityAndFragmentDelegate( 8200): Executing Dart entrypoint: main, and sending initial route: /


Syncing files to device 0123456789ABCDEF...                             
(This is taking an unexpectedly long time.)       ⣻
(This is taking an unexpectedly long time.)       ⡿
(This is taking an unexpectedly long time.)       ⣯
12,023ms (!)                                       

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on 0123456789ABCDEF is available at: http://127.0.0.1:44159/2a6fIhV7kgE=/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".



E/flutter ( 8200): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 8200): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 8200): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 8200): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 8200): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 8200): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 8200): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 8200): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 8200): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 8200): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 8200): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 8200): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 8200): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 8200): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)


E/flutter ( 8200): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 8200): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 8200): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 8200): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 8200): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 8200): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 8200): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 8200): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 8200): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 8200): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 8200): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 8200): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 8200): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 8200): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Application finished.

removeWifiNetwork could delete other networks than the desired

I have seen this issue in the Android .java I haven't researched about the iOS version.

When the ssid passed to be deleted is being compared with the existing networks, it is only verified that the begining of the ssid network matches.
https://github.com/alternadom/WiFiFlutter/blob/4dbbad817981b65f780acdb0ffeac14dcec99e68/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L659
For example, if I have the networks:

  • wifinetwork
  • wifinetwork1
  • wifinetwork2
    And I want to delete the station 'wifinetwork' it is possible that any of the three networks will be removed.
    It can be solved by checking the full ssid.

Option to connect without scanning?

It would be nice to have a connectTo() method which does not first need to scan for hotspots. This would mean apps could omit the LOCATION permissions from their required permissions.

BSSID on iOS

Hi @alternadom I saw you got SSID on ios with key kCNNetworkInfoKeySSID. How can got bssid with kCNNetworkInfoKeyBSSID.
Can add

guard let interfaces = CNCopySupportedInterfaces() as? [String] else { return nil }
        let key = kCNNetworkInfoKeyBSSID as String
        for interface in interfaces {
            guard let interfaceInfo = CNCopyCurrentNetworkInfo(interface as CFString) as NSDictionary? else { continue }
            return interfaceInfo[key] as? String
        }
        return 

to body of
private func getBSSID(result: FlutterResult)

Thank you.

Fails to build for iOS..

Launching lib/main.dart on iPhone X in debug mode...
Running pod install...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

=== BUILD TARGET qr_mobile_vision OF PROJECT Pods WITH CONFIGURATION Debug ===
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_NEHotspotConfigurationManager", referenced from:
objc-class-ref in SwiftWifiIotPlugin.o
"OBJC_CLASS$_NEHotspotConfiguration", referenced from:
objc-class-ref in SwiftWifiIotPlugin.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone X.

WiFi AP not working

I'm getting platform exception on my android device indicating it doesn't support WiFi AP. I also tried adding permissions to have full access on the network in the AndroidManifest.xml, but still getting the error.

E/class info.whitebyte.hotspotmanager.WifiApManager(13476): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager(13476): at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager(13476): at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)

iOS will return true even when ssid or password are wrong.

This is because the API returns no error due to the hotspot being successfully created and not connected to. This can be fixed by checking if connection was successful afterwards, e.g.:

NEHotspotConfigurationManager.shared.apply(configuration) { (error) in
                if let error = error as NSError? {
                    if (error.localizedDescription == "already associated.") {
                        print("Connected")
                        result(true)
                        return
                    } else {
                        result(false)
                        return
                    }
                } else {
                    if self.getSSID() == sSSID {
                        result(true)
                        return
                    } else {
                        result(false)
                        return
                    }
                }
            }

forceWifiUsage issues

I recently needed to use the Android function bindProcessToNetwork for phones that allow to be connected to mobile data AND wifi at the same time, to force the OS to use the wifi for my iot requests, in the process of replacing an Xamarin.Forms app to a Flutter one.
In this process I ended up editing your plugin, so here my notes :

  1. Why you open the Settings.ACTION_MANAGE_WRITE_SETTINGS window ? From my tests and after reading the Android documentation, none of the used function in this method needs it.
  2. The Dart function WiFiForIoTPlugin.forceWifiUsage() doesn't return a Future like the other ones, so it cannot be awaited, which is quite anoying.
  3. Why using manager.requestNetwork(builder.build(), new ConnectivityManager.NetworkCallback() {}), when you could just use manager.getAllNetworks() ? I guess this is the cause of not beeing able to return a future.

Here is my final modification for the WifiIotPlugin.java file :

    private void forceWifiUsage(MethodCall poCall, Result poResult) {
        //boolean canWriteFlag = false;

        boolean useWifi = poCall.argument("useWifi");

        if (useWifi) {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
                final ConnectivityManager manager = (ConnectivityManager) moContext
                        .getSystemService(Context.CONNECTIVITY_SERVICE);

                // get wifi network
                final Network[] networks = manager.getAllNetworks();
                Network network = null;
                for (Network n : networks) {
                    //getNetworkInfo() is  deprecated in API level 29, see https://developer.android.com/reference/android/net/ConnectivityManager.html#getNetworkInfo(android.net.Network)
                    //getType() is deprecated in API 28, see https://developer.android.com/reference/android/net/NetworkInfo.html#getType()
                    if (manager.getNetworkInfo(n).getType() == ConnectivityManager.TYPE_WIFI) {
                        network = n;
                        break;
                    }
                }

                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
                    manager.bindProcessToNetwork(network);
                } else {
                    ConnectivityManager.setProcessDefaultNetwork(network);
                }
            }
        } else {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
                ConnectivityManager manager = (ConnectivityManager) moContext
                        .getSystemService(Context.CONNECTIVITY_SERVICE);
                assert manager != null;
                manager.bindProcessToNetwork(null);
            } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
                ConnectivityManager.setProcessDefaultNetwork(null);
            }
        }
        
        poResult.success(null);
    }

This was tested on a P30 Pro phone, running Android 9.0.

I hope it will help.

The connect function always return failure the first time a network is added

This issue has been verified on Android 8.1.
When using the connect function to add a network for the first time it always return false, even if the connection has been successfully made.
The problem resides in the fact that when the network id is checked, it compares the id from the connected network with the id from the 'WifiConfiguration' instance 'conf' that still retains the initial value (-1).
https://github.com/alternadom/WiFiFlutter/blob/4dbbad817981b65f780acdb0ffeac14dcec99e68/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L786

Wrong thread

Since the new flutter version I'm getting the following crash:

E/AndroidRuntime(25525): FATAL EXCEPTION: Thread-5
E/AndroidRuntime(25525): Process: com.tt.tga, PID: 25525
E/AndroidRuntime(25525): java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: Thread-5
E/AndroidRuntime(25525): 	at io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:605)
E/AndroidRuntime(25525): 	at io.flutter.embedding.engine.FlutterJNI.invokePlatformMessageResponseCallback(FlutterJNI.java:556)
E/AndroidRuntime(25525): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:131)
E/AndroidRuntime(25525): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:225)
E/AndroidRuntime(25525): 	at com.alternadom.wifiiot.WifiIotPlugin$5.run(WifiIotPlugin.java:538)

It appears results need to be passed back to the main thread and poResult.success(connected); should be called from there?

How to set SSID and PASSWORD fot Access Point?

Hello,

I'm trying to set ssid for access point by sending some ssid using this method WiFiForIoTPlugin.setWiFiAPSSID("someSSID");
But I'm getting this log:

E/flutter (26192): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, Attempt to write to field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference, null)
E/flutter (26192): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter (26192): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
E/flutter (26192): <asynchronous suspension>
E/flutter (26192): #2 WiFiForIoTPlugin.setWiFiAPSSID (package:wifi_iot/wifi_iot.dart:111:22)
E/flutter (26192): #3 _FlutterWifiIoTState.getButtonWidgetsForAndroid.<anonymous closure> (package:wifi_iot_example/main.dart:503:32)
E/flutter (26192): #4 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter (26192): #5 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter (26192): #6 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter (26192): #7 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter (26192): #8 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter (26192): #9 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
E/flutter (26192): #10 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:467:9)
E/flutter (26192): #11 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
E/flutter (26192): #12 PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:117:9)
E/flutter (26192): #13 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
E/flutter (26192): #14 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
E/flutter (26192): #15 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
E/flutter (26192): #16 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
E/flutter (26192): #17 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter (26192): #18 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter (26192): #19 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter (26192): #20 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter (26192): #21 _rootRunUnary (dart:async/zone.dart:1138:13)
E/flutter (26192): #22 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter (26192): #23 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter (26192): #24 _invoke1 (dart:ui/hooks.dart:273:10)
E/flutter (26192): #25 _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)

I don't now how to fix it. Can someone help me? Can be the same question for other guys.

Android application crashed with running scan from isolate

Based on skeleton https://gist.github.com/jebright/a7086adc305615aa3a655c6d8bd90264

with minimal changes:

  static void _scanAP(SendPort sendPort) async {
    Timer.periodic(new Duration(seconds: 5), (Timer t) async {
    List<WifiNetwork> scanResult;
      try {
        scanResult = await WiFiForIoTPlugin.loadWifiList();
      } on PlatformException {
        scanResult = List<WifiNetwork>();
      }
      _counter++;
    });
  }

another approach not working properly:

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
  .then((_) {
  runApp(new MyApp());
 });
}
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.9 at /home/aia/flutter
    • Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/aia/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /snap/android-studio/88/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /snap/android-studio/88/android-studio
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • 0123456789ABCDEF • 0123456789ABCDEF • android-arm • Android 4.1.1 (API 16)

• No issues found!
$ flutter run
Launching lib/main.dart on 0123456789ABCDEF in debug mode...
D/FlutterActivity( 7121): Using the launch theme as normal theme.       
D/FlutterActivityAndFragmentDelegate( 7121): Setting up FlutterEngine.  
D/FlutterActivityAndFragmentDelegate( 7121): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 7121): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 7121): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@4231d4c8
D/FlutterActivityAndFragmentDelegate( 7121): Executing Dart entrypoint: main, and sending initial route: /
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter ( 7121): #0      _StreamController._subscribe (dart:async/stream_controller.dart:670:7)
E/flutter ( 7121): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
E/flutter ( 7121): #2      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
E/flutter ( 7121): #3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:87:31)
E/flutter ( 7121): #4      _MyHomePageState._start (package:demo/main.dart:48:18)
E/flutter ( 7121): <asynchronous suspension>                            
E/flutter ( 7121): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 7121): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 7121): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 7121): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 7121): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 7121): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 7121): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 7121): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 7121): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 7121): #14     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 7121): #15     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 7121): #16     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 7121): #17     _rootRunUnary (dart:async/zone.dart:1138:13) 
E/flutter ( 7121): #18     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 7121): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 7121): #20     _invoke1 (dart:ui/hooks.dart:273:10)         
E/flutter ( 7121): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 7121):                                                      
E/flutter ( 7121): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter ( 7121): #0      _StreamController._subscribe (dart:async/stream_controller.dart:670:7)
E/flutter ( 7121): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
E/flutter ( 7121): #2      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
E/flutter ( 7121): #3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:87:31)
E/flutter ( 7121): #4      _MyHomePageState._start (package:demo/main.dart:48:18)
E/flutter ( 7121): <asynchronous suspension>                            
E/flutter ( 7121): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 7121): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 7121): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 7121): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 7121): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 7121): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 7121): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 7121): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 7121): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 7121): #14     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 7121): #15     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 7121): #16     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 7121): #17     _rootRunUnary (dart:async/zone.dart:1138:13) 
E/flutter ( 7121): #18     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 7121): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 7121): #20     _invoke1 (dart:ui/hooks.dart:273:10)         
E/flutter ( 7121): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 7121):                                                      
E/flutter ( 7121): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter ( 7121): #0      _StreamController._subscribe (dart:async/stream_controller.dart:670:7)
E/flutter ( 7121): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
E/flutter ( 7121): #2      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
E/flutter ( 7121): #3      _ReceivePortImpl.listen (dart:isolate-patch/isolate_patch.dart:87:31)
E/flutter ( 7121): #4      _MyHomePageState._start (package:demo/main.dart:48:18)
E/flutter ( 7121): <asynchronous suspension>                            
E/flutter ( 7121): #5      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
E/flutter ( 7121): #6      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:789:36)
E/flutter ( 7121): #7      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 7121): #8      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 7121): #9      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 7121): #10     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
E/flutter ( 7121): #11     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 7121): #12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
E/flutter ( 7121): #13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 7121): #14     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 7121): #15     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 7121): #16     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 7121): #17     _rootRunUnary (dart:async/zone.dart:1138:13) 
E/flutter ( 7121): #18     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 7121): #19     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 7121): #20     _invoke1 (dart:ui/hooks.dart:273:10)         
E/flutter ( 7121): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
E/flutter ( 7121):                                                      
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 7121): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 7121): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 7121): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 7121): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 7121): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 7121): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 7121): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 7121): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 7121): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 7121): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 7121): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 7121): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 7121): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 7121): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
D/FlutterActivity( 8025): Using the launch theme as normal theme.       
D/FlutterActivityAndFragmentDelegate( 8025): Setting up FlutterEngine.  
D/FlutterActivityAndFragmentDelegate( 8025): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 8025): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 8025): Detaching from a FlutterEngine: null              
D/FlutterView( 8025): Not attached to an engine. Doing nothing.         
D/FlutterView( 8025): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42314ee0
D/FlutterActivityAndFragmentDelegate( 8025): Executing Dart entrypoint: main, and sending initial route: /
D/FlutterView( 8025): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42314ee0
D/FlutterView( 8025): Already attached to this engine. Doing nothing.   
D/FlutterView( 8025): Detaching from a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42314ee0
D/FlutterActivityAndFragmentDelegate( 8025): Detaching FlutterEngine from the Activity that owns this Fragment.
D/FlutterEngine( 8025): Destroying.                                     
D/FlutterEnginePluginRegistry( 8025): Destroying.                       
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                         3.6s
✓ Built build/app/outputs/apk/debug/app-debug.apk.
D/FlutterActivity( 8200): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate( 8200): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate( 8200): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
D/FlutterActivityAndFragmentDelegate( 8200): Attaching FlutterEngine to the Activity that owns this Fragment.
D/FlutterView( 8200): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@42315d18
D/FlutterActivityAndFragmentDelegate( 8200): Executing Dart entrypoint: main, and sending initial route: /


Syncing files to device 0123456789ABCDEF...                             
(This is taking an unexpectedly long time.)       ⣻
(This is taking an unexpectedly long time.)       ⡿
(This is taking an unexpectedly long time.)       ⣯
12,023ms (!)                                       

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on 0123456789ABCDEF is available at: http://127.0.0.1:44159/2a6fIhV7kgE=/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".



E/flutter ( 8200): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 8200): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 8200): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 8200): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 8200): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 8200): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 8200): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 8200): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 8200): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 8200): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 8200): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 8200): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 8200): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 8200): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)


E/flutter ( 8200): [ERROR:flutter/runtime/dart_isolate.cc(915)] Unhandled exception:
E/flutter ( 8200): ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 8200): If you're running an application and need to access the binary messenger before `runApp()` has been called (for example, during plugin initialization), then you need to explicitly call the `WidgetsFlutterBinding.ensureInitialized()` first.
E/flutter ( 8200): If you're running a test, you can call the `TestWidgetsFlutterBinding.ensureInitialized()` as the first line in your test's `main()` method to initialize the binding.
E/flutter ( 8200): #0      defaultBinaryMessenger.<anonymous closure> (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 8200): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 8200): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 8200): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 8200): #4      WiFiForIoTPlugin._loadWifiList (package:wifi_iot/wifi_iot.dart:155:32)
E/flutter ( 8200): #5      WiFiForIoTPlugin.loadWifiList (package:wifi_iot/wifi_iot.dart:164:39)
E/flutter ( 8200): #6      _MyHomePageState._scanAP.<anonymous closure> (package:demo/main.dart:57:45)
E/flutter ( 8200): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter ( 8200): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter ( 8200): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Application finished.

Add Documentation to API Methods

Howdy. I am starting to use your library, and I noticed that since you're getting ready to publish to the Pub registry, you'll probably need to do some API documentation. I'm happy to add some as I go, but it would definitely be easier for the library author to do some of the commenting too, since they know all the gotchas I don't! I decided to just cut an issue to raise awareness 👍

(iOS) Missing swift version causes pod install error

Hello,

When I try to build with Xcode(v10.3) I get the following error:

 -> Installing wifi_iot (0.0.1)
      - Running pre install hooks
    [!] Unable to determine Swift version for the following pods:
    - `wifi_iot` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

I try to add s.swift_version = '4.0' in your podspec config file and it fixed the problem :)

Also to be able to build my project in Xcode with your plugin I had to add the following line in my podfile : use_frameworks!

If you want, I can make a tiny pull request to add swift version (please tell me which version you are using) and update the readme to explain how to build on iOS

MAC filtering

not sure if this will help, I found this undocumented workaround from stackoverflow. Someone can claim the ownership of this. But i think this only works in Android as iPhone is unlikely let you do this.

`
public static String getHardwareAddress(String ip) {
final String MAC_RE = "^%s\s+0x1\s+0x2\s+([:0-9a-fA-F]+)\s+\*\s+\w+$";
final int BUF = 8 * 1024;

    String hw = "00:00:00:00:00:00";
    BufferedReader bufferedReader = null;
    try {
        if (ip != null) {
            String ptrn = String.format(MAC_RE, ip.replace(".", "\\."));
            Pattern pattern = Pattern.compile(ptrn);
            bufferedReader = new BufferedReader(new FileReader("/proc/net/arp"), BUF);
            String line;
            Matcher matcher;
            while ((line = bufferedReader.readLine()) != null) {
                matcher = pattern.matcher(line);
                if (matcher.matches()) {
                    hw = matcher.group(1);
                    break;
                }
            }
        } else {
            Log.e(TAG, "ip is null");
        }
    } catch (IOException e) {
        Log.e(TAG, "Can't open/read file ARP: " + e.getMessage());
        return hw;
    } finally {
        try {
            if(bufferedReader != null) {
                bufferedReader.close();
            }
        } catch (IOException e) {
            Log.e(TAG, e.getMessage());
        }
    }
    return hw;
}

`

Lots of errors on Android 8 and 9

Probably due to info.whitebyte.hotspotmanager.WifiApManager using private API calls which do not exist anymore? Just a wild guess.

Sorry for the long log output. Some messages repeat over and over and others don't.

E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: android.os.RemoteException: Remote stack trace:
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.server.wifi.WifiServiceImpl.getWifiApConfiguration(WifiServiceImpl.java:1535)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub.onTransact(IWifiManager.java:601)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Binder.execTransact(Binder.java:731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: android.os.RemoteException: Remote stack trace:
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.server.wifi.WifiServiceImpl.getWifiApConfiguration(WifiServiceImpl.java:1535)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub.onTransact(IWifiManager.java:601)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Binder.execTransact(Binder.java:731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
I/.wifiiotexampl( 7183): Waiting for a blocking GC ProfileSaver
I/.wifiiotexampl( 7183): WaitForGcToComplete blocked ProfileSaver on HeapTrim for 12.406ms
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: android.os.RemoteException: Remote stack trace:
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.server.wifi.WifiServiceImpl.getWifiApConfiguration(WifiServiceImpl.java:1535)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub.onTransact(IWifiManager.java:601)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Binder.execTransact(Binder.java:731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:211)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.SSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPSSID(WifiIotPlugin.java:212)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:158)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:261)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.net.wifi.WifiConfiguration.preSharedKey' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.getWiFiAPPreSharedKey(WifiIotPlugin.java:262)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:170)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): java.lang.reflect.InvocationTargetException
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at info.whitebyte.hotspotmanager.WifiApManager.getWifiApConfiguration(WifiApManager.java:128)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:233)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10314)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.createException(Parcel.java:1942)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1910)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.os.Parcel.readException(Parcel.java:1860)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApConfiguration(IWifiManager.java:1731)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	at android.net.wifi.WifiManager.getWifiApConfiguration(WifiManager.java:2149)
E/class info.whitebyte.hotspotmanager.WifiApManager( 7183): 	... 13 more
E/MethodChannel#wifi_iot( 7183): Failed to handle method call
E/MethodChannel#wifi_iot( 7183): java.lang.NullPointerException: Attempt to read from field 'boolean android.net.wifi.WifiConfiguration.hiddenSSID' on a null object reference
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.isSSIDHidden(WifiIotPlugin.java:234)
E/MethodChannel#wifi_iot( 7183): 	at com.alternadom.wifiiot.WifiIotPlugin.onMethodCall(WifiIotPlugin.java:164)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/MethodChannel#wifi_iot( 7183): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#wifi_iot( 7183): 	at android.os.Looper.loop(Looper.java:160)
E/MethodChannel#wifi_iot( 7183): 	at android.app.ActivityThread.main(ActivityThread.java:6669)
E/MethodChannel#wifi_iot( 7183): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#wifi_iot( 7183): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Android 10 can't acces to /proc/net/arp: open failed: EACCES (Permission denied)

java.io.FileNotFoundException: /proc/net/arp: open failed: EACCES (Permission denied)

I used the example code in addition to mine and called WiFiForIoTPlugin.setWiFiAPEnabled(true);

Storage acces is fine, the app displays images stored on it without issue..., I gess /proc isn't on external storage tho...

It may be related to :

On devices that run Android 10 or higher, apps cannot access /proc/net, which includes information about a device's network state. Apps that need access to this information, such as VPNs, should use the NetworkStatsManager or ConnectivityManager class.

from https://developer.android.com/about/versions/10/privacy/changes

I Fixed a bug: getClientList with onlyReachables=false, found device list but return empty

bug

  • test code:
List<APClient> apClientList = await getClientList(false, 3000);
print("apClientList=$apClientList");
  • expect result: list contain current really connected device list

  • actual result: empty list

  • root cause:

in WiFiFlutter/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java, code is

if (client.isReachable() == finalOnlyReachables) {

then process and return device list

but current value is:

  • client.isReachable() -> true
  • finalOnlyReachables -> false

so not return any device list.

How to fix

WiFiFlutter/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java

change

if (client.isReachable() == finalOnlyReachables) {

to

Boolean shouldReturnCurrentClient = true;
if ( finalOnlyReachables.booleanValue()) {
    if (!clientIsReachable.booleanValue()){
        shouldReturnCurrentClient = Boolean.valueOf(false);
    }
}

if (shouldReturnCurrentClient.booleanValue()) {

for those onlyReachables=false, and found real device client.isReachable=true, then CAN return expected device list.

what I want

please merge my fix into git src (to avoid others like me to spend many hours to figure out why return list is empty ), thanks.

WiFiForIoTPlugin.disconnect() in Android requires Location permission.

WiFiForIoTPlugin.disconnect() in Android requires Location permission, the plugin code for android does not check for the permission.

After enabling this permission manually from settings the method worked. I realized there is a bug here. Can someone confirm this? If confirmed I would like to file a PR for this.

iOS build broken

After including the plugin I get this:

Running Xcode build...                                                  
                                                   
Xcode build done.                                            3.4s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-01-22 10:40:47.024 xcodebuild[86574:2392177]  DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.150 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.156 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.162 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.624 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.627 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.630 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.727 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.730 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    2020-01-22 10:40:47.733 xcodebuild[86574:2392124] [MT] DTDeviceKit: deviceType from c8d9ca30a353175c91b0a7abaaa6c33bb2c782e1 was NULL
    ** BUILD FAILED **


Xcode's output:

    flutter_blue-hkjfcbhesqaadqeiorqacesimjyc
    /Users/nikolay/development/flutter/.pub-cache/hosted/pub.dartlang.org/wifi_iot-0.1.1/ios/Classes/WifiIotPlugin.m:2:9: fatal error: 'wifi_iot/wifi_iot-Swift.h' file not found
    #import <wifi_iot/wifi_iot-Swift.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    /Users/nikolay/development/flutter/.pub-cache/hosted/pub.dartlang.org/wifi_iot-0.1.1/ios/Classes/WifiIotPlugin.m:2:9: fatal error: 'wifi_iot/wifi_iot-Swift.h' file not found
    #import <wifi_iot/wifi_iot-Swift.h>

How to use this plugin?

Hello everyone,
It's a pleasure to find this work. I am new in Flutter and I want to make sure I can use for this particular feature. I came to meet this work I was wondering how I could integrate into a very basic flutter app just to make sure it can connect wifi. Actually, your README file doesn't explain the basic installation.
Thanks for your work

MissingPluginException on iOS

Hi all!
I have encountered an issue when I am trying to connect to WiFi on iOS (on Android it works).
This is the error I get:

flutter: MissingPluginException : MissingPluginException(No implementation found for method setEnabled on channel wifi_iot)

And this is the code I am using to connect:
WiFiForIoTPlugin.connect(ssid, password: password, security: NetworkSecurity.WPA);

Thanks for your help in advance!

Signal Mapper

Hey,
I'm a noobie Flutter programmer and I'm trying to create a Signal Mapper as a side project to see the areas in my house where there is a high signal strength both on WiFi as well as Mobile Network. I had my reservations whether this could be implemented using Flutter or not since I wanted to deploy on both the platforms Andorid and iOS.

The way I see, the business logic is simple -

  • Calculated a threshold strength
  • Obtain the current device signal strength
  • Compare both of them, if ( current > threshold ) then good or else bad

But I'm not sure how to go about in such a scenario. Can y'all please help me out or guide me through as to what to use if possible.

Thanks a lot in advance.

findAndConnect fails without location permission

The function findAndConnect fails on secure networks when the app doesn't have the required location permission.

If the app doesn't have the location permission, getScanResults() will return an empty list of ScanResults. Because of that, the SecurityType will remain null for the given SSID. And when the function connectTo is called, the WifiConfiguration.KeyMgmt.NONE is set.

An app must hold ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission in order to get valid results.

https://github.com/alternadom/WiFiFlutter/blob/59c98344ca77bc3392934e596745a8cef64e8276/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L555

I want to connect automatically to WIFI on opening my app. I did the following code but it is asking for modify system settings permission and alertbox to allow with message "App is trying to set WIFI on or off" again and again until I get output after connection. What to change to avoid this pop up and change system settings permission alert box coming again and again ?

@OverRide
Widget build(BuildContext context){

final defaultTheme =Theme.of(context);

if(defaultTheme.platform==TargetPlatform.android){

IsEnabled();
If(_IsEnabled!=null && _IsEnabled)
{
isConnected();
If(_isConnected != null && _isConnected)
{
getBSSID();
print("found bssid : $bssid");
}else{
WifiIoTPlugin.forceWifiUsage(true);
isConnected();
}
}else {
WiFiForIoTPlugin.setEnabled(true);
}
}
}

Crash when using in combination with firebase_messaging

When using firebase_messaging, you need to to add your own Application class that implements PluginRegistrantCallback. However, this causes WiFiFlutter to crash with the following trace:

E/MethodChannel#plugins.flutter.io/firebase_messaging(10125): Failed to handle method call
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.app.Activity.getApplicationContext()' on a null object reference
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at com.alternadom.wifiiot.WifiIotPlugin.<init>(WifiIotPlugin.java:65)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at com.alternadom.wifiiot.WifiIotPlugin.registerWith(WifiIotPlugin.java:76)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:26)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at com.mypack.myapp.Application.registerWith(Application.java:18)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService.startBackgroundIsolate(FlutterFirebaseMessagingService.java:164)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.onMethodCall(FirebaseMessagingPlugin.java:134)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:656)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at android.os.MessageQueue.next(MessageQueue.java:336)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at android.os.Looper.loop(Looper.java:174)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at android.app.ActivityThread.main(ActivityThread.java:7356)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/MethodChannel#plugins.flutter.io/firebase_messaging(10125):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

It's coming from this call: https://github.com/alternadom/WiFiFlutter/blob/a8bb37f87425e45d2947e6c7c4e8b9416c886364/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L65

Not connecting to wifi

Hello,

I want to let the device connect to a given SSID and Pasword. I have used the connect function, this does however not connect the device to the network. It does add the network, but it is unsuccessful in connecting.

Manually connecting to the network is successful. I have also tried using an unprotected Access Point, with no luck.

To make sure I am using the library correctly, how should I connect to a wifi access point if I know the SSID and password?

WifiIotPlugin.connect("testssid")

Android Studio Wifi-Ap setup gives error: App not allowed to read or update stored WiFi Ap config

i was creating an app that will create and enable wifi hotspot of my mobile using the given credential

public static boolean setHotspotName(String ssid, String pass, Context context) {
    try {
        WifiManager wifiManager = (WifiManager) context.getSystemService(context.WIFI_SERVICE);
        Method getConfigMethod = wifiManager.getClass().getMethod("getWifiApConfiguration");
        WifiConfiguration wifiConfig = (WifiConfiguration) getConfigMethod.invoke(wifiManager);

        wifiConfig.SSID = ssid;

        Method setConfigMethod = wifiManager.getClass().getMethod("setWifiApConfiguration", WifiConfiguration.class);
        setConfigMethod.invoke(wifiManager, wifiConfig);
        return true;
    }
    catch (Exception e) {
        e.printStackTrace();
        return false;
    }
}

getting this error

W/System.err: Caused by: java.lang.SecurityException: App not allowed to read or update stored WiFi Ap config (uid = 10492)

Is location permission necessary?

I noticed the Manifes.xml for android specifying Location permission. Is it necessary? Because I will have to ask the user to grant this permission beforehand.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.