Skip to content

Commit b3b7095

Browse files
committed
v2.4.6
1 parent db9becd commit b3b7095

File tree

58 files changed

+2118
-965
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2118
-965
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,32 @@
1+
## 2.4.6
2+
1. Added the features support for ComPDFKit PDF SDK for iOS V2.4.6.
3+
2. Added the features support for ComPDFKit PDF SDK for Android V2.4.6.
4+
3. Added compatibility for Android 15 and Android 16.
5+
4. Optimized page layout and zoom logic for an improved reading experience.
6+
5. Added pinch-to-zoom and page dragging while drawing annotations.
7+
6. Added support for filling out forms in annotation mode on Android.
8+
7. Introduced a new API for text search.
9+
8. Optimized the bottom toolbar UI in signature mode on iOS.
10+
9. Added JSON configuration to enable/disable error prompts and adjusted the display logic for scan document prompts on iOS.
11+
10. Added JSON configuration to enable/disable Ink drawing drag and mode-switch buttons.
12+
11. Fixed a crash caused by entering Emoji characters on Android.
13+
12. Resolved crashes when verifying digital signatures in certain documents on Android.
14+
13. Fixed an issue where adding digital signatures failed in some documents on Android.
15+
14. Fixed an issue where pages always aligned to the left after setting horizontal margins on Android.
16+
15. Fixed page jumping issues in vertical scrolling mode when horizontal margins were set on Android.
17+
16. Fixed an issue where FreeText annotations did not fully display after being saved on Android.
18+
17. Resolved a crash caused by `InitOutFont` during SDK initialization on Android.
19+
18. Fixed an issue where `save()` did not save ongoing Ink and Pencil annotations on iOS.
20+
19. Fixed an issue where the top text was not vertically centered on iOS.
21+
20. Fixed flickering when opening a document multiple times on iOS.
22+
21. Fixed lagging when scrolling in content editing mode on iOS.
23+
124
## 2.4.5+2
225
1. Added support for filling out forms in annotation mode on Android.
326
2. Fixed an issue where the toolbar would reappear after setting mainToolbarVisible=false on Android.
427
3. Fixed an issue where FreeText annotations were not fully displayed after text input was completed.
528

29+
630
## 2.4.5+1
731
1. Fixed the issue that calling the save() function did not save the text field form being edited.
832

CONFIGURATION.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ Configure functions for the top toolbar in the PDF view.
140140
| availableMenus | Array | A list of more functions popped up by the `menu` option on the top toolbar. |
141141
| mainToolbarVisible | boolean | Whether to display the toolbar at the top of the main interface view. |
142142
| annotationToolbarVisible | boolean | Shows or hides the annotation toolbar that appears at the bottom of the view when in annotation mode. |
143+
| showInkToggleButton | boolean | Whether to display the toggle/slide and drawing state buttons in the upper-left corner when drawing ink annotations. |
143144

144145
##### **Constants**
145146

@@ -791,6 +792,8 @@ This section is used to configure the types of forms enabled in the view's botto
791792
| fileSaveExtraFontSubset | boolean | true | When saving a document, whether to save the used font set together with the document. |
792793
| watermark | CPDFWatermarkConfig | { "saveAsNewFile" : true } | The user can configure the watermark addition popup, allowing them to choose whether to save the watermark directly to the current document or save it to a different directory.<br>**true**: Save to a different directory<br>**false**: Add to the current document directly |
793794
| thumbnail | CPDFThumbnail | { "title" : "", <br />"backgroundColor": "", <br /> "editMode" : true <br />} | |
795+
| enableErrorTips | boolean | true \| false | Whether to enable error prompts. For example, if a page cannot add a highlight annotation, setting this to false will prevent the prompt message from appearing. |
796+
| signatureType | String | manual | Used to configure the default signing method when signing in the form field of CPDFReaderView.<br />Type:<br />* manual<br />* digital<br />* electronic |
794797

795798
##### themeMode Constants
796799

@@ -1053,6 +1056,7 @@ The context menu configuration in form mode displays different context menu opti
10531056
"toolbarConfig": {
10541057
"mainToolbarVisible" : true,
10551058
"annotationToolbarVisible" : true,
1059+
"showInkToggleButton": true,
10561060
"androidAvailableActions": [
10571061
"thumbnail",
10581062
"search",
@@ -1312,7 +1316,13 @@ The context menu configuration in form mode displays different context menu opti
13121316
"outsideBackgroundColor" : ""
13131317
},
13141318
"signatureType": "manual",
1315-
"enableExitSaveTips" : true
1319+
"enableExitSaveTips" : true,
1320+
"thumbnail": {
1321+
"title" : "",
1322+
"backgroundColor": "",
1323+
"editMode" : true
1324+
},
1325+
"enableErrorTips" : true
13161326
},
13171327
"contextMenuConfig" : {
13181328
"global": {

0 commit comments

Comments
 (0)