用于管理订阅的 Amazon Appstore 深层链接
Amazon Appstore Deeplink to Manage Subscriptions
我正在尝试从我的应用程序深入link Amazon Appstore 的“管理订阅”页面,我很好奇这是否可行。我已经为 Google Play Store 和 iOS App Store 完成了这项工作。
我已经阅读了下面 link 中的文档,但没有提到 link 管理订阅页面。
https://developer.amazon.com/docs/in-app-purchasing/iap-deep-linking-to-the-amazon-client.html
我最接近完成我想要的是打开这个 link:
http://www.amazon.com/gp/mas/your-account/myapps/yoursubscriptions
这将在设备浏览器上打开正确的页面,但我更愿意打开 Amazon Appstore 应用程序中的“管理订阅”页面。
看来还是不行,看https://forums.developer.amazon.com/questions/16617/link-to-manage-subscription.html
There is not a link that you as a developer would be able to use to allow a customer to be able to manage their subscriptions. You would need to have your customers go to manage their subscription either via one of the Amazon Apps on their device, or via the Amazon.com website under their user's profile.
这是您想要的方案:"amzn://apps/library/subscriptions" 这是应该有效的代码:
Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("amzn://apps/library/subscriptions"));
startActivity(intent);
我正在尝试从我的应用程序深入link Amazon Appstore 的“管理订阅”页面,我很好奇这是否可行。我已经为 Google Play Store 和 iOS App Store 完成了这项工作。
我已经阅读了下面 link 中的文档,但没有提到 link 管理订阅页面。 https://developer.amazon.com/docs/in-app-purchasing/iap-deep-linking-to-the-amazon-client.html
我最接近完成我想要的是打开这个 link: http://www.amazon.com/gp/mas/your-account/myapps/yoursubscriptions
这将在设备浏览器上打开正确的页面,但我更愿意打开 Amazon Appstore 应用程序中的“管理订阅”页面。
看来还是不行,看https://forums.developer.amazon.com/questions/16617/link-to-manage-subscription.html
There is not a link that you as a developer would be able to use to allow a customer to be able to manage their subscriptions. You would need to have your customers go to manage their subscription either via one of the Amazon Apps on their device, or via the Amazon.com website under their user's profile.
这是您想要的方案:"amzn://apps/library/subscriptions" 这是应该有效的代码:
Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("amzn://apps/library/subscriptions"));
startActivity(intent);