@papyrus-sdk/engine-native 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -5,12 +5,13 @@ def safeExtGet(prop, fallback) {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
android {
|
|
8
|
-
compileSdkVersion safeExtGet('compileSdkVersion',
|
|
8
|
+
compileSdkVersion safeExtGet('compileSdkVersion', 35)
|
|
9
|
+
ndkVersion safeExtGet('ndkVersion', '26.1.10909125')
|
|
9
10
|
namespace 'com.papyrus.engine'
|
|
10
11
|
|
|
11
12
|
defaultConfig {
|
|
12
13
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
13
|
-
targetSdkVersion safeExtGet('targetSdkVersion',
|
|
14
|
+
targetSdkVersion safeExtGet('targetSdkVersion', 35)
|
|
14
15
|
consumerProguardFiles 'consumer-rules.pro'
|
|
15
16
|
externalNativeBuild {
|
|
16
17
|
cmake {
|
|
@@ -34,7 +35,7 @@ android {
|
|
|
34
35
|
|
|
35
36
|
dependencies {
|
|
36
37
|
implementation 'com.facebook.react:react-android'
|
|
37
|
-
implementation('
|
|
38
|
+
implementation('io.github.oothp:pdfium-android:1.9.5-beta01') {
|
|
38
39
|
exclude group: 'com.android.support'
|
|
39
40
|
}
|
|
40
41
|
}
|
|
@@ -7,6 +7,7 @@ add_library(papyrus_text SHARED
|
|
|
7
7
|
)
|
|
8
8
|
|
|
9
9
|
target_compile_options(papyrus_text PRIVATE -Wall -Werror)
|
|
10
|
+
target_link_options(papyrus_text PRIVATE "-Wl,-z,max-page-size=16384")
|
|
10
11
|
set_target_properties(papyrus_text PROPERTIES
|
|
11
12
|
CXX_STANDARD 17
|
|
12
13
|
CXX_STANDARD_REQUIRED YES
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papyrus-sdk/engine-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"papyrus",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@papyrus-sdk/core": ">=0.2.1",
|
|
52
52
|
"@papyrus-sdk/types": ">=0.2.1",
|
|
53
|
-
"react-native": ">=0.
|
|
53
|
+
"react-native": ">=0.81.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@papyrus-sdk/core": "0.2.1",
|
|
57
57
|
"@papyrus-sdk/types": "0.2.1",
|
|
58
|
-
"react-native": "^0.
|
|
58
|
+
"react-native": "^0.81.0"
|
|
59
59
|
}
|
|
60
60
|
}
|