Skip to content

Latest commit

 

History

History
 
 

wakelock

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wakelock_tizen

pub package

The Tizen implementation of wakelock.

Usage

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.

Required privileges

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>

Supported devices

  • Galaxy Watch series (running Tizen 5.5)