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

Support onActivityResult in Bridgeless #43351

Closed

Conversation

arushikesarwani94
Copy link
Contributor

Summary:
Implement onActivityResult on Bridgeless

Changelog:
[Internal] internal

Differential Revision: D54574139

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 6, 2024
@facebook-github-bot
Copy link
Contributor

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

arushikesarwani94 added a commit to arushikesarwani94/react-native that referenced this pull request Mar 6, 2024
Summary:

Implement `onActivityResult` on Bridgeless

Changelog:
[Internal] internal

Differential Revision: D54574139
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Mar 6, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 18,004,352 -3
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,362,806 +4
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 3ed0ff3
Branch: main

arushikesarwani94 added a commit to arushikesarwani94/react-native that referenced this pull request Mar 6, 2024
Summary:

Implement `onActivityResult` on Bridgeless

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D54574139
@facebook-github-bot
Copy link
Contributor

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

arushikesarwani94 added a commit to arushikesarwani94/react-native that referenced this pull request Mar 6, 2024
Summary:

Implement `onActivityResult` on Bridgeless

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D54574139
@facebook-github-bot
Copy link
Contributor

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

Summary:

Implement `onActivityResult` on Bridgeless

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D54574139
@facebook-github-bot
Copy link
Contributor

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

Comment on lines +632 to +636
ReactSoftExceptionLogger.logSoftException(
TAG,
new ReactNoCrashSoftException(
"Tried to access onActivityResult while context is not ready"));
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be called unconditionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this only makes sense in case the context is null ?

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 6, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c771011.

huntie pushed a commit that referenced this pull request Mar 11, 2024
Summary:
Pull Request resolved: #43351

Implement `onActivityResult` on Bridgeless

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D54574139

fbshipit-source-id: f2369077199186ac6ef0187b5dfe7ed95f3b87fc
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.

4 participants