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

Revert "Fix Deadlock in RCTi18nUtil (iOS) (#31032)" #32574

Closed
wants to merge 1 commit into from

Conversation

Saadnajmi
Copy link
Contributor

Summary

This reverts commit fcead14.

This should close #32509 . There was a bug where il8nManager.forceRTL() wouldn't work on app launch, and required an app restart. That was caused by an earlier change (#31032) which should not be necessary (the deadlock it was attempting to fix was actually caused by separate code).

Changelog

[iOS] [Fixed] - Fixed bug where forceRTL did not work on app launch

Test Plan

Simple revert back to previously working code.

@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. p: Microsoft Partner: Microsoft Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Nov 10, 2021
@facebook-github-bot
Copy link
Contributor

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

@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Nov 10, 2021
@analysis-bot
Copy link

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

Base commit: b27a83b
Branch: main

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,477,246 -491
android hermes armeabi-v7a 7,774,254 -735
android hermes x86 8,946,441 -439
android hermes x86_64 8,893,401 -402
android jsc arm64-v8a 9,791,819 +37
android jsc armeabi-v7a 8,752,304 -197
android jsc x86 9,740,689 +92
android jsc x86_64 10,341,594 +126

Base commit: b27a83b
Branch: main

@facebook-github-bot
Copy link
Contributor

@GijsWeterings merged this pull request in 70ddf46.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 15, 2021
lunaleaps pushed a commit that referenced this pull request Nov 30, 2021
Summary:
This reverts commit fcead14.

This should close #32509 . There was a bug where il8nManager.forceRTL() wouldn't work on app launch, and required an app restart. That was caused by an earlier change (#31032) which should not be necessary (the deadlock it was attempting to fix was actually caused by separate code).

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - Fixed bug where forceRTL did not work on app launch

Pull Request resolved: #32574

Test Plan: Simple revert back to previously working code.

Reviewed By: RSNara

Differential Revision: D32315034

Pulled By: GijsWeterings

fbshipit-source-id: dae6c1f0a2481e53f2f1e80f1ac083947681ef99
mmmoussa pushed a commit to mmmoussa/react-native that referenced this pull request Dec 6, 2021
…#32574)

Summary:
This reverts commit fcead14.

This should close facebook#32509 . There was a bug where il8nManager.forceRTL() wouldn't work on app launch, and required an app restart. That was caused by an earlier change (facebook#31032) which should not be necessary (the deadlock it was attempting to fix was actually caused by separate code).

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - Fixed bug where forceRTL did not work on app launch

Pull Request resolved: facebook#32574

Test Plan: Simple revert back to previously working code.

Reviewed By: RSNara

Differential Revision: D32315034

Pulled By: GijsWeterings

fbshipit-source-id: dae6c1f0a2481e53f2f1e80f1ac083947681ef99
lunaleaps pushed a commit that referenced this pull request Dec 7, 2021
Summary:
This reverts commit fcead14.

This should close #32509 . There was a bug where il8nManager.forceRTL() wouldn't work on app launch, and required an app restart. That was caused by an earlier change (#31032) which should not be necessary (the deadlock it was attempting to fix was actually caused by separate code).

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - Fixed bug where forceRTL did not work on app launch

Pull Request resolved: #32574

Test Plan: Simple revert back to previously working code.

Reviewed By: RSNara

Differential Revision: D32315034

Pulled By: GijsWeterings

fbshipit-source-id: dae6c1f0a2481e53f2f1e80f1ac083947681ef99

Co-authored-by: Saad Najmi <[email protected]>
@Saadnajmi Saadnajmi deleted the revert-rtl-change branch December 22, 2021 00:10
@Saadnajmi Saadnajmi restored the revert-rtl-change branch December 22, 2021 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 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. p: Microsoft Partner: Microsoft Partner Platform: iOS iOS applications. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I18Manager is not forcing RTL on app launch but works when restarting the app.
4 participants