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

Deprecate ReactPackage.createNativeModules recommending using getModule instead #39339

Closed
wants to merge 4 commits into from

Conversation

mdvacca
Copy link
Contributor

@mdvacca mdvacca commented Sep 7, 2023

Summary:
Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Differential Revision: D48992719

@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 Sep 7, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Sep 7, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,323,818 +17
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,562,511 +9
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 59e6b11
Branch: main

@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 8, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: ba8aebcd9d737daae6a8023210d424a7f142afae
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 8, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: 13e9345dffd2d1216eb20679492dff6306ca3348
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 8, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: e5844e4d5a59e63d5a394b6eda05828f4d5284d2
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 11, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: 3d19b23226a1378922fe56b250a02a793d3b5cd2
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 13, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: 9c863f25086c459ed374bd0c57868e4bbdbde196
@github-actions
Copy link

github-actions bot commented Sep 13, 2023

Warnings
⚠️ One hour and a half have passed and the E2E jobs haven't finished yet.

Generated by 🚫 dangerJS against 9d938c0

@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 13, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: 2ef8676c90c28c8e6759b614db54824c8271d3ae
@facebook-github-bot
Copy link
Contributor

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

mdvacca added a commit to mdvacca/react-native that referenced this pull request Sep 14, 2023
…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: 5a64cb8ee10e10315e72f10b402f377951e3e3d9
Differential Revision: D48992474

fbshipit-source-id: dc401c5ae587c3c3359d620a1d86d28da6cedb05
Differential Revision: D48992720

fbshipit-source-id: d41f89916ce5df728b661115ba3cc674432c7b84
Summary:
In this diff I'm introducing the new DeprecatedInNewArchitecture annotation, the goal of this annotation is to describe that a class or method will be deprecated when the new architecture of react native is fully rolled out in
OSS.

changelog: [Android] Introduce DeprecatedInNewArchitecture annotation

Differential Revision: D49068234

fbshipit-source-id: 2c8d96b7a3e31ab5f48672491bdc4a6f2455ecac
@facebook-github-bot
Copy link
Contributor

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

…le instead (facebook#39339)

Summary:
Pull Request resolved: facebook#39339

Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

changelog: [Android][Changed] Deprecating createNativeModules method from ReactPackage interface recommending using getModule instead in the new architecture of React Native

Reviewed By: cortinico

Differential Revision: D48992719

fbshipit-source-id: 3ec4ec565f240b5cc1d8e76c5c39ef95a0213068
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 14, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 33181ef.

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants