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

Remove the isTVOS check #34071

Closed

Conversation

Zachinquarantine
Copy link
Contributor

Summary

Removes the isTVOS check, which just duplicated and returned the isTV check anyway.

Changelog

[General] [Removed] - Remove deprecated isTVOS constant.

Test Plan

Run against CI, and apply changes as needed.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Jun 25, 2022
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,826,738 +0
android hermes armeabi-v7a 7,214,128 +0
android hermes x86 8,137,190 +0
android hermes x86_64 8,117,760 +0
android jsc arm64-v8a 9,692,154 +0
android jsc armeabi-v7a 8,448,289 +0
android jsc x86 9,643,357 +0
android jsc x86_64 10,240,818 +0

Base commit: d666eb7
Branch: main

@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: d666eb7
Branch: main

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @Zachinquarantine in 6075d64.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 27, 2022
@Zachinquarantine Zachinquarantine deleted the remove_istvos branch June 27, 2022 13:35
kkafar added a commit to software-mansion/react-native-screens that referenced this pull request Oct 3, 2022
## Description

Fixes #1604 

`Platform.isTVOS` check was removed with `react-native@0.70` [(see the
PR)](facebook/react-native#34071) as it was only
wrapper for `Platform.isTV` check (which exists since `0.61`).

## Changes

Dropped usage of removed `Platform.isTVOS` check in favour of
`Platform.isTV`.

## Test code and steps to reproduce

See #1604 -- check on any app that the library now works with
`@types/react-native@0.70.*`

## Checklist

- [x] Ensured that CI passes
kacperkapusciak pushed a commit to react-navigation/react-navigation that referenced this pull request Nov 7, 2022
**Motivation**

This PR supersedes a deprecated `Platform.isTVOS` which got removed in
facebook/react-native#34071 for the currently
used standard - a `Platform.isTV` check.

`Platform.isTV` check exists since react-native `v0.61` that way no
breaking changes are introduced to react-navigation.

Ref: software-mansion/react-native-screens#1605
kacperkapusciak pushed a commit to josemak25/react-navigation that referenced this pull request Dec 15, 2022
)

**Motivation**

This PR supersedes a deprecated `Platform.isTVOS` which got removed in
facebook/react-native#34071 for the currently
used standard - a `Platform.isTV` check.

`Platform.isTV` check exists since react-native `v0.61` that way no
breaking changes are introduced to react-navigation.

Ref: software-mansion/react-native-screens#1605
mccoyplayer pushed a commit to mccoyplayer/reactScreen that referenced this pull request Feb 9, 2024
## Description

Fixes #1604 

`Platform.isTVOS` check was removed with `react-native@0.70` [(see the
PR)](facebook/react-native#34071) as it was only
wrapper for `Platform.isTV` check (which exists since `0.61`).

## Changes

Dropped usage of removed `Platform.isTVOS` check in favour of
`Platform.isTV`.

## Test code and steps to reproduce

See #1604 -- check on any app that the library now works with
`@types/react-native@0.70.*`

## Checklist

- [x] Ensured that CI passes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. Type: Removal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants