Hi,
Can someone help me out of this issue. As I'm new to Tizen Wear web application development, and in this I'm trying to create a status notification from the app. I'm able to create the notification. Then when the user open the notification tray and trying to click on Open App then the Tizen wear app is not launching the app. And then when I try to open the app explicitely I could observe that the app loaded with the new page(home.html) which is the notification tried to launch.
Here is my code:
var appInfo = tizen.application.getAppInfo();
var appCtrl = new tizen.ApplicationControl(
'tizen.org/appcontrol/operation/create_content');
var notificationDict = {
content : 'This is a simple notification.',
iconPath : 'images/icon.png',
soundPath: 'sounds/Beep-Once.wav',
vibration : true,
appControl : appCtrl,
appId : appInfo.id
};
var notification = new tizen.StatusNotification('SIMPLE',
'Simple notification', notificationDict);
tizen.notification.post(notification);
In Congif.xml:
<tizen:app-control>
<tizen:src name="home.html"/>
<tizen:operation name="tizen.org/appcontrol/operation/create_content"/>
</tizen:app-control>
Can anyone help me out I'm using Samsung Gear S3 - 2.3.2.3 version.