react-native-pdf-jsi 2.2.3 → 2.2.5

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
@@ -35,6 +35,27 @@ Starting November 1, 2025, Google Play will require apps to support 16KB page si
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.2.5 - iOS Pod Install Fix!
39
+
40
+ **Resolves iOS pod installation issues with correct podspec configuration!**
41
+
42
+ ### 🚀 **What's New in v2.2.5:**
43
+ - **🐛 iOS Pod Install Fix** - Resolved pod installation errors on iOS
44
+ - **✅ Podspec Update** - Fixed react-native-pdf-jsi.podspec configuration
45
+ - **✅ iOS Compatibility** - Improved iOS installation and build process
46
+ - **✅ CocoaPods Support** - Enhanced CocoaPods integration
47
+
48
+ ## 🎉 Version 2.2.4 - Critical 16KB Bug Fix!
49
+
50
+ **Resolves 16KB page size compatibility issues for Google Play compliance!**
51
+
52
+ ### 🚀 **What's New in v2.2.4:**
53
+ - **🐛 16KB Page Size Fix** - Resolved critical 16KB page size compatibility issues
54
+ - **✅ NDK r28.2 Update** - Updated to NDK 28.2.13676358 with proper 16KB page alignment
55
+ - **✅ CMake Configuration** - Added ANDROID_PAGE_SIZE_AGNOSTIC=ON flag for compliance
56
+ - **✅ Dependency Updates** - Updated pdfiumandroid to v1.0.32 and gson to v2.11.0
57
+ - **✅ Android 15+ Ready** - Full Google Play compliance for Android 15+ requirements
58
+
38
59
  ## 🎉 Version 2.2.3 - Bug Fix Release!
39
60
 
40
61
  **Critical bug fix for React Native 0.81 JSI initialization on Android!**
@@ -900,7 +921,41 @@ const Pdf = PdfModule.default;
900
921
 
901
922
  ## 📝 Changelog
902
923
 
903
- ### v2.2.3 (2025) - Latest ✅ BUG FIX RELEASE
924
+ ### v2.2.5 (2025) - Latest ✅ IOS POD INSTALL FIX
925
+
926
+ #### 🐛 **iOS Pod Installation Fix**
927
+ - **Pod Install Error Fix**: Resolved pod installation errors on iOS
928
+ - **Podspec Configuration**: Fixed react-native-pdf-jsi.podspec file configuration
929
+ - **CocoaPods Integration**: Enhanced CocoaPods integration and compatibility
930
+ - **iOS Build Process**: Improved iOS installation and build process
931
+
932
+ #### 📊 **iOS Compatibility**
933
+ - **Installation Fixed**: Pod install now works correctly on iOS
934
+ - **Build Success**: iOS builds complete successfully without errors
935
+ - **CocoaPods Support**: Full CocoaPods support for iOS projects
936
+ - **React Native Compatibility**: Improved compatibility with React Native iOS projects
937
+
938
+ ### v2.2.4 (2025) - ✅ CRITICAL 16KB BUG FIX
939
+
940
+ #### 🐛 **16KB Page Size Compatibility Fix**
941
+ - **Critical Bug Fix**: Resolved 16KB page size compatibility issues for Google Play compliance
942
+ - **NDK r28.2 Update**: Updated to NDK 28.2.13676358 with proper 16KB page alignment toolchain
943
+ - **CMake Configuration**: Added ANDROID_PAGE_SIZE_AGNOSTIC=ON flag for full compliance
944
+ - **Linker Flags**: Added 16KB page size alignment flags (-Wl,-z,max-page-size=16384)
945
+ - **Dependency Updates**: Updated pdfiumandroid to v1.0.32 and gson to v2.11.0
946
+
947
+ #### 📊 **Google Play Compliance**
948
+ - **Full Compliance**: Meets all Google Play 16KB page size requirements
949
+ - **Android 15+ Ready**: Built with SDK 35 for Android 15+ compatibility
950
+ - **Policy Aligned**: Ensures app updates won't be blocked after November 1, 2025
951
+ - **Production Tested**: Verified working in Android Studio APK analyzer
952
+
953
+ #### 🚀 **Technical Improvements**
954
+ - **Build Configuration**: Updated compileSdkVersion and targetSdkVersion to 35
955
+ - **Native Library Support**: Enhanced native library compatibility with 16KB pages
956
+ - **Memory Alignment**: Proper memory page alignment for optimal performance
957
+
958
+ ### v2.2.3 (2025) - ✅ BUG FIX RELEASE
904
959
 
