Skip to content

Latest commit

 

History

History

tizen_notification

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tizen_notification

pub package

Tizen notification APIs. Used to show and delete notifications on a Tizen device.

Usage

To use this plugin, add tizen_notification as a dependency in your pubspec.yaml file:

dependencies:
  tizen_notification: ^0.2.0

Then you can import tizen_notification in your Dart code:

import 'package:tizen_notification/tizen_notification.dart';

TizenNotificationPlugin plugin = TizenNotificationPlugin();
await plugin.show(1, title: 'Title', body: 'Body');

Required privileges

To use this plugin, you need to declare the following privileges in tizen-manifest.xml.

<privileges>
  <privilege>http://tizen.org/privilege/notification</privilege>
  <!--To launch an application by app_control handler-->
  <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
</privileges>