Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ unlinked_spec.ds
.fvmrc
.cxx/

# Swift Package Manager
.build/
.swiftpm/

# Coverage
coverage/

Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,39 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2026-07-13

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`wifi_iot` - `v0.3.19+3`](#wifi_iot---v03193)
- [`wifi_scan` - `v0.4.1+3`](#wifi_scan---v0413)

---

#### `wifi_iot` - `v0.3.19+3`

- **CHORE**: Flutter 3.44 / Dart 3.12 SDK constraints.
- **FEAT**: Add Swift Package Manager support (CocoaPods retained).
- **CHORE**: Migrate Android Gradle scripts from Groovy to Kotlin DSL; bump AGP, Gradle, and Java toolchain.
- **CHORE**: Update dependencies.

#### `wifi_scan` - `v0.4.1+3`

- **CHORE**: Flutter 3.44 / Dart 3.12 SDK constraints.
- **FEAT**: Add Swift Package Manager support (CocoaPods retained).
- **CHORE**: Migrate Android Gradle scripts from Groovy to Kotlin DSL; bump AGP, Gradle, and Java toolchain.
- **CHORE**: Migrate to built-in Kotlin.
- **CHORE**: Update dependencies.


## 2025-02-18

### Changes
Expand Down
7 changes: 7 additions & 0 deletions packages/wifi_iot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.3.19+3

- **CHORE**: Flutter 3.44 / Dart 3.12 SDK constraints.
- **FEAT**: Add Swift Package Manager support (CocoaPods retained).
- **CHORE**: Migrate Android Gradle scripts from Groovy to Kotlin DSL; bump AGP, Gradle, and Java toolchain.
- **CHORE**: Update dependencies.

## 0.3.19+2

- **FIX**(wifi_iot): iOS isConnected always true even connection is failed - synced with master (#407).
Expand Down
36 changes: 0 additions & 36 deletions packages/wifi_iot/android/build.gradle

This file was deleted.

43 changes: 43 additions & 0 deletions packages/wifi_iot/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
group = "com.alternadom.wifiiot"
version = "1.0"

buildscript {
repositories {
google()
mavenCentral()
}

dependencies {
classpath("com.android.tools.build:gradle:9.0.1")
}
}

allprojects {
repositories {
google()
mavenCentral()
}
}

plugins {
id("com.android.library")
}

android {
namespace = "com.alternadom.wifiiot"

compileSdk = 36

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

defaultConfig {
minSdk = 16
}

lint {
disable += "InvalidPackage"
}
}
2 changes: 0 additions & 2 deletions packages/wifi_iot/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true
android.enableR8.fullMode=false
1 change: 0 additions & 1 deletion packages/wifi_iot/android/settings.gradle

This file was deleted.

1 change: 1 addition & 0 deletions packages/wifi_iot/android/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "wifi_iot"
74 changes: 0 additions & 74 deletions packages/wifi_iot/example/android/app/build.gradle

This file was deleted.

41 changes: 41 additions & 0 deletions packages/wifi_iot/example/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
plugins {
id("com.android.application")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}

android {
namespace = "com.alternadom.wifiiotexample"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

defaultConfig {
applicationId = "com.alternadom.wifiiotexample"
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}

buildTypes {
release {
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
}

kotlin {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
}
}

flutter {
source = "../.."
}
19 changes: 0 additions & 19 deletions packages/wifi_iot/example/android/build.gradle

This file was deleted.

24 changes: 24 additions & 0 deletions packages/wifi_iot/example/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
allprojects {
repositories {
google()
mavenCentral()
}
}

val newBuildDir: Directory =
rootProject.layout.buildDirectory
.dir("../../build")
.get()
rootProject.layout.buildDirectory.value(newBuildDir)

subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
9 changes: 5 additions & 4 deletions packages/wifi_iot/example/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true
android.enableR8.fullMode=false
# This newDsl flag was added by the Flutter template
android.newDsl=false
# This builtInKotlin flag was added by the Flutter template
android.builtInKotlin=false
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-all.zip
25 changes: 0 additions & 25 deletions packages/wifi_iot/example/android/settings.gradle

This file was deleted.

26 changes: 26 additions & 0 deletions packages/wifi_iot/example/android/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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 "9.0.1" apply false
id("org.jetbrains.kotlin.android") version "2.3.20" apply false
}

include(":app")
1 change: 0 additions & 1 deletion packages/wifi_iot/example/android/settings_aar.gradle

This file was deleted.

Loading
Loading