diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json
deleted file mode 100644
index 3e71957..0000000
--- a/.fvm/fvm_config.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "flutterSdkVersion": "3.16.9",
- "flavors": {}
-}
\ No newline at end of file
diff --git a/.fvmrc b/.fvmrc
new file mode 100644
index 0000000..b6a9abf
--- /dev/null
+++ b/.fvmrc
@@ -0,0 +1,4 @@
+{
+ "flutter": "3.29.3",
+ "flavors": {}
+}
\ No newline at end of file
diff --git a/.github/workflows/android-build.yaml b/.github/workflows/android-build.yaml
deleted file mode 100644
index 0dac627..0000000
--- a/.github/workflows/android-build.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: Android example build
-
-on:
- workflow_dispatch:
- push:
- pull_request:
- branches: [master]
-
-jobs:
- android-build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
- with:
- distribution: 'zulu'
- java-version: '11'
- - uses: kuhnroyal/flutter-fvm-config-action@v1
- - uses: subosito/flutter-action@v2
- with:
- flutter-version: ${{ env.FLUTTER_VERSION }}
- channel: ${{ env.FLUTTER_CHANNEL }}
- - run: flutter pub get
- working-directory: example
- - run: flutter build apk
- working-directory: example
- - uses: actions/upload-artifact@v2
- with:
- name: android-build
- path: |
- example/build/app/outputs/flutter-apk/app-release.apk
diff --git a/.github/workflows/flutter-lint.yaml b/.github/workflows/flutter-lint.yaml
deleted file mode 100644
index 7c7bf95..0000000
--- a/.github/workflows/flutter-lint.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-name: Analyze
-
-on:
- workflow_dispatch:
- push:
- pull_request:
- branches: [master]
-
-jobs:
- windows-build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: kuhnroyal/flutter-fvm-config-action@v1
- - uses: subosito/flutter-action@v2
- with:
- flutter-version: ${{ env.FLUTTER_VERSION }}
- channel: ${{ env.FLUTTER_CHANNEL }}
- - run: |
- flutter pub get
- flutter analyze
diff --git a/.github/workflows/ios-build.yaml b/.github/workflows/ios-build.yaml
deleted file mode 100644
index 8e99dc7..0000000
--- a/.github/workflows/ios-build.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-name: iOS example build
-
-on:
- workflow_dispatch:
- push:
- pull_request:
- branches: [master]
-
-jobs:
- ios-build:
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v2
- - uses: kuhnroyal/flutter-fvm-config-action@v1
- - uses: subosito/flutter-action@v2
- with:
- flutter-version: ${{ env.FLUTTER_VERSION }}
- channel: ${{ env.FLUTTER_CHANNEL }}
- - run: flutter pub get
- working-directory: example
- - run: flutter build ios --release --no-codesign
- working-directory: example
- - uses: actions/upload-artifact@v2
- with:
- name: ios-build
- path: |
- example/build/ios/iphoneos/Runner.app
diff --git a/.github/workflows/macos-build.yaml b/.github/workflows/macos-build.yaml
deleted file mode 100644
index fdaa68c..0000000
--- a/.github/workflows/macos-build.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-name: MacOS example build
-
-on:
- workflow_dispatch:
- push:
- pull_request:
- branches: [master]
-
-jobs:
- macos-build:
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v2
- - uses: kuhnroyal/flutter-fvm-config-action@v1
- - uses: subosito/flutter-action@v2
- with:
- flutter-version: ${{ env.FLUTTER_VERSION }}
- channel: ${{ env.FLUTTER_CHANNEL }}
- - run: flutter config --enable-macos-desktop
- working-directory: example
- - run: flutter build macos
- working-directory: example
- - uses: actions/upload-artifact@v2
- with:
- name: windows-build
- path: |
- example/build/macos/Build/Products/Release/flutter_nsd_example.app
diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml
new file mode 100644
index 0000000..d9ce9e0
--- /dev/null
+++ b/.github/workflows/pr-checks.yaml
@@ -0,0 +1,84 @@
+name: PR checks
+
+on:
+ workflow_dispatch:
+ pull_request:
+ branches: [master]
+
+jobs:
+ android-build:
+ name: Android example build
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ distribution: 'zulu'
+ java-version: '17'
+ - uses: kuhnroyal/flutter-fvm-config-action/setup@v3
+ - run: flutter pub get
+ working-directory: example
+ - run: flutter build apk
+ working-directory: example
+ - uses: actions/upload-artifact@v4
+ with:
+ name: android-build
+ path: |
+ example/build/app/outputs/flutter-apk/app-release.apk
+ flutter-lint:
+ name: Flutter lint
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: kuhnroyal/flutter-fvm-config-action/setup@v3
+ - run: |
+ flutter pub get
+ flutter analyze
+
+ ios-build:
+ name: iOS build
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: kuhnroyal/flutter-fvm-config-action/setup@v3
+ - run: flutter pub get
+ working-directory: example
+ - run: flutter build ios --release --no-codesign
+ working-directory: example
+ - uses: actions/upload-artifact@v4
+ with:
+ name: ios-build
+ path: |
+ example/build/ios/iphoneos/Runner.app
+
+ macos-build:
+ name: MacOS Build
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: kuhnroyal/flutter-fvm-config-action/setup@v3
+ - run: flutter config --enable-macos-desktop
+ working-directory: example
+ - run: flutter build macos
+ working-directory: example
+ - uses: actions/upload-artifact@v4
+ with:
+ name: windows-build
+ path: |
+ example/build/macos/Build/Products/Release/flutter_nsd_example.app
+
+ windows-build:
+ name: Windows build
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: kuhnroyal/flutter-fvm-config-action/setup@v3
+ - run: |
+ cd example/
+ flutter config --enable-windows-desktop
+ flutter build windows
+ - uses: actions/upload-artifact@v4
+ with:
+ name: windows-build
+ path: |
+ example/build/windows/runner/Release/
diff --git a/.github/workflows/windows-build.yaml b/.github/workflows/windows-build.yaml
deleted file mode 100644
index 894e2a7..0000000
--- a/.github/workflows/windows-build.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Windows example build
-
-on:
- workflow_dispatch:
- push:
- pull_request:
- branches: [master]
-
-jobs:
- windows-build:
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v2
- - uses: kuhnroyal/flutter-fvm-config-action@v1
- - uses: subosito/flutter-action@v2
- with:
- flutter-version: ${{ env.FLUTTER_VERSION }}
- channel: ${{ env.FLUTTER_CHANNEL }}
- - run: |
- cd example/
- flutter config --enable-windows-desktop
- flutter build windows
- # working-directory: example
- - uses: actions/upload-artifact@v2
- with:
- name: windows-build
- path: |
- example/build/windows/runner/Release/
diff --git a/.gitignore b/.gitignore
index 3d92fa6..befe174 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,6 @@
.history
.svn/
migrate_working_dir/
-.fvm/flutter_sdk
# IntelliJ related
*.iml
@@ -44,3 +43,6 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release
+
+# FVM Version Cache
+.fvm/
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 1c987d3..217bf50 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,7 +3,7 @@
-
+
diff --git a/android/build.gradle b/android/build.gradle
index fe7874b..7d51e37 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -15,62 +15,44 @@
*
*/
+plugins {
+ id "com.android.library"
+ id "kotlin-android"
+}
+
group 'com.nimroddayan.flutternsd'
version '1.0-SNAPSHOT'
-buildscript {
- ext.kotlin_version = '1.7.10'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:7.3.1'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
rootProject.allprojects {
- repositories {
- google()
- mavenCentral()
- }
+ repositories {
+ google()
+ mavenCentral()
+ }
}
-apply plugin: 'com.android.library'
-apply plugin: 'kotlin-android'
-
android {
- // Conditional for compatibility with AGP <4.2.
- if (project.android.hasProperty("namespace")) {
- namespace 'com.nimroddayan.flutternsd'
- }
-
-
- compileSdkVersion 34
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
- defaultConfig {
- minSdkVersion 21
- }
- lintOptions {
- disable 'InvalidPackage'
- }
-
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
- }
-
- kotlinOptions {
- jvmTarget = "1.8"
- }
+ namespace = "com.nimroddayan.flutternsd"
+ compileSdkVersion 35
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_11
+ targetCompatibility = JavaVersion.VERSION_11
+ }
+
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_11
+ }
+
+ sourceSets {
+ main.java.srcDirs += "src/main/kotlin"
+ test.java.srcDirs += "src/test/kotlin"
+ }
+
+ defaultConfig {
+ minSdk = 21
+ }
}
dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
- implementation 'com.jakewharton.timber:timber:4.7.1'
+ implementation 'com.jakewharton.timber:timber:5.0.1'
}
diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
index 49a85b2..6ec4a1e 100644
--- a/android/src/main/AndroidManifest.xml
+++ b/android/src/main/AndroidManifest.xml
@@ -15,8 +15,7 @@
~
-->
-
+
diff --git a/android/src/main/kotlin/com/nimroddayan/flutternsd/FlutterNsdPlugin.kt b/android/src/main/kotlin/com/nimroddayan/flutternsd/FlutterNsdPlugin.kt
index 38c235a..75fb7a9 100644
--- a/android/src/main/kotlin/com/nimroddayan/flutternsd/FlutterNsdPlugin.kt
+++ b/android/src/main/kotlin/com/nimroddayan/flutternsd/FlutterNsdPlugin.kt
@@ -62,17 +62,6 @@ class FlutterNsdPlugin : FlutterPlugin, MethodCallHandler {
Timber.d("Plugin initialized successfully")
}
- // This static function is optional and equivalent to onAttachedToEngine. It supports the old
- // pre-Flutter-1.12 Android projects. You are encouraged to continue supporting
- // plugin registration via this function while apps migrate to use the new Android APIs
- // post-flutter-1.12 via https://flutter.dev/go/android-project-migration.
- //
- // It is encouraged to share logic between onAttachedToEngine and registerWith to keep
- // them functionally equivalent. Only one of onAttachedToEngine or registerWith will be called
- // depending on the user's project. onAttachedToEngine or registerWith must both be defined
- // in the same class.
-
-
override fun onMethodCall(@NonNull call: MethodCall, @NonNull result: Result) {
if (nsdManager == null) {
result.error("1000", "NsdManager not initialized", null)
diff --git a/example/.fvm/fvm_config.json b/example/.fvm/fvm_config.json
deleted file mode 100644
index 30c9706..0000000
--- a/example/.fvm/fvm_config.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "flutterSdkVersion": "2.10.0",
- "flavors": {}
-}
\ No newline at end of file
diff --git a/example/.fvmrc b/example/.fvmrc
new file mode 100644
index 0000000..b6a9abf
--- /dev/null
+++ b/example/.fvmrc
@@ -0,0 +1,4 @@
+{
+ "flutter": "3.29.3",
+ "flavors": {}
+}
\ No newline at end of file
diff --git a/example/.gitignore b/example/.gitignore
index f3c2053..a662691 100644
--- a/example/.gitignore
+++ b/example/.gitignore
@@ -42,3 +42,6 @@ app.*.map.json
# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
+
+# FVM Version Cache
+.fvm/
diff --git a/example/android/.gitignore b/example/android/.gitignore
index ba8f0a2..29b8172 100644
--- a/example/android/.gitignore
+++ b/example/android/.gitignore
@@ -10,3 +10,5 @@ GeneratedPluginRegistrant.java
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
.idea/caches/
+.cxx/
+.fvm/
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
deleted file mode 100644
index 062f915..0000000
--- a/example/android/app/build.gradle
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * Copyright 2021 Nimrod Dayan nimroddayan.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
-if (flutterVersionCode == null) {
- flutterVersionCode = '1'
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- flutterVersionName = '1.0'
-}
-
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
-android {
- compileSdkVersion 33
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
-
- lintOptions {
- disable 'InvalidPackage'
- }
-
- defaultConfig {
- applicationId "com.nimroddayan.flutternsd.example"
- minSdkVersion 23
- targetSdkVersion 29
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
- }
-
- buildTypes {
- release {
- signingConfig signingConfigs.debug
- }
- }
-
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
- }
-
- kotlinOptions {
- jvmTarget = "1.8"
- }
-}
-
-flutter {
- source '../..'
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
- implementation 'com.jakewharton.timber:timber:4.7.1'
-}
diff --git a/example/android/app/build.gradle.kts b/example/android/app/build.gradle.kts
new file mode 100644
index 0000000..a1cc61f
--- /dev/null
+++ b/example/android/app/build.gradle.kts
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2025 Nimrod Dayan nimroddayan.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+plugins {
+ id("com.android.application")
+ id("kotlin-android")
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
+ id("dev.flutter.flutter-gradle-plugin")
+}
+
+android {
+ namespace = "com.nimroddayan.flutternsd.example"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
+
+ ndkVersion = "27.0.12077973"
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_11
+ targetCompatibility = JavaVersion.VERSION_11
+ }
+
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_11.toString()
+ }
+
+ defaultConfig {
+ applicationId = "com.nimroddayan.flutternsd.example"
+ minSdk = flutter.minSdkVersion
+ targetSdk = flutter.targetSdkVersion
+ versionCode = flutter.versionCode
+ versionName = flutter.versionName
+ }
+
+ buildTypes {
+ release {
+ signingConfig = signingConfigs.getByName("debug")
+ }
+ }
+}
+
+flutter {
+ source = "../.."
+}
+
+dependencies {
+ implementation("com.jakewharton.timber:timber:5.0.1")
+}
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 25259d0..b2f64fa 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -15,8 +15,7 @@
~
-->
-
+
-
+
diff --git a/example/android/build.gradle b/example/android/build.gradle.kts
similarity index 57%
rename from example/android/build.gradle
rename to example/android/build.gradle.kts
index 6350fd4..5685358 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle.kts
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Nimrod Dayan nimroddayan.com
+ * Copyright 2025 Nimrod Dayan nimroddayan.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,19 +15,6 @@
*
*/
-buildscript {
- ext.kotlin_version = '1.7.10'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:7.3.1'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
allprojects {
repositories {
google()
@@ -35,14 +22,17 @@ allprojects {
}
}
-rootProject.buildDir = '../build'
+val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
+rootProject.layout.buildDirectory.value(newBuildDir)
+
subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
+ val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
+ project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
- project.evaluationDependsOn(':app')
+ project.evaluationDependsOn(":app")
}
-tasks.register("clean", Delete) {
- delete rootProject.buildDir
+tasks.register("clean") {
+ delete(rootProject.layout.buildDirectory)
}
diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties
index d194ec5..cbfb15c 100644
--- a/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -20,4 +20,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
diff --git a/example/android/settings.gradle b/example/android/settings.gradle
deleted file mode 100644
index f0ad030..0000000
--- a/example/android/settings.gradle
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright 2021 Nimrod Dayan nimroddayan.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-include ':app'
-
-def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
-def properties = new Properties()
-
-assert localPropertiesFile.exists()
-localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
-
-def flutterSdkPath = properties.getProperty("flutter.sdk")
-assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
-apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/example/android/settings.gradle.kts b/example/android/settings.gradle.kts
new file mode 100644
index 0000000..bd25e78
--- /dev/null
+++ b/example/android/settings.gradle.kts
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2025 Nimrod Dayan nimroddayan.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+pluginManagement {
+ val flutterSdkPath = run {
+ val properties = java.util.Properties()
+ file("local.properties").inputStream().use { properties.load(it) }
+ val flutterSdkPath = properties.getProperty("flutter.sdk")
+ require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
+ flutterSdkPath
+ }
+
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
+
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+
+plugins {
+ id("dev.flutter.flutter-plugin-loader") version "1.0.0"
+ id("com.android.application") version "8.7.0" apply false
+ id("org.jetbrains.kotlin.android") version "1.8.22" apply false
+}
+
+include(":app")
diff --git a/example/pubspec.lock b/example/pubspec.lock
index daa1f34..3921ba5 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -5,42 +5,42 @@ packages:
dependency: transitive
description:
name: async
- sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
+ sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63
url: "https://pub.dev"
source: hosted
- version: "2.11.0"
+ version: "2.12.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
- sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
characters:
dependency: transitive
description:
name: characters
- sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
+ sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
url: "https://pub.dev"
source: hosted
- version: "1.3.0"
+ version: "1.4.0"
clock:
dependency: transitive
description:
name: clock
- sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
url: "https://pub.dev"
source: hosted
- version: "1.1.1"
+ version: "1.1.2"
collection:
dependency: transitive
description:
name: collection
- sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
+ sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
url: "https://pub.dev"
source: hosted
- version: "1.17.2"
+ version: "1.19.1"
cupertino_icons:
dependency: "direct main"
description:
@@ -53,10 +53,10 @@ packages:
dependency: transitive
description:
name: fake_async
- sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc"
url: "https://pub.dev"
source: hosted
- version: "1.3.1"
+ version: "1.3.2"
flutter:
dependency: "direct main"
description: flutter
@@ -76,12 +76,36 @@ packages:
path: ".."
relative: true
source: path
- version: "1.4.0"
+ version: "1.5.0"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
+ leak_tracker:
+ dependency: transitive
+ description:
+ name: leak_tracker
+ sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.8"
+ leak_tracker_flutter_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.9"
+ leak_tracker_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_testing
+ sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.1"
lints:
dependency: transitive
description:
@@ -94,87 +118,87 @@ packages:
dependency: transitive
description:
name: matcher
- sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
+ sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
url: "https://pub.dev"
source: hosted
- version: "0.12.16"
+ version: "0.12.17"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
+ sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
- version: "0.5.0"
+ version: "0.11.1"
meta:
dependency: transitive
description:
name: meta
- sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
+ sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
url: "https://pub.dev"
source: hosted
- version: "1.9.1"
+ version: "1.16.0"
path:
dependency: transitive
description:
name: path
- sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
+ sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
url: "https://pub.dev"
source: hosted
- version: "1.8.3"
+ version: "1.9.1"
sky_engine:
dependency: transitive
description: flutter
source: sdk
- version: "0.0.99"
+ version: "0.0.0"
source_span:
dependency: transitive
description:
name: source_span
- sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
+ sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
url: "https://pub.dev"
source: hosted
- version: "1.10.0"
+ version: "1.10.1"
stack_trace:
dependency: transitive
description:
name: stack_trace
- sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
+ sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
url: "https://pub.dev"
source: hosted
- version: "1.11.0"
+ version: "1.12.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
- sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
+ sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.4"
string_scanner:
dependency: transitive
description:
name: string_scanner
- sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
url: "https://pub.dev"
source: hosted
- version: "1.2.0"
+ version: "1.4.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
- sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
url: "https://pub.dev"
source: hosted
- version: "1.2.1"
+ version: "1.2.2"
test_api:
dependency: transitive
description:
name: test_api
- sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
+ sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
url: "https://pub.dev"
source: hosted
- version: "0.6.0"
+ version: "0.7.4"
vector_math:
dependency: transitive
description:
@@ -183,14 +207,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
- web:
+ vm_service:
dependency: transitive
description:
- name: web
- sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
+ name: vm_service
+ sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14"
url: "https://pub.dev"
source: hosted
- version: "0.1.4-beta"
+ version: "14.3.1"
sdks:
- dart: ">=3.1.0-185.0.dev <4.0.0"
- flutter: ">=1.20.0"
+ dart: ">=3.7.0-0 <4.0.0"
+ flutter: ">=3.18.0-18.0.pre.54"
diff --git a/flutter_nsd.iml b/flutter_nsd.iml
index 32acca4..1e27dba 100644
--- a/flutter_nsd.iml
+++ b/flutter_nsd.iml
@@ -24,6 +24,411 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pubspec.yaml b/pubspec.yaml
index be27299..167ccf3 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: flutter_nsd
description: A Flutter plugin for Network Service Discovery (mDNS) that uses platform API on Android, iOS, MacOS and Windows.
-version: 1.5.0
+version: 1.6.0
homepage: https://github.com/Nimrodda/flutter_nsd
environment: