Skip to content

Conversation

@ultronop592
Copy link

Summary

Adds support for detecting JioHotstar and Hotstar URLs and opening them in the native JioHotstar app when installed, with a safe fallback to the web.

Motivation

Currently, JioHotstar and Hotstar URLs open only in the browser. This change improves user experience by attempting to open the native app directly when available, which aligns with the goal of providing a universal app-opening experience.

Changes

  • Introduced a new jioHotstarHandler following the existing platform handler pattern
  • Detects URLs from multiple domains:
    • hotstar.com
    • jiohotstar.com
    • startv.hotstar.com
  • Uses Android intent-based links and iOS universal links to open the app
  • Provides a safe fallback to the original web URL if the app is not installed or deep navigation is not supported
  • Registered the handler in the core handler registry

Notes

JioHotstar currently does not support reliable deep navigation to specific content (shows, movies, or live streams). As a result, the app may open to the home screen instead of directly to the content. This behavior is controlled by the JioHotstar app and is outside the scope of this library. The handler ensures best-effort app opening with graceful fallback.

Testing

  • Tested locally using the demo application
  • Verified behavior with multiple URL formats, including shows, movies, play, and live URLs
  • Confirmed that the app opens when installed and falls back to the browser when not available

@coderabbitai
Copy link

coderabbitai bot commented Jan 3, 2026

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (1)
  • packages/core/src/platforms/jioHotstar.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@mdsaban
Copy link
Owner

mdsaban commented Jan 7, 2026

There's already an open PR #70, is there any difference?

@ultronop592
Copy link
Author

I tested JioHotstar deep links locally on Android and iOS and found that the app does not reliably support content-level deep navigation anymore.

Even when using:

  • hotstar://content/{id}
  • intent-based deep links with content IDs

the app consistently opens the home screen instead of the specific show/movie/live content. This appears to be controlled by the JioHotstar app itself.

Because of this, I implemented a best-effort handler that focuses on opening the app when installed with a safe web fallback, and documents this limitation explicitly. Happy to help adapt this PR in that direction if that aligns better with current app behavior.

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

Successfully merging this pull request may close these issues.

2 participants