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

Fix missing import on New Architecture build script in template #34230

Closed
wants to merge 1 commit into from

Conversation

cortinico
Copy link
Contributor

Summary:
The OS static class is accessed inside app/build.gradle but the import is on
the top level Gradle file. This is causing an app created from template to fail
building.

This is needed to be cherry-picked on the 0.70-stable branch.

Changelog:
[Android] [Fixed] - Fix missing import on New Architecture build script in template

Differential Revision: D37995897

Summary:
The OS static class is accessed inside app/build.gradle but the import is on
the top level Gradle file. This is causing an app created from template to fail
building.

This is needed to be cherry-picked on the 0.70-stable branch.

Changelog:
[Android] [Fixed] - Fix missing import on New Architecture build script in template

Differential Revision: D37995897

fbshipit-source-id: dd4adc3aadfeabdcf63b522109d299373071d8c8
@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: Facebook Partner: Facebook Partner fb-exported labels Jul 20, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D37995897

@react-native-bot react-native-bot added Bug Platform: Android Android applications. labels Jul 20, 2022
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,820,484 +0
android hermes armeabi-v7a 7,214,372 +0
android hermes x86 8,134,204 +0
android hermes x86_64 8,112,309 +0
android jsc arm64-v8a 9,698,003 +0
android jsc armeabi-v7a 8,454,127 +0
android jsc x86 9,649,800 +0
android jsc x86_64 10,248,023 +0

Base commit: e1d17c8
Branch: main

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cortinico in a22f30d.

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 Jul 20, 2022
@analysis-bot
Copy link

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

Base commit: 3188727
Branch: main

kelset pushed a commit that referenced this pull request Jul 27, 2022
Summary:
Pull Request resolved: #34230

The OS static class is accessed inside app/build.gradle but the import is on
the top level Gradle file. This is causing an app created from template to fail
building.

This is needed to be cherry-picked on the 0.70-stable branch.

Changelog:
[Android] [Fixed] - Fix missing import on New Architecture build script in template

Reviewed By: cipolleschi

Differential Revision: D37995897

fbshipit-source-id: aad22100cee004944c4fa0841f5ef0dfc6ea1e94
leotm added a commit to leotm/react-native-template-new-architecture that referenced this pull request Jul 30, 2022
leotm added a commit to leotm/react-native-template-new-architecture that referenced this pull request Jul 30, 2022
* Update dependency react-native to v0.70.0-rc.1

* Revert temp Gradle build fix

Fixed/picked in 0.70.0-rc.1
- https://github.com/reactwg/react-native-releases/discussions/26#discussioncomment-3188952
- facebook/react-native#34230

* Revert temp RN 0.70.0-rc.0 patch

- Revert/remove stale resolution
- Remove stale patch

Now on 0.70.0-rc.1

* Upgrade RN pods from 0.70.0-rc.0 to 0.70.0-rc.1

* Upgrade RN files from 0.70.0-rc.0 to 0.70.0-rc.1

Ignore from upgrade-helper local changes not in template
- contents.xcworkspacedata from upgrade-helper
- project.pbxproj

https://react-native-community.github.io/upgrade-helper/?from=0.70.0-rc.0&to=0.70.0-rc.1

* Update ReadMe screenshots

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LeoTM <[email protected]>
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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner Platform: Android Android applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants