Skip to content
This repository was archived by the owner on Feb 27, 2022. It is now read-only.

Commit 41b9af5

Browse files
author
Elad Gil
committed
Android: expose Fetch to app as api
1 parent 4a3b375 commit 41b9af5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dependencies {
1919
//noinspection GradleDynamicVersion
2020
implementation 'com.facebook.react:react-native:+'
2121
if (project.properties['android.useAndroidX'] == true) {
22-
implementation "androidx.tonyodev.fetch2:xfetch2:3.1.4"
22+
api "androidx.tonyodev.fetch2:xfetch2:3.1.4"
2323
} else {
24-
implementation "com.tonyodev.fetch2:fetch2:3.0.10"
24+
api "com.tonyodev.fetch2:fetch2:3.0.10"
2525
}
2626
}

0 commit comments

Comments
 (0)