From 0f83c25cae989631abdc7514d6fa6af7e4e6b8f0 Mon Sep 17 00:00:00 2001 From: Ibrahim Mubarak <47777720+ibrahim-mubarak@users.noreply.github.com> Date: Fri, 16 Jul 2021 21:55:46 +0530 Subject: [PATCH 1/4] Add null safety, fix deprecated APIs --- .idea/libraries/Dart_SDK.xml | 41 ++- .idea/libraries/Flutter_Plugins.xml | 1 - .idea/misc.xml | 3 + .idea/runConfigurations.xml | 10 + .idea/workspace.xml | 334 ++++-------------- CHANGELOG.md | 5 + android/airplane_mode_detection_android.iml | 25 -- android/build.gradle | 18 +- android/gradle.properties | 3 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- android/local.properties | 2 - .../AirplaneModeDetectionPlugin.java | 51 --- .../AirplaneModeDetectionPlugin.kt | 50 +++ example/.flutter-plugins | 5 +- example/.flutter-plugins-dependencies | 1 + example/.packages | 61 ++-- example/android/.gitignore | 11 + .../.gradle/4.10.2/fileHashes/fileHashes.bin | Bin 74965 -> 75215 bytes .../.gradle/4.10.2/fileHashes/fileHashes.lock | Bin 17 -> 17 bytes .../4.10.2/taskHistory/taskHistory.bin | Bin 432738 -> 432738 bytes .../4.10.2/taskHistory/taskHistory.lock | Bin 17 -> 17 bytes .../buildOutputCleanup.lock | Bin 17 -> 17 bytes .../buildOutputCleanup/outputFiles.bin | Bin 22619 -> 22835 bytes example/android/local.properties | 3 - example/pubspec.lock | 117 +++--- example/pubspec.yaml | 1 + flutter_airplane_mode_detection.iml | 19 + lib/airplane_mode_detection.dart | 12 +- pubspec.lock | 111 ++---- pubspec.yaml | 15 +- 30 files changed, 332 insertions(+), 569 deletions(-) create mode 100644 .idea/runConfigurations.xml delete mode 100644 android/airplane_mode_detection_android.iml delete mode 100644 android/local.properties delete mode 100644 android/src/main/java/flutter/moum/airplane_mode_detection/AirplaneModeDetectionPlugin.java create mode 100644 android/src/main/kotlin/flutter/moum/airplane_mode_detection/AirplaneModeDetectionPlugin.kt create mode 100644 example/.flutter-plugins-dependencies create mode 100644 example/android/.gitignore delete mode 100644 example/android/local.properties create mode 100644 flutter_airplane_mode_detection.iml diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index d802ea4..198ee0a 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -1,27 +1,26 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml index e27bedf..53449da 100644 --- a/.idea/libraries/Flutter_Plugins.xml +++ b/.idea/libraries/Flutter_Plugins.xml @@ -2,7 +2,6 @@ - diff --git a/.idea/misc.xml b/.idea/misc.xml index b65c88d..4f0d6b7 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,8 @@ + + +