Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leanback AppLinks calling issue. #85

Open
support-iintelligas opened this issue Sep 2, 2022 · 0 comments
Open

Leanback AppLinks calling issue. #85

support-iintelligas opened this issue Sep 2, 2022 · 0 comments

Comments

@support-iintelligas
Copy link

Hi Team,
I am trying to open one OTT App from my own Leanback app in Android TV. It works for deep linking. Where we have schema other than http/https. for example below code is working to open youtube video.
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("vnd.youtube://72K1VhjoL98"));
startActivity(intent);
But when I am trying same code with AppLinks (schema with http/https along proper assetlinks.json hosted) it does not work.
I am trying it for Indian OTT app called Zee5. trying to open Zee5 from my Leanback App.
assetlinks url : https://www.zee5.com/.well-known/assetlinks.json
Note: Can't share the exact AppLinks due to data privacy.
App was crashing when there was not web browser installed in the Android TV box. After installing Puffin TV Browser, now it opens the url in browser but NOT opening the proper app (zee5 app.)
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("https://xxx.xxx.bac/RlQq/?af_***")); //Masking due to data privacy.
startActivity(intent);
Same code is working fine in android Mobile app.
Please advice me how to open a third party TV app from my Leanback app using AppLinks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant