Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on Deep linking from another app isn't working for Amazon prime and disney+hotstar
Post
Deep linking from another app isn't working for Amazon prime and disney+hotstar
It's not possible to send data to amazon prime and disney+hotstar. I was trying to send user to amazon prime when they click a (video) link (e.g. https://www.amazon.com/gp/video/detail/B01MSPI8JN/ref=atv_dp_share_cu_r). I thought it was Amazon prime which doesn't support it. Then I downloaded Amazon shopping and noticed I can successfully send data to Amazon shopping but not Amazon prime neither disney+hotstar app (using a video link of disney+hotstar's). I was reading the this and this but, they weren't helpful.
I have made sure that I have downloaded Amazon prime as well as disney application.
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(https://www.amazon.com/gp/video/detail/B01MSPI8JN/ref=atv_dp_share_cu_r));
startActivity(Intent.createChooser(intent,null));
I thought it doesn't work for this link only. But I have tested others also. If you wonder if it works for any other application then I will say that It worked perfectly for netflix, zee5 and many more. If you also wonder why I used Intent.createChooser then I will say that I wanted user to select which app they would like to use to open the link (unfortunately it's useless cause it only opens default web browser).
FYI, I have also tested amzn://video/detail/B01MSPI8JN/ref=atv_dp_share_cu_r instead web URL. But still doesn't work.
If you think it doesn't work cause they didn't implement it , then I will say that I have used reversed engineering to view their manifest and confirmed that they have implemented deep linking (Amazon prime, and Disney even Hotstar). There's another easier way to see, what they actually support if you have Android 11 (I have just figured it out now). Go to app info-> Open by default->Supported links
1 comment thread