三星可穿戴 Tizen 应用拒绝没有深层链接 [英] Samsung Wearable Tizen app rejected no deep link

查看:45
本文介绍了三星可穿戴 Tizen 应用拒绝没有深层链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一周前向三星 Galaxy Store 提交了一个新应用,但遭到拒绝.三星可穿戴应用是现有 Android 应用的配套应用.

这个 Tizen 应用程序是使用 .NET 构建的,我在 tizen-manifest.xml 中添加了一个指向 Android 应用程序的深层链接:

是的,我提交的包名称是 100% 正确的,只是在这个问题中掩盖了它.

三星拒绝了该应用程序:

[缺陷]没有下载配套应用程序(MyApp)的深层链接[程序]1.安装齿轮应用程序2.检查DeepLink是否确实发生[预期结果]安装 Gear 应用程序后应立即出现用于下载配套应用程序(MyApp)的深层链接

有人能给我指点一下描述如何将使用 .NET 构建的 Tizen 配套应用正确深层链接到 Play 商店中的 Android 应用的文档吗?

我在 SO 上看到的所有问题都与 .NET 无关,并且这些答案中的链接已损坏.以下是示例:

我在网上的任何地方都没有看到这方面的正确记录,所以希望这对其他人在他们的 Tizen 应用程序被拒绝并且不确定如何解决时有所帮助.

I submitted a new app to the Samsung Galaxy Store a week ago, and it got rejected. The Samsung wearable app is a companion app to an existing Android app.

This Tizen app was built using .NET, and I added a deep link to the Android application in tizen-manifest.xml as such:

<metadata key="master_app_playstore_deeplink" value="market://details?id=com.mycompany.appname"/>

Yes, the package name is 100% correct in my submission, just obscuring it in this question.

Samsung rejected the app with:

[Defect]
There is no deep link to download companion app(MyApp)

[Procedure]
1. Install Gear application
2. Check if DeepLink does occur

[Expected Result]
Deeplink for downloading Companion app(MyApp) should occur right after installing Gear application

Can someone point me to the documentation that describes how to properly deep link from a Tizen companion app built using .NET to an Android app in the play store?

All the questions I've seen on SO do not specifically pertain to .NET, and the links in those answers are broken. Here are examples:

https://stackoverflow.com/a/48483204/1103584

https://stackoverflow.com/a/45989805/1103584

I also tried submitting support tickets to the Galaxy App Store, but it appears their portal is down. I've submitted a ticket to Samsung via another route now, and if they help me I'll update this with an answer.

解决方案

After scouring the entire internet, Samsung developer forums, Tizen.org, and every other place I could find, it turns out the advice on other SO answers is accurate, but incomplete.

For deep linking from a Tizen wearable companion app to an Android app, it's not enough to specify the master_app_playstore_deeplink - you must also specify the master_app_name, master_app_packagename, and master_app_min_version. The min version is the minimum versionCode of your Android app that is required for this version of the Tizen companion app to function.

In summary, you need all of these properties defined in the tizen-manifest.xml of your .NET Tizen companion app to deep link properly to its Android app:

<metadata key="master_app_name" value="MyApp" />
<metadata key="master_app_packagename" value="com.mycompany.myapp" />
<metadata key="master_app_min_version" value="620" />
<metadata key="master_app_playstore_deeplink" value="market://details?id=com.mycompany.myapp" />

If you do this properly, you can test the deep linking by uninstalling the Android app from your phone, then installing the Tizen app on your wearable. You should see a dialog like the following when you open the Tizen app, preventing you from using the Tizen app until you hit the OK button to install the Android app on your phone.

I've not seen this documented properly anywhere online, so hopefully this is helpful to someone else when their Tizen app gets rejected and they're not sure how to fix it.

这篇关于三星可穿戴 Tizen 应用拒绝没有深层链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