Skip to content

feat: Add support for tvOS and Android TV#31

Merged
DanielAraldi merged 29 commits into
mainfrom
feat/add-support-tv
Jun 8, 2026
Merged

feat: Add support for tvOS and Android TV#31
DanielAraldi merged 29 commits into
mainfrom
feat/add-support-tv

Conversation

@DanielAraldi

@DanielAraldi DanielAraldi commented Jan 2, 2026

Copy link
Copy Markdown
Owner

Summary

Added support for tvOS and Android TV (#30).

React Native Side

  • Update documentation.
  • Update example App.

Android

  • Added a new extra-dark type for BlurView.
  • Renamed x-light to extra-light.

iOS

  • Add tvOS support from BlurView and VibrancyView components.
  • Added a new extra-dark type for BlurView and VibrancyView.
  • Renamed x-light to extra-light.

References

--

@DanielAraldi DanielAraldi self-assigned this Jan 2, 2026
@DanielAraldi DanielAraldi added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 2, 2026
@DanielAraldi DanielAraldi marked this pull request as draft March 3, 2026 14:37
@DanielAraldi DanielAraldi added tvOS tvOS only android TV Android TV only help wanted Extra attention is needed labels Mar 3, 2026
@DanielAraldi DanielAraldi changed the title feat: Add support from tvOS and Android TV feat: Add support for tvOS and Android TV Mar 29, 2026
BREAKING CHANGE: Add TV support
@DanielAraldi DanielAraldi linked an issue Apr 30, 2026 that may be closed by this pull request
@DanielAraldi DanielAraldi requested a review from Copilot May 14, 2026 23:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds tvOS and Android TV support to the library, alongside a breaking rename of the x-light blur type to extra-light, introduction of a new extra-dark type, and a substantial upgrade of the example app's React Native (0.85.3), tooling, and build configuration.

Changes:

  • Add tvOS support via TARGET_OS_TV conditional compilation in the iOS sources, gating VibrancyView features unavailable on tvOS, and add tvos => "12.0" to the podspec; mirror new blur types on Android.
  • Rename x-lightextra-light and add a new extra-dark blur type across TypeScript types, iOS (BlurUtils.mm), Android (BlurOverlayColor.kt), and the example app constants/screens.
  • Upgrade example app to RN 0.85.3 (new Pods graph including React-Core-prebuilt/ReactNativeDependencies), bump Node engine to 22.x, simplify MainApplication.kt using loadReactNative, update Gradle to 9.3.1, AGP/SDK 36, and rework CONTRIBUTING.md/scripts (yarn setup).

Reviewed changes

Copilot reviewed 31 out of 38 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
README.md Rewrites migration section for 3.x; documents new types, tvOS support, and platform fallbacks (has several grammar/correctness issues).
BlurView.podspec Adds tvOS 12.0 platform.
ios/BlurUtils.{h,mm} Renames x-light; adds extra-dark with TARGET_OS_TV branch; guards vibrancyEffectStyle on tvOS.
ios/BlurView.mm, ios/VibrancyView.mm, ios/VibrancyViewManager.mm Adds RCTViewComponentView.h import and minor whitespace.
src/@types/BlurType.ts, src/BlurView.tsx Renames type and includes extra-dark in primary-type check.
android/src/main/java/com/blurview/BlurOverlayColor.kt Renames X_LIGHTEXTRA_LIGHT, adds EXTRA_DARK color.
example/src/* Updates blur type list/labels and replaces useBlur with useColorScheme in App.tsx.
example/package.json, example/jest.config.js Renames package, bumps RN ecosystem deps to 0.85.x, requires Node ≥22.11.
example/ios/* (Podfile, Podfile.lock, Info.plist, project.pbxproj) RN 0.85.3 Pod regeneration, new-arch flags, frame duration key, orientation split.
example/android/* (gradle, gradlew(.bat), build.gradle, MainApplication.kt, AndroidManifest.xml) Gradle 9.3.1, SDK/Kotlin bumps, switch to loadReactNative, remove debug manifest.
example/Gemfile(.lock) Adds nkf dependency and bumps gems.
tsconfig.json Adds path mappings for react-native.
package.json Removes example/setup:example scripts in favor of setup.
CONTRIBUTING.md Rewrites contributor workflow around yarn setup and cd example && yarn ....
.nvmrc, .gitignore Node 22, broaden Pods/vendor ignores.
Comments suppressed due to low confidence (1)

README.md:427

  • This sentence is grammatically incomplete: "On tvOS, the blur types extra-light, light, dark, extra-dark, regular, and prominent." is missing a verb (e.g., "are supported"). Consider rephrasing to something like: "On tvOS, the supported blur types are extra-light, light, dark, extra-dark, regular, and prominent. For the other types, although they are available, the light blur type is used as a fallback."
On tvOS, the blur types `extra-light`, `light`, `dark`, `extra-dark`, `regular`, and `prominent`. As for the other types, although they are available, we use `light` blur type as a **fallback**.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Comment thread example/package.json Outdated
Comment thread ios/BlurUtils.mm
DanielAraldi and others added 5 commits May 15, 2026 07:51
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 31 out of 38 changed files in this pull request and generated 5 comments.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated
DanielAraldi and others added 3 commits May 19, 2026 08:09
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 31 out of 38 changed files in this pull request and generated 3 comments.

Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
DanielAraldi and others added 2 commits May 19, 2026 08:17
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…Phones devices

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 31 out of 38 changed files in this pull request and generated 4 comments.

Comment thread CONTRIBUTING.md
Comment thread package.json
Comment thread README.md
Comment thread README.md
@DanielAraldi DanielAraldi marked this pull request as ready for review June 7, 2026 15:00
@DanielAraldi DanielAraldi removed the help wanted Extra attention is needed label Jun 7, 2026
@DanielAraldi DanielAraldi merged commit 644ab13 into main Jun 8, 2026
4 checks passed
@DanielAraldi DanielAraldi deleted the feat/add-support-tv branch June 8, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

android TV Android TV only documentation Improvements or additions to documentation enhancement New feature or request tvOS tvOS only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tvOS / Android TV] Support for tvOS / Android TV

2 participants