Skip to content

Commit

Permalink
Minimize binary footprint on android (facebookarchive#557)
Browse files Browse the repository at this point in the history
* Minimize binary footprint on android

Instead of pulling in the whole FBSDK just pull in the modules we are
using.
  • Loading branch information
redcancode authored and janicduplessis committed Jun 18, 2019
1 parent 7af350e commit f4cf658
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ android {
dependencies {
implementation "androidx.appcompat:appcompat:1.0.+"
api 'com.facebook.react:react-native:+'
api "com.facebook.android:facebook-android-sdk:${FACEBOOK_SDK_VERSION}"
implementation "com.facebook.android:facebook-core:${FACEBOOK_SDK_VERSION}"
implementation "com.facebook.android:facebook-login:${FACEBOOK_SDK_VERSION}"
implementation "com.facebook.android:facebook-share:${FACEBOOK_SDK_VERSION}"
}

repositories {
Expand Down

0 comments on commit f4cf658

Please sign in to comment.