wakelock 0.5.4 wakelock: ^0.5.4 copied to clipboard
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, macOS, Windows, and web.
0.5.4 #
- Upgraded
pigeon
and lints.
0.5.3+3 #
- Updated GitHub references to use
main
instead ofmaster
.
0.5.3+2 #
- Removed empty constructor in Android code.
0.5.3+1 #
- Addded mavenCentral to Gradle build.
0.5.3 #
- Removed Jcenter from Gradle build as has been sunset.
0.5.2 #
- Updated generated message handling.
- Updated generated messages in the platform interface, which fixed calling
setMockMessageHandler
. - Updated
wakelock_
dependencies with updated Dart SDK constraints (>=2.12.0
).
0.5.1+1 #
- Added Podspec to the
wakelock
package to avoid build issues on macOS.
0.5.1 #
- Resolved a crash on iOS which was caused by 2 observers on idleTimerDisabled.
0.5.0+2 #
- Fixed example app builds on macOS.
0.5.0+1 #
- Fixed broken web builds due to FFI imports.
0.5.0 #
- Added Windows support 🚀
0.4.0 #
- Bumped to stable null safety release.
0.4.0-nullsafety.0 #
- Added macOS support 🚀
0.3.0-nullsafety.3 #
- Add supported platforms to README.
0.3.0-nullsafety.2 #
- Indicated that no permissions are required for using the
wakelock
plugin in the README.
0.3.0-nullsafety.1 #
- Fixed
UIImagePickerController
disabling the wakelock (using the camera on iOS).
0.3.0-nullsafety.0 #
- Migrated to null safety.
- Breaking: removed deprecated
isEnabled
andon
intoggle
.
0.2.1+1 #
- Fixed Android build warning (
import_js_library
) by bumpingwakelock_web
.
0.2.1 #
- Rewrote messages to stay as Java code and use
1.8
JVM target in order to allow interop with Kotlin. This fixes Android build errors.
0.2.0+2 #
- Bumped pigeon to
0.1.14
.
0.2.0+1 #
- Fixed iOS build issue by bumping the
wakelock_web
dependency.
0.2.0 #
- Added web support.
- Overhauled the plugin with the latest Flutter standards.
- Implemented federated plugin approach, adding
wakelock_platform_interface
andwakelock_web
dependencies. - Removed support for the Android v1 APIs.
- Deprecated
Wakelock.isEnabled
in favor ofWakelock.enabled
. The fact that it is a getter should be enough and remove the need for the "is" context. - Deprecated the
on
parameter inWakelock.toggle
in favor of theenable
parameter, which should be a more descriptive name.
0.1.4+2 #
- Fixed Gradle builds missing NonNull annotation.
0.1.4+1 #
- Finished migration to new Flutter plugin embedding.
- Fixed missing activity on Android for apps using the old plugin embedding.
- Lowered Flutter SDK version constraint to
1.12.0
.
0.1.4 #
- Added assertion for
on
inWakelock.toggle
to be non-null and@required
annotation. This is not a breaking change since it was logically required before. - Switched from Java to Kotlin for the Android implementation.
- Updated plugin files to the latest Flutter standards.
- Updated structure to ignore unnecessary files.
- Added unit testing.
- Improved the integration tests to make use of the example app.
- Updated example app.
- Added GitHub actions and removed Travis CI.
- Made
CHANGELOG.md
formulations more consistent. - Updated year in
LICENSE
. - Enforced
pedantic
lint rules.
0.1.3+4 #
- Fixed iOS simulator issue.
0.1.3+3 #
- Fixed Flutter SDK version constraint.
0.1.3+2 #
- Fixed
pubspec.yaml
.
0.1.3+1 #
- Updated
pubspec.yaml
to match new format.
0.1.3 #
- Completed AndroidX migration.
0.1.2+8 #
- Updated documentation.
0.1.2+7 #
- Formatted
AndroidManifest.xml
.
0.1.2+6 #
- Cleaned up the Android manifest.
- Changed a test name in
test_driver
. - Updated the plugin description.
- Updated
README.md
. - Updated
CONTRIBUTING.md
. - Updated
.travis.yml
. - Removed unnecessary
Assets
directory from theios
folder.
0.1.2+5 #
- Expanded continuous integration to include format checking and code analysis.
0.1.2+4 #
- Updated the example's README.
0.1.2+3 #
- Improved Travis CI setup.
- Updated badges.
0.1.2+2 #
- Updated description.
- Flutter master is used in integration tests now.
0.1.2+1 #
- Added integration testing.
- Removed unnecessary Android Manifest permission.
- Added a contributing guide.
- Added CI.
0.1.2 #
- Changed
Wakelock.toggle
's parameter to a named parameter. - Improved iOS implementation.
0.1.1+2 #
- Made the plugin description more concise.
0.1.1+1 #
- Elaborated a bit more in description.
0.1.1 #
- Renamed functions.
- Improved README.
0.1.0+3 #
- Added wakelock permission in Android Manifest.
0.1.0+2 #
- Improved README.
- Removed unnecessary files.
0.1.0+1 #
- Fixed dependency issue.
- Removed unnecessary dependencies.
0.1.0 #
- Bumped version to indicate that the plugin is fully usable.
- Improved README's.
- Formatted Dart files.
0.0.1 #
- Initial version.