语言

Menu
Sites
Language
How to open a Galaxy Store rating page from a .NET Tizen watch app

Hello, can you help me with this issue? https://forum.developer.samsung.com/t/how-to-deeplink-on-the-galaxy-store-rating-page-from-the-watch-app/5193

I would like to open the rating page on the Galaxy Store from my .NET Tizen watch app. I want to implement the dialog “Please, give us 5 star review” that would be displayed on the watch, and it would lead to the store.

I found that I can use the AppControl class and pass the application ID:

AppControl.SendLaunchRequest(
    new AppControl
    {
        Operation = AppControlOperations.View,
        ApplicationId = "com.samsung.gearstore",
        Uri = Constants.AppID,
        LaunchMode = AppControlLaunchMode.Single
    }, (launchRequest, replyRequest, result) => { });

With this privilege

<privilege>http://tizen.org/privilege/application.launch</privilege>

This works both on Gear S3 with Tizen 4.0, as well as the newer Galaxy Active watch. But it opens only a simplified version of the store - there is no rating button! It’s a different UI than if I open the store app manually and search for the app.

How this can be done? Can I pass a different parameter to open the correct ratings page?

This guide seems to be obsolete. The org.tizen.tizenstore is not available on the watch anymore, there is just com.samsung.gearstore and the launch parameters seems to be different. Also there was a new quide on the Galaxy Store published this week, but it seems it works only for phone, not for Tizen watch apps. What other options do I have, implementing a web browser on the watch and opening a link? Opening the website on a connected phone?

Thanks for help!

响应

1 回复
Tizen .NET

Hi,
When you use AppControl API as below, the rating page for your app appears.

AppControl ac = new AppControl()
{
    Operation = "http://samsung.com/appcontrol/operation/galaxy_apps/rate_app",
    ApplicationId = "com.samsung.gearstore",
};
AppControl.SendLaunchRequest(ac);

Unfortunately, there is an issue in gearstore watch app, so it doesn't work properly.
I'll share it with you if there's any update.
Sorry for the inconvenience.