@apollohg/react-native-prose-editor 0.5.12 → 0.5.13
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 +1 -0
- package/android/consumer-rules.pro +8 -0
- package/ios/EditorCore.xcframework/ios-arm64/libeditor_core.a +0 -0
- package/ios/EditorCore.xcframework/ios-arm64_x86_64-simulator/libeditor_core.a +0 -0
- package/package.json +2 -1
- package/rust/android/arm64-v8a/libeditor_core.so +0 -0
- package/rust/android/armeabi-v7a/libeditor_core.so +0 -0
- package/rust/android/x86_64/libeditor_core.so +0 -0
package/android/build.gradle
CHANGED
|
@@ -27,6 +27,7 @@ android {
|
|
|
27
27
|
versionCode 1
|
|
28
28
|
versionName packageJson.version
|
|
29
29
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
30
|
+
consumerProguardFiles "consumer-rules.pro"
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
// Include prebuilt Rust .so files from the package's rust/android/ directory
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# JNA includes desktop AWT helpers that are not available on Android. The editor
|
|
2
|
+
# bindings do not call those APIs, but R8 still validates the references.
|
|
3
|
+
-dontwarn java.awt.**
|
|
4
|
+
|
|
5
|
+
# UniFFI uses JNA reflection/proxies to bind Kotlin method and structure field
|
|
6
|
+
# names to the Rust library. Keep these names stable in consuming release builds.
|
|
7
|
+
-keep class com.sun.jna.** { *; }
|
|
8
|
+
-keep class uniffi.editor_core.** { *; }
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollohg/react-native-prose-editor",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.13",
|
|
4
4
|
"description": "Native rich text editor with Rust core for React Native",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/apollohg/react-native-prose-editor",
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"LICENSE",
|
|
76
76
|
"dist",
|
|
77
77
|
"android/build.gradle",
|
|
78
|
+
"android/consumer-rules.pro",
|
|
78
79
|
"android/src/main",
|
|
79
80
|
"ios/*.swift",
|
|
80
81
|
"ios/*.h",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|