Tizen notification APIs. Used to show and delete notifications on a Tizen device.
To use this plugin, add tizen_notification
as a dependency in your pubspec.yaml file:
dependencies:
tizen_notification: ^0.1.1
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');
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>