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

Include the possibility to define uiManagerFactoryFunction #546

Conversation

zigavehovec
Copy link
Contributor

@zigavehovec zigavehovec commented Oct 29, 2024

Description

Native SDKs support defining uiManagerFactoryFunction via:

On Android this is an important use case, since the default small screen UI doesn't support TV spatial navigation out of the box.

For the public API in this PR I tried to keep it close to what we have on Android.

Right now the sample is integrated in the basic playback sample, meaning that other samples won't have the TV spatial navigation enabled by default. I'm a bit unsure if we should just add it to all the samples, as I would assume this should be enough.

Changes

  • Update Android Bitmovin player to 3.90.0
  • Sample: 9a526c8

Checklist

  • 🗒 CHANGELOG entry

@zigavehovec zigavehovec changed the title Prn 106/include smart tv UI for react native android tv os Include the possibility to define uiManagerFactoryFunction Oct 29, 2024
@zigavehovec zigavehovec self-assigned this Oct 29, 2024
…i-for-react-native-android-tv-os

# Conflicts:
#	CHANGELOG.md
#	android/build.gradle
@zigavehovec zigavehovec marked this pull request as ready for review October 29, 2024 12:09
@zigavehovec zigavehovec requested review from a team as code owners October 29, 2024 12:09
Copy link
Contributor

@strangesource strangesource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean!

src/components/PlayerView/playerViewConfig.ts Outdated Show resolved Hide resolved
@strangesource
Copy link
Contributor

In an ideal world we would have a tv sample, maybe we can add one in a follow up ticked if we have time.

Copy link
Contributor

@rolandkakonyi rolandkakonyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well!

example/src/screens/BasicPlayback.tsx Show resolved Hide resolved
…-native-android-tv-os

# Conflicts:
#	CHANGELOG.md
@zigavehovec zigavehovec merged commit f2f0c64 into development Oct 31, 2024
9 checks passed
@zigavehovec zigavehovec deleted the PRN-106/include-smart-tv-ui-for-react-native-android-tv-os branch October 31, 2024 10:12
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.

3 participants