UNPKG

@compdfkit_pdf_sdk/react_native

Version:

ComPDFKit for React Native is a comprehensive SDK that allows you to quickly add PDF functionality to Android, iOS, and React Native applications.

140 lines (112 loc) 7.23 kB
## Newest Release ### 2.3.0 - 21 Mar. 2025 1. Added the features support for ComPDFKit PDF SDK for iOS iOS V2.3.0. 2. Added the features support for ComPDFKit PDF SDK for Android Android V2.3.0. 3. Added import/export form data API, supporting XFDF format files. 4. Added the ability to create text input fields and insert images by clicking on a page area in content editing mode. 5. Added navigation system print API. 6. Added import PDF document API. 7. Added split PDF document API. 8. Added fill form content API. 9. Added `saveAs` API. 10. Added API to retrieve all annotations and form data on a page. 11. Added document flattening API. 12. Fixed a crash issue when editing or deleting text in certain documents. 13. Fixed the border display issue after completing a free text annotation. 14. Fixed an issue where the LaBan Key input method could not delete the last character while editing text. 15. Fixed text garbling issues in content editing mode. 16. Fixed an issue where form field content was not displayed in some documents. 17. Fixed the issue that the zoomed-in page area did not follow the zooming when jumping to draw a rectangular area. 18. Fixed the issue of Chinese garbled characters in the form name. 19. Fixed the issue where the prompt did not appear for scanned PDF documents on iOS. ## Previous Release ### 2.3.0-beta.1 - 28 Feb. 2025 * Added import/export interface for form data in XFDF format files. * Added the ability to create text input boxes and insert images by clicking on the page area in content editing mode. * Added a system print API for navigation. * Fixed issue where editing or deleting text in some documents caused crashes. * Fixed issue with the border appearing after completing FreeText annotation. * Fixed issue where the LaBan Key input method deletes the last character when editing text. * Fixed the issue of text garbling in content editing mode. ### 2.2.2 - 19 Feb. 2025 * Added the features support for ComPDFKit PDF SDK for iOS iOS V2.2.2. * Added the features support for ComPDFKit PDF SDK for Android Android V2.2.2. * Added the ability to save a watermark to the current PDF when adding it. * Fixed the inaccurate judgment issue in the `hasChange()` method. * Fixed an issue where some document text fields in forms were not displaying content. * Fixed an issue on the Android platform where Ink annotations became smaller after drawing. * Fixed an issue on the Android platform where the pen size shrank when drawing Ink annotations after zooming in on a page. * Fixed an input issue with the LaBan Key input method on the Android platform. * Fixed a potential crash issue on the Android platform when enabling the rotate function. * Fixed a crash issue on the Android platform when importing XFDF annotations. ### 2.2.1 - 21 Jan. 2025 * Added the features support for ComPDFKit PDF SDK for iOS [iOS V2.2.1](https://www.compdf.com/pdf-sdk/changelog-ios#v2-2-1). * Added the features support for ComPDFKit PDF SDK for Android [Android V2.2.1](https://www.compdf.com/pdf-sdk/changelog-android#v2-2-1). * Added API for importing fonts. * Added API for security settings. * Added view-related APIs, including opening thumbnail lists, preview settings, watermark editing, and security settings. * Fixed the issue with the `CPDFReaderView` UI component on Android, which caused the Activity theme to be abnormal. * Fixed an issue where certain documents could crash when importing XFDF annotations. * Fixed an issue on iOS where the author information for Ink annotations was not displayed. * Fixed a crash in iOS 18 when editing content in the context menu. * Fixed a crash on certain Android devices when initializing the SDK. * Fixed a crash on Android related to screenshot functionality. * Optimize the screenshot function of the Android platform to improve the quality of image capture * Fixed an issue on Android with the LaBan Key input method. * Fixed an issue on Android where the modified date was not updated when saving a modified document. * Fixed a crash on Android related to the undo operation in content editing. * Fixed an issue on Android where form background color was transparent when highlighting forms was not enabled. * Fixed an issue on Android where annotation text would display incorrectly when editing text in highlighted comment areas. * Fixed an issue on Android where cloud comment borders were displayed incorrectly in graphic annotations. For detailed information about the new interfaces, please refer to `CPDFReaderView.tsx` and `CPDFDocument.tsx`. ### 2.2.0 - 13 Dec. 2024 * Added features support for ComPDFKit PDF SDK for [Android V2.2.0](https://www.compdf.com/pdf-sdk/changelog-android#v2-2-0). * Added features support for ComPDFKit PDF SDK for [iOS V2.2.0](https://www.compdf.com/pdf-sdk/changelog-ios#v2-2-0). * Added import and export annotation interfaces. * Added delete all annotations interface. * Added get page number interface and page number listener callback. * Added save document callback. * Optimized document saving logic on iOS platform. ### 2.1.3-2 - 26 Sep 2024 * Added the features support for ComPDFKit PDF SDK for Android V2.1.3. * Fixed crash issue when opening certain documents. * Fixed crash issue when adding mark annotations to some documents. * Fixed potential crash during SDK initialization. * Fixed incomplete display of underline annotations. * Fixed abnormal annotation display after rotating the page. * Fixed crash when releasing watermarks. * Fixed memory leak in the property window of the ComPDFKit_Tools module. ### 2.1.3-1 - 25 Sep 2024 * Added the features support for ComPDFKit PDF SDK for iOS V2.1.3. * iOS annotation toolbar image button adaptation for iPad. * RN iOS sandbox structure modification. ### 2.1.2 - 01 Sep 2024 * Added `CPDFReaderView` UI component. * Optimize document opening speed. ### 2.1.1 - 12 Aug 2024 * Added the features support for ComPDFKit PDF SDK for iOS V2.1.1. * Added the features support for ComPDFKit PDF SDK for Android V2.1.1. * Optimized the logic for selecting text by long press. * Fixed low text contrast issue in dark mode for some documents. * Fixed crash issues with some documents. ### 2.1.0 - 29 July 2024 * Added the features support for ComPDFKit PDF SDK for iOS V2.1.0. * Added the features support for ComPDFKit PDF SDK for Android V2.1.0. * Added annotation reply functionality. * Optimized text aggregation logic for content editing. * Added font subsetting. * Added screenshot feature. * Android platform adaptation for **Laban Key Keyboard**. * Fixed an issue with the Ink annotation color display on Android. ### 2.0.1 - 13 May 2024 * Provide dependency methods from GitHub and npm. * Added the features support for ComPDFKit PDF SDK for iOS V2.0.1. * Added the features support for ComPDFKit PDF SDK for Android V2.0.1. * Fix the issue of continuous memory growth. ### 2.0.1-beta.2 - 13 May 2024 * Adjust some document description errors. ### 2.0.1-beta.1 - 10 May 2024 * Provide dependency methods from GitHub and npm. * Added the features support for ComPDFKit PDF SDK for iOS V2.0.1. * Added the features support for ComPDFKit PDF SDK for Android V2.0.1. * Fix the issue of continuous memory growth.