Bläddra i källkod

compdfkit(rn) - 更新changelog

liuxiaolong 1 månad sedan
förälder
incheckning
6e632621c1
2 ändrade filer med 24 tillägg och 5 borttagningar
  1. 23 4
      CHANGELOG.md
  2. 1 1
      src/view/CPDFReaderView.tsx

+ 23 - 4
CHANGELOG.md

@@ -1,5 +1,28 @@
 ## Newest Release
 
+### 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`.
+
+## Previous Release
+
 ### 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).
@@ -9,10 +32,6 @@
 * Added save document callback.
 * Optimized document saving logic on iOS platform.
 
-
-
-## Previous Release
-
 ### 2.1.3-2 - 26 Sep 2024
 
 * Added the features support for ComPDFKit PDF SDK for Android V2.1.3.

+ 1 - 1
src/view/CPDFReaderView.tsx

@@ -12,7 +12,7 @@ import PropTypes, { Requireable, Validator } from 'prop-types';
 import { findNodeHandle, requireNativeComponent, NativeModules,Platform } from 'react-native';
 import { ViewPropTypes } from 'deprecated-react-native-prop-types';
 import { CPDFThemes, CPDFViewMode } from '../configuration/CPDFOptions';
-import CPDFDocument from './CPDFDocument';
+import { CPDFDocument } from '..';
 const { CPDFViewManager } = NativeModules;
 
 /**