Hi, I am testing simply local notification, there i my code. I have notification privilegies and when I try on emulator - work perfect. When deploy to my samsung galaxy watch - not working, no error.
using Tizen.Applications.Notifications;
namespace Test
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MainPage : CirclePage
{
public MainPage()
{
InitializeComponent();
testNoti();
}
public void testNoti()
{
try
{
Notification noti = new Notification
{
Title = "Test",
Content = "content"
};
NotificationManager.Post(noti);
}
catch (Exception err)
{
DisplayAlert("Error", "error: "+ err, "OK");
}
}
edit: I see this notification in notification panel, but I suppose, that when notification shows up, it should be confirm by user.