Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Appstore Deeplink to Manage Subscriptions

I'm trying to deeplink to the Amazon Appstore's Manage Subscriptions page from my app and I'm curious if it's possible. I've managed to accomplish this for the Google Play Store and iOS App Store.

I've gone through the documentation at the link below but there's no mention of linking to the Manage Subscriptions page. https://developer.amazon.com/docs/in-app-purchasing/iap-deep-linking-to-the-amazon-client.html

The closest I've come to accomplishing what I want is opening this link: http://www.amazon.com/gp/mas/your-account/myapps/yoursubscriptions

This will open the right page on the devices browser, but I'd prefer if I could open to the Manage Subscriptions page in the Amazon Appstore app.

like image 800
mbaker3 Avatar asked Oct 20 '25 01:10

mbaker3


2 Answers

It looks like this is still not possible, see 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.

like image 126
Pavel Chuchuva Avatar answered Oct 22 '25 05:10

Pavel Chuchuva


The scheme proposed by @levon actually works on Amazon Fire tablets, so the best solution would be to use it with a fallback, something like this:

void openSubscriptionManagement() {
    try {
        // Open Amazon App Store to manage subscriptions
        Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("amzn://apps/library/subscriptions"));
        startActivity(intent);
    } catch (Exception e) {
        try {
            String url = "https://www.amazon.com/gp/mas/your-account/myapps/yoursubscriptions";
            Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
            startActivity(intent);
        } catch (Exception e2) {
            Log.e(LOG_TAG, "Error opening URL", e2);
        }
    }
}
like image 45
xalioth Avatar answered Oct 22 '25 04:10

xalioth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!