905
960
  #### 🐛 **Critical Bug Fixes**
906
961
  - **JSI Initialization Fix**: Resolved crash when calling `initializeJSI()` on React Native 0.81 Android
@@ -1486,7 +1541,7 @@ For issues and questions:
1486
1541
 
1487
1542
  *Transform your PDF viewing experience with enterprise-grade performance and reliability.*
1488
1543
 
1489
- **v2.2.3 - Bug Fix Release**
1544
+ **v2.2.5 - iOS Pod Install Fix**
1490
1545
  **Copyright (c) 2025-present, Punith M (punithm300@gmail.com). Enhanced PDF JSI Integration. All rights reserved.**
1491
1546
 
1492
1547
  *Original work Copyright (c) 2017-present, Wonday (@wonday.org). All rights reserved.*
@@ -191,10 +191,13 @@ dependencies {
191
191
  }
192
192
  // NOTE: The original repo at com.github.barteksc is abandoned by the maintainer; there will be no more updates coming from that repo.
193
193
  // The repo from zacharee is based on PdfiumAndroidKt, a much newer fork of PdfiumAndroid, with better maintenance and updated native libraries.
194
- implementation 'com.github.zacharee:AndroidPdfViewer:4.0.1'
194
+ // Keep viewer at a Java 17-compatible version; exclude bundled PdfiumAndroid
195
+ implementation('com.github.zacharee:AndroidPdfViewer:4.0.1') {
196
+ exclude group: 'com.github.barteksc', module: 'PdfiumAndroid'
197
+ }
195
198
  // Depend on PdfiumAndroidKt directly so this can be updated independently of AndroidPdfViewer as updates are provided.
196
- implementation 'io.legere:pdfiumandroid:1.0.24'
197
- implementation 'com.google.code.gson:gson:2.8.5'
199
+ implementation 'io.legere:pdfiumandroid:1.0.32'
200
+ implementation 'com.google.code.gson:gson:2.11.0'
198
201
 
199
202
  // 🚀 Android dependencies for JSI
200
203
  implementation 'androidx.annotation:annotation:1.7.0'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-pdf-jsi",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
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",
@@ -1,31 +0,0 @@
1
- require 'json'
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
-
5
- fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
6
-
7
- Pod::Spec.new do |s|
8
- s.name = package['name']
9
- s.version = package['version']
10
- s.summary = package['summary']
11
- s.description = package['description']
12
- s.author = package['author']['name']
13
- s.author_email = package['author']['email']
14
- s.license = package['license']
15
- s.homepage = package['homepage']
16
- s.source = { :git => 'https://github.com/126punith/react-native-pdf-enhanced.git', :tag => "v#{s.version}" }
17
- s.requires_arc = true
18
- s.framework = "PDFKit"
19
-
20
- if fabric_enabled
21
- s.platforms = { ios: '11.0', tvos: '11.0' }
22
- s.source_files = 'ios/**/*.{h,m,mm,cpp}'
23
- s.requires_arc = true
24
- install_modules_dependencies(s)
25
-
26
- else
27
- s.platform = :ios, '8.0'
28
- s.source_files = 'ios/**/*.{h,m,mm}'
29
- s.dependency 'React-Core'
30
- end
31
- end