Skip to content

Commit 9b95094

Browse files
fix(pdf): duplicate libc++ library (#505)
* @nativescript/pdf * replaces TalbotGooday:AndroidPdfViewer with pdfium-android-viewer (a fork of andob) because * fixed the problem with duplicate libc++ library on @nativescript/android:8.5 * generated updated typescript definitions for pdfium-android-viewer
1 parent 9cb7852 commit 9b95094

File tree

2 files changed

+2596
-30
lines changed

2 files changed

+2596
-30
lines changed
Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
repositories {
2-
maven { url 'https://jitpack.io' }
2+
maven { url "https://maven.andob.info/repository/open_source" }
33
}
44

55
dependencies {
6-
implementation 'com.github.TalbotGooday:AndroidPdfViewer:3.1.0-beta.3'
6+
implementation 'ro.andob.pdfium-android:pdfium-android-viewer:1.0.2'
7+
}
8+
9+
android {
10+
packagingOptions {
11+
jniLibs {
12+
pickFirsts += [
13+
'lib/x86/libc++_shared.so',
14+
'lib/x86_64/libc++_shared.so',
15+
'lib/armeabi-v7a/libc++_shared.so',
16+
'lib/arm64-v8a/libc++_shared.so'
17+
]
18+
}
19+
}
720
}

0 commit comments

Comments
 (0)