Skip to content

Commit

Permalink
fbjni version to 0.2.2 (#31191)
Browse files Browse the repository at this point in the history
Summary:
android fbjni dependency bump to 0.2.2

The motivation is to address pytorch/pytorch#34682 that pytorch_android and react-native use different versions of fbjni with the same name libfbjni.so

In case of loading 0.0.2 version it is missing functions in binary

Fbjni is not changing much, that's why this will solve that problem for a long time (Until fbjni changed and versions will not be aligned)

## Changelog

[Android][Added] fbjni version bump to 0.0.3

Pull Request resolved: #31191

Test Plan: Automated (relying on the test suite) and manual testing.

Reviewed By: passy

Differential Revision: D27330370

Pulled By: IvanKobzarev

fbshipit-source-id: 2ea07d80d23f8dbc80e946a8818c1ecb8eb746e8
  • Loading branch information
IvanKobzarev authored and facebook-github-bot committed Mar 25, 2021
1 parent 532f5f3 commit 24f9f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ dependencies {
api("com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}")
api("com.squareup.okhttp3:okhttp-urlconnection:${OKHTTP_VERSION}")
api("com.squareup.okio:okio:1.17.5")
api("com.facebook.fbjni:fbjni-java-only:0.0.3")
extractHeaders("com.facebook.fbjni:fbjni:0.0.2:headers")
extractJNI("com.facebook.fbjni:fbjni:0.0.2")
api("com.facebook.fbjni:fbjni-java-only:0.2.2")
extractHeaders("com.facebook.fbjni:fbjni:0.2.2:headers")
extractJNI("com.facebook.fbjni:fbjni:0.2.2")

javadocDeps("com.squareup:javapoet:1.13.0")

Expand Down
4 changes: 2 additions & 2 deletions ReactAndroid/src/main/libraries/fbjni/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ fb_native.android_prebuilt_aar(

fb_native.remote_file(
name = "fbjni-binary-aar",
sha1 = "d9e1b6ebbe55fe25f6ee6257ef64588e0f8a8db0",
url = "mvn:com.facebook.fbjni:fbjni:aar:0.0.2",
sha1 = "b20ae3406d911a28315b6ab53f122075500bfa27",
url = "mvn:com.facebook.fbjni:fbjni:aar:0.2.2",
)

0 comments on commit 24f9f75

Please sign in to comment.