Skip to content

Commit

Permalink
fix android build issues with react-native-pdf and react-native 59.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Or Evron committed Mar 26, 2019
1 parent 1404e4a commit f1ddb54
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ android {
compileSdkVersion _compileSdkVersion
buildToolsVersion _buildToolsVersion

packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libjsc.so'
pickFirst 'lib/arm64-v8a/libjsc.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}

defaultConfig {
minSdkVersion _minSdkVersion
targetSdkVersion _targetSdkVersion
Expand Down

0 comments on commit f1ddb54

Please sign in to comment.