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

Adapt template to new architecture autolinking on Android #33777

Closed
wants to merge 4 commits into from

Conversation

thymikee
Copy link
Contributor

@thymikee thymikee commented May 6, 2022

Summary

Provides necessary changes for the autolinking to work in new architecture on Android. Depends on react-native-community/cli#1603 and is subject to change.

Upgraded the RN CLI to v9.0.0-alpha.0 so that it's testable locally.

Changelog

[Android] [Changed] - Adapt template to new architecture autolinking on Android

Test Plan

CI

@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: Callstack Partner: Callstack Partner labels May 6, 2022
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label May 6, 2022
@pull-bot
Copy link

pull-bot commented May 6, 2022

Warnings
⚠️ 🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.
Messages
📖

📋 Verify Changelog Format - A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

CATEGORY may be:
  • General
  • iOS
  • Android
  • JavaScript
  • Internal (for changes that do not need to be called out in the release notes)

TYPE may be:

  • Added, for new features.
  • Changed, for changes in existing functionality.
  • Deprecated, for soon-to-be removed features.
  • Removed, for now removed features.
  • Fixed, for any bug fixes.
  • Security, in case of vulnerabilities.

MESSAGE may answer "what and why" on a feature level. Use this to briefly tell React Native users about notable changes.

Generated by 🚫 dangerJS against 48db2a9

@react-native-bot react-native-bot added the Platform: Android Android applications. label May 6, 2022
@analysis-bot
Copy link

analysis-bot commented May 6, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,784,690 +0
android hermes armeabi-v7a 7,188,365 +0
android hermes x86 8,096,408 +0
android hermes x86_64 8,074,164 +0
android jsc arm64-v8a 9,657,443 +0
android jsc armeabi-v7a 8,429,980 +0
android jsc x86 9,609,959 +0
android jsc x86_64 10,204,643 +0

Base commit: 55133ea
Branch: main

@analysis-bot
Copy link

analysis-bot commented May 6, 2022

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

Base commit: 55133ea
Branch: main

@thymikee
Copy link
Contributor Author

react-native-community/cli#1603 is now merged and released in 9.0.0-alpha.0, so this PR is now unblocked and ready to be merged.

@thymikee thymikee requested a review from hramos as a code owner May 18, 2022 09:55
@cortinico
Copy link
Contributor

react-native-community/cli#1603 is now merged and released in 9.0.0-alpha.0, so this PR is now unblocked and ready to be merged.

Awesome, thanks for the heads up 👍
I'll import this and get back to you with some testing.

@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.

@cortinico
Copy link
Contributor

This is currently blocked by #33859
which needs to land before this (and I'm having some difficulty merging internally). Will get back to this

@thymikee
Copy link
Contributor Author

Ok, let me know if I can help anyhow.

@thymikee
Copy link
Contributor Author

@cortinico looks like #33859 is merged

@cortinico
Copy link
Contributor

@cortinico looks like #33859 is merged

Yup 👍

Don't you mind rebase this one?
CI should be green now + I've managed to let this build internally

@thymikee
Copy link
Contributor Author

Rebased :)

@pull-bot
Copy link

pull-bot commented May 24, 2022

Warnings
⚠️ 🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against 721f47b

@cortinico
Copy link
Contributor

cortinico commented Jun 24, 2022

Hey @thymikee Sorry for the delay. We're going to merge this as it is as I was able to let it work correctly for the majority of cases.

However there are a couple of changes we'd like to address on the CLI side of things:

I have PRs for some of those points that I will be sending towards the cli repo in the next days 👍

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @thymikee in 9ad7cbc.

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

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. p: Callstack Partner: Callstack Partner Platform: Android Android 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.

6 participants