Skip to content

Commit b4796fa

Browse files
authored
Merge branch 'jeremyko:main' into main
2 parents 4295c0d + 2917a84 commit b4796fa

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.3.1
2+
- fix: build on ios
3+
14
## 1.3.0
25
- documentation
36
- enable the screen off behavior on Android (optional)

ios/Classes/SwiftProximitySensorPlugin.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class SwiftProximitySensorPlugin: NSObject, FlutterPlugin
5151
let methodChannel = FlutterMethodChannel(name: "proximity_sensor_enable", binaryMessenger: registrar.messenger())
5252

5353
let instance = SwiftProximitySensorPlugin()
54-
registrar.addMethodCallDelegate(instance, channel: channel)
54+
registrar.addMethodCallDelegate(instance, channel: methodChannel)
5555
}
5656

5757
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: proximity_sensor
22
description: simple and easy to use flutter plugin package for proximity sensor (only)
3-
version: 1.3.0
3+
version: 1.3.1
44
homepage: https://github.com/jeremyko/flutter-proximity-sensor-plugin
55

66
environment:

0 commit comments

Comments
 (0)