Skip to content

Conversation

@krystofwoldrich
Copy link
Contributor

Summary:

When a new version of fbjni is released, we can simplify getName and getMessage calls on throwables.

Changelog:

[ANDROID] [CHANGED] - Use new getCanonicalName and getMessage methods exposed by fbjni

Test Plan:

facebookincubator/fbjni#78

@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: Sentry Partner: Sentry Partner labels Jun 14, 2023
@javache
Copy link
Member

javache commented Jun 14, 2023

fbjni 0.3.1 isn't shipped yet, right? I have a pending cleanup blocked on that too (I expect it to be 0.4.0 at this point).

ANDROIDX_TRACING_VERSION=1.1.0
ASSERTJ_VERSION=3.21.0
FBJNI_VERSION=0.3.0
FBJNI_VERSION=0.3.1
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't work as of now as this version hasn't been published yet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I've just opened this PR, to keep track that this will change with the next version. I'll adjust it to the actually release when it's out.

Copy link
Contributor

Choose a reason for hiding this comment

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

FBJNI_VERSION=0.4.0 should be out and ready to use in the next hours @krystofwoldrich

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,749,345 -217,082
android hermes armeabi-v7a 8,061,144 -166,467
android hermes x86 9,240,401 -239,684
android hermes x86_64 9,090,309 -232,246
android jsc arm64-v8a 9,311,934 -215,422
android jsc armeabi-v7a 8,501,075 -164,812
android jsc x86 9,373,885 -238,023
android jsc x86_64 9,627,893 -230,581

Base commit: ede86a3
Branch: main

@facebook-github-bot
Copy link
Contributor

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

@github-actions
Copy link

This pull request was successfully merged by @krystofwoldrich in 6c729ac.

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

@github-actions github-actions bot added the Merged This PR has been merged. label Jun 23, 2023
yayvery pushed a commit to discord/react-native that referenced this pull request Jan 14, 2024
…bump to 0.5.1 (facebook#37879)

Summary:
When a new version of `fbjni` is released, we can simplify `getName` and `getMessage` calls on throwables.

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[ANDROID] [CHANGED] - Use new `getCanonicalName` and `getMessage` methods exposed by `fbjni`

Pull Request resolved: facebook#37879

Test Plan: facebookincubator/fbjni#78

Reviewed By: cortinico

Differential Revision: D46966561

Pulled By: javache

fbshipit-source-id: f30720a30146cf8fe5125336435a1512063c253d
yayvery pushed a commit to discord/react-native that referenced this pull request Jan 14, 2024
…bump to 0.5.1 (facebook#37879)

Summary:
When a new version of `fbjni` is released, we can simplify `getName` and `getMessage` calls on throwables.

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[ANDROID] [CHANGED] - Use new `getCanonicalName` and `getMessage` methods exposed by `fbjni`

Pull Request resolved: facebook#37879

Test Plan: facebookincubator/fbjni#78

Reviewed By: cortinico

Differential Revision: D46966561

Pulled By: javache

fbshipit-source-id: f30720a30146cf8fe5125336435a1512063c253d
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: Sentry Partner: Sentry Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants