Skip to content

Commit 770fb11

Browse files
committed
fix: conflicting declarations: public const val TAG: String
1 parent 6a57a25 commit 770fb11

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

android/src/main/kotlin/com/myfreax/www/arp_scanner/ArpScannerPlugin.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ import java.util.ArrayList
1515
import com.google.gson.Gson
1616
import android.os.Looper
1717

18-
const val TAG = "ArpScannerPlugin"
19-
2018
/** ArpScannerPlugin */
2119
class ArpScannerPlugin : FlutterPlugin, MethodCallHandler {
20+
companion object{
21+
const val TAG= "ArpScannerPlugin"
22+
}
2223
/// The MethodChannel that will the communication between Flutter and native Android
2324
///
2425
/// This local reference serves to register the plugin with the Flutter Engine and unregister it

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
path: ".."
88
relative: true
99
source: path
10-
version: "1.2.6"
10+
version: "1.2.7"
1111
async:
1212
dependency: transitive
1313
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: arp_scanner
22
description: A new flutter plugin project.
3-
version: 1.2.6
3+
version: 1.2.7
44
homepage: https://www.myfreax.com/how-to-scan-the-mac-address-of-the-device-in-the-local-area-network-on-android/
55
repository: https://github.com/huangyanxiong01/arp_scanner
66
issue_tracker: https://github.com/huangyanxiong01/arp_scanner/issues

0 commit comments

Comments
 (0)