Skip to content

Commit

Permalink
[screen_state] Update changelog and README for release
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimShadyIAm committed Jul 31, 2024
1 parent 815fc6f commit 7060055
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/screen_state/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 3.1.0
## 4.0.0

- Added support for iOS.
- Restructuring of the interaction between the plugin and native applications.
Expand Down
3 changes: 2 additions & 1 deletion packages/screen_state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ The stream can also be cancelled again by calling the `cancel()` method:

#### iOS:
- This package will exclusively detect screen unlocks on iOS devices that are protected with a passcode. If the device lacks a passcode, it will solely detect the screen's on/off state;
- The detection doesn't function when the app is running in the iOS simulator. The plugin will only return a 'Screen_On' event.
- The detection doesn't function when the app is running in the iOS simulator. The plugin will only return a 'Screen_On' event.
- When the user sets their brightness to the lowest setting, it is possible that this generates a `SCREEN_ON` event, a limitation to the way that this plugin detects when the screen is off.

0 comments on commit 7060055

Please sign in to comment.