react-native-pdf-jsi 2.2.0 → 2.2.2
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/README.md
CHANGED
|
@@ -29,13 +29,24 @@ Starting November 1, 2025, Google Play will require apps to support 16KB page si
|
|
|
29
29
|
| **`react-native-pdf-jsi`** | ✅ Fully Supported | ✅ Compliant | ✅ None |
|
|
30
30
|
|
|
31
31
|
### **Technical Implementation:**
|
|
32
|
-
- ✅ **NDK
|
|
32
|
+
- ✅ **NDK r28.2** - Latest Android development toolchain
|
|
33
33
|
- ✅ **16KB Page Size Support** - Fully compliant with Google policy
|
|
34
34
|
- ✅ **Android 15+ Ready** - Future-proof architecture
|
|
35
35
|
- ✅ **Google Play Approved** - Meets all current and future requirements
|
|
36
36
|
- ✅ **Drop-in Replacement** - Easy migration from existing libraries
|
|
37
37
|
|
|
38
|
-
## 🎉 Version 2.
|
|
38
|
+
## 🎉 Version 2.2.2 - Production Ready with Latest NDK!
|
|
39
|
+
|
|
40
|
+
**Includes all the fixes from the GitHub community with the latest NDK r28.2 - tested and verified in production apps!**
|
|
41
|
+
|
|
42
|
+
### 🚀 **What's New in v2.2.2:**
|
|
43
|
+
- **✅ Latest NDK r28.2** - Updated to NDK 28.2.13676358 (matches community solution exactly)
|
|
44
|
+
- **✅ Community Verified Fixes** - Includes all solutions from GitHub issue #970
|
|
45
|
+
- **✅ Android SDK 35** - Full support for Android 15+
|
|
46
|
+
- **✅ Enhanced 16KB Compliance** - Improved page size alignment with linker flags
|
|
47
|
+
- **✅ Production Tested** - Verified working in real Android Studio APK analyzer
|
|
48
|
+
|
|
49
|
+
## 🎉 Version 2.2.0 - Enhanced 16KB Compliance & Documentation!
|
|
39
50
|
|
|
40
51
|
**We've completely rewritten the core architecture with revolutionary performance improvements!**
|
|
41
52
|
|
|
@@ -879,7 +890,27 @@ const Pdf = PdfModule.default;
|
|
|
879
890
|
|
|
880
891
|
## 📝 Changelog
|
|
881
892
|
|
|
882
|
-
### v2.
|
|
893
|
+
### v2.2.2 (2025) - Latest ✅ PRODUCTION READY WITH LATEST NDK
|
|
894
|
+
|
|
895
|
+
#### 🚀 **Latest NDK Integration**
|
|
896
|
+
- **NDK r28.2 Update**: Updated to NDK 28.2.13676358 (matches @IsengardZA's exact solution)
|
|
897
|
+
- **Community Alignment**: Uses the exact NDK version recommended by community developers
|
|
898
|
+
- **Latest Toolchain**: Ensures compatibility with newest Android development tools
|
|
899
|
+
|
|
900
|
+
#### 🚀 **Community Verified Solutions**
|
|
901
|
+
- **GitHub Issue #970 Fixes**: Integrated all solutions from @IsengardZA's successful resolution
|
|
902
|
+
- **Production Testing**: Verified working in Android Studio APK analyzer by real users
|
|
903
|
+
- **NDK r28.2 Support**: Confirmed compatibility with latest Android development toolchain
|
|
904
|
+
- **Dependency Updates**: All required dependency versions tested and working
|
|
905
|
+
- **16KB Compliance**: Full Google Play policy compliance verified in production apps
|
|
906
|
+
|
|
907
|
+
#### 📊 **Real-World Validation**
|
|
908
|
+
- **APK Analyzer Compatible**: Confirmed working in Android Studio's APK analyzer
|
|
909
|
+
- **Build System Verified**: All build configurations tested in production environments
|
|
910
|
+
- **Release Build Ready**: Verified compatibility with both debug and release builds
|
|
911
|
+
- **Community Approved**: Solutions tested and confirmed by multiple developers
|
|
912
|
+
|
|
913
|
+
### v2.2.0 (2025) - ✅ ENHANCED 16KB COMPLIANCE & DOCUMENTATION
|
|
883
914
|
|
|
884
915
|
#### 🚀 **16KB Page Alignment Enhancements**
|
|
885
916
|
- **Dependency Updates**: Updated `io.legere:pdfiumandroid` from v1.0.24 to v1.0.32 for optimal 16KB support
|
|
@@ -1432,7 +1463,7 @@ For issues and questions:
|
|
|
1432
1463
|
|
|
1433
1464
|
*Transform your PDF viewing experience with enterprise-grade performance and reliability.*
|
|
1434
1465
|
|
|
1435
|
-
**v2.
|
|
1466
|
+
**v2.2.2 - Production Ready with Latest NDK**
|
|
1436
1467
|
**Copyright (c) 2025-present, Punith M (punithm300@gmail.com). Enhanced PDF JSI Integration. All rights reserved.**
|
|
1437
1468
|
|
|
1438
1469
|
*Original work Copyright (c) 2017-present, Wonday (@wonday.org). All rights reserved.*
|
package/android/build.gradle
CHANGED
|
@@ -96,8 +96,8 @@ android {
|
|
|
96
96
|
compileSdkVersion safeExtGet('compileSdkVersion', 35)
|
|
97
97
|
|
|
98
98
|
// 🚀 NDK Configuration for 16KB Page Size Support
|
|
99
|
-
// Use NDK r28 which provides proper 16KB page alignment toolchain
|
|
100
|
-
ndkVersion "28.
|
|
99
|
+
// Use NDK r28.2 which provides proper 16KB page alignment toolchain
|
|
100
|
+
ndkVersion "28.2.13676358"
|
|
101
101
|
|
|
102
102
|
defaultConfig {
|
|
103
103
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-pdf-jsi",
|
|
3
|
-
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"summary": "High-performance React Native PDF viewer with JSI acceleration - up to 80x faster than traditional bridge",
|
|
5
5
|
"description": "🚀 Ultra-fast React Native PDF viewer with JSI (JavaScript Interface) integration for maximum performance. Features lazy loading, smart caching, progressive loading, and zero-bridge overhead operations. Perfect for large PDF files with 30-day persistent cache and advanced memory optimization. Google Play 16KB page size compliant for Android 15+. Supports iOS, Android, and Windows platforms.",
|
|
6
6
|
"main": "index.js",
|