The Tizen implementation of wakelock
.
This package is not an endorsed implementation of wakelock
. Therefore, you have to include wakelock_tizen
alongside wakelock
as dependencies in your pubspec.yaml
file.
dependencies:
wakelock: ^0.6.2
wakelock_tizen: ^1.0.2
Then you can import wakelock
in your Dart code:
import 'package:wakelock/wakelock.dart';
For detailed usage, see https://pub.dev/packages/wakelock#usage.
To use the wakelock plugin in a Tizen application, the display privilege must be added in your tizen-manifest.xml
file. If you don't know where to place the privilege, see the example/tizen/tizen-manifest.xml
file.
<privileges>
<privilege>http://tizen.org/privilege/display</privilege>
</privileges>
- Galaxy Watch series (running Tizen 5.5)