【问题标题】:Amazon Appstore Deeplink to Manage Subscriptions用于管理订阅的 Amazon Appstore Deeplink
【发布时间】:2018-09-06 10:41:14
【问题描述】:

我正在尝试从我的应用深层链接到 Amazon Appstore 的“管理订阅”页面,我很好奇这是否可行。我已经成功地在 Google Play Store 和 iOS App Store 上实现了这一点。

我浏览了下面链接中的文档,但没有提到链接到“管理订阅”页面。 https://developer.amazon.com/docs/in-app-purchasing/iap-deep-linking-to-the-amazon-client.html

我最接近完成我想要的就是打开这个链接: http://www.amazon.com/gp/mas/your-account/myapps/yoursubscriptions

这将在设备浏览器上打开正确的页面,但如果我可以在 Amazon Appstore 应用程序中打开“管理订阅”页面,我更愿意。

【问题讨论】:

    标签: android mobile in-app-purchase amazon subscription


    【解决方案1】:

    看来这还是不可能的,见https://forums.developer.amazon.com/questions/16617/link-to-manage-subscription.html

    作为开发人员,您无法使用任何链接来让客户能够管理他们的订阅。您需要让您的客户通过其设备上的其中一款亚马逊应用程序或通过其用户个人资料下的 Amazon.com 网站来管理他们的订阅。

    【讨论】:

    • 好吧,至少现在记录在案了!
    【解决方案2】:

    这是您想要的方案:“amzn://apps/library/subscriptions”,这是应该可以工作的代码:

    Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("amzn://apps/library/subscriptions"));
    startActivity(intent);
    

    【讨论】:

    • 终于开始测试了。它似乎不适用于安装了 Amazon Appstore 的 Android 设备。我还没有机会在 Kindle 设备上进行测试。也许它只适用于那些?我得到的错误是:android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=amzn://apps/library/subscriptions }
    猜你喜欢
    • 2018-01-17
    • 1970-01-01
    • 2023-03-23
    • 2020-09-11
    • 2012-01-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-12
    相关资源
    最近更新 更多