Skip to content

Commit 1548233

Browse files
authored
Merge branch 'master' into ip_address_fix
2 parents 81f588f + 58d701a commit 1548233

File tree

18 files changed

+344
-39
lines changed

18 files changed

+344
-39
lines changed

.fvm/fvm_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"flutterSdkVersion": "2.10.0",
2+
"flutterSdkVersion": "3.13.9",
33
"flavors": {}
44
}

.gitignore

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,44 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
16
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
23+
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
**/ios/Flutter/.last_build_id
227
.dart_tool/
3-
.fvm
4-
!.fvm/fvm_config.json
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
530
.packages
31+
.pub-cache/
632
.pub/
7-
pubspec.lock
8-
build/
33+
/build/
34+
35+
# Symbolication related
36+
app.*.symbols
37+
38+
# Obfuscation related
39+
app.*.map.json
40+
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1+
## 1.4.0
2+
Added support for Kotlin 1.5.20
3+
4+
## 1.3.3
5+
6+
Fixed #33: Windows: TXT records are returned as string instead of UInt8List, causing failure (Thanks @jnstahl)
7+
Fixed #36: Windows: txt records are sent as [key: key] instead of [key: value] (Thanks @jnstahl)
8+
9+
## 1.3.2
10+
11+
This release is identical in functionality to the previous one. It only fixes pub.dev analysis
12+
errors.
13+
14+
* Fixed: pub.dev analsis error
15+
116
## 1.3.1
217

18+
This release is identical in functionality to the previous one. It only fixes pub.dev analysis
19+
errors.
20+
321
* Fixed #27: Address pub.dev static analysis
422
* Fixed various lint errors
523

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![flutter_nsd](https://github.com/Nimrodda/flutter_nsd/actions/workflows/build.yaml/badge.svg)](https://github.com/Nimrodda/flutter_nsd/actions/workflows/build.yaml)
2-
31
# Flutter Network Service Discovery plugin
42

53
A Flutter plugin for Network Service Discovery (mDNS) on Android, iOS, MacOS and Windows. The plugin uses the platform's own API when possible.
@@ -12,7 +10,7 @@ Add the dependency to pubspec.yaml:
1210

1311
```
1412
dependencies:
15-
flutter_nsd: ^1.3.1
13+
flutter_nsd: ^1.4.0
1614
```
1715

1816
## Getting Started
@@ -115,7 +113,7 @@ Then scan for this service using the example app on any of the supported platfor
115113

116114
## License
117115

118-
Copyright 2022 Nimrod Dayan nimroddayan.com
116+
Copyright 2023 Nimrod Dayan nimroddayan.com
119117

120118
Licensed under the Apache License, Version 2.0 (the "License");
121119
you may not use this file except in compliance with the License.

android/.gitignore

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
*.iml
2-
.gradle
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
36
/local.properties
4-
/.idea/workspace.xml
5-
/.idea/libraries
6-
.DS_Store
7-
/build
8-
/captures
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
key.properties
12+
**/*.keystore
13+
**/*.jks

android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ android {
4747
namespace 'com.nimroddayan.flutternsd'
4848
}
4949

50+
5051
compileSdkVersion 34
5152

5253
sourceSets {

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ distributionBase=GRADLE_USER_HOME
1919
distributionPath=wrapper/dists
2020
zipStoreBase=GRADLE_USER_HOME
2121
zipStorePath=wrapper/dists
22-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip
22+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1919
package="com.nimroddayan.flutternsd">
2020
<uses-permission android:name="android.permission.INTERNET"/>
21-
21+
<uses-permission android:name="android.permission.NEARBY_DEVICES" />
2222
</manifest>

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ apply plugin: 'kotlin-android'
4343
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
4444

4545
android {
46-
compileSdkVersion 29
46+
compileSdkVersion 33
4747

4848
sourceSets {
4949
main.java.srcDirs += 'src/main/kotlin'

example/android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
*/
1717

1818
buildscript {
19-
ext.kotlin_version = '1.4.0'
19+
ext.kotlin_version = '1.7.10'
2020
repositories {
2121
google()
22-
jcenter()
22+
mavenCentral()
2323
}
2424

2525
dependencies {
26-
classpath 'com.android.tools.build:gradle:4.0.1'
26+
classpath 'com.android.tools.build:gradle:7.3.1'
2727
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2828
}
2929
}
3030

3131
allprojects {
3232
repositories {
3333
google()
34-
jcenter()
34+
mavenCentral()
3535
}
3636
}
3737

@@ -43,6 +43,6 @@ subprojects {
4343
project.evaluationDependsOn(':app')
4444
}
4545

46-
task clean(type: Delete) {
46+
tasks.register("clean", Delete) {
4747
delete rootProject.buildDir
4848
}

0 commit comments

Comments
 (0)