Can not redirect to Tizen Store

Hello, I’ve researched and followed these documents:

  1. https://developer.tizen.org/ko/community/code-snippet/web-code-snippet/redirect-application-page-tizen-store-tizen-web-application-using-deep-link?langredirect=1

  2. https://developer.tizen.org/sites/default/files/documentation/osp_deep_linking_guide_v1.1.pdf

  • I added the privilege http://tizen.org/privilege/application.launch to the config.xml

  • I added simple JS for the sample app to test on a Samsung device. I take the package ID of the youtube app to try to navigate from my sample app to the youtube page in the Tizen Store (9Ur5IzDKqV)

My code:

function requestAppStore(appStoreUrl) {
var appControl=new tizen.ApplicationControl(
'http://tizen.org/appcontrol/operation/view',
appStoreUrl,
null,
null,
null
);

var storeId='org.tizen.tizenstore';

try {
tizen.application.launchAppControl(
appControl,
storeId,
function () {
console.log('Succeeded to Launch your app on appStore.');
},
function (err) {
alert('Service launch failed: '+''+err.message);
},
null
);
} catch (exc) {
console.log('Failed to launch your app on appStore.');
alert('AppControl Exception:'+exc.message);
}
}

/*For example package Id of facebook app ‘com.facebook.tizen’ is used, replace it with your application’s package Id.*/

var applicationPackageId = '9Ur5IzDKqV'; //or your application's Package ID

var appStoreUrl = 'tizenstore://ProductDetail/' + applicationPackageId;

requestAppStore(appStoreUrl);

/*Add this privilege on your config.xml

<tizen:privilege name="http://tizen.org/privilege/application.launch"/>

*/

After connecting to Samsung TV using Tizen Studio, the alert exposes with the message: Service launch failed: - No matched application found

Please help me check if I have any mistakes while following the document. Thanks in advanced

Can you open a Developer Support Request on this they can then forward it to the Smart TV support Team

If you don’t get a response other than auto reply in a few days let us know here.

Ron
Samsung Developer Relations

1 Like