Skip to content

Commit f7c70a5

Browse files
committed
v2.4.7
1 parent b3b7095 commit f7c70a5

File tree

14 files changed

+73
-62
lines changed

14 files changed

+73
-62
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 2.4.7
2+
1. Added the features support for ComPDFKit PDF SDK for iOS V2.4.7.
3+
2. Added the features support for ComPDFKit PDF SDK for Android V2.4.7.
4+
3. Automatically hide the quick scroll bar when the document contains only one page
5+
4. Fixed an OOM crash issue caused by importing fonts on the Android platform
6+
5. Fixed a display issue with circle annotations when opacity was set to 0 on the Android platform
7+
6. Fixed a potential crash when modifying properties of circle and line annotations on the Android platform
8+
7. Fixed an issue where some documents failed to correctly trigger callbacks for the first or last page
9+
10+
111
## 2.4.6
212
1. Added the features support for ComPDFKit PDF SDK for iOS V2.4.6.
313
2. Added the features support for ComPDFKit PDF SDK for Android V2.4.6.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Alternatively you can update the `AndroidManifest.xml` file to use `FlutterFragm
151151
dependencies:
152152
flutter:
153153
sdk: flutter
154-
+ compdfkit_flutter: ^2.4.6
154+
+ compdfkit_flutter: ^2.4.7
155155
```
156156

157157
8. Add the PDF documents you want to display in the project
@@ -197,7 +197,7 @@ cd example
197197
dependencies:
198198
flutter:
199199
sdk: flutter
200-
+ compdfkit_flutter: ^2.4.6
200+
+ compdfkit_flutter: ^2.4.7
201201
```
202202

203203
4. Open your project's Podfile in a text editor:
@@ -220,8 +220,8 @@ open ios/Podfile
220220
use_modular_headers!`
221221

222222
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
223-
+ pod "ComPDFKit", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.6/ComPDFKit.podspec'
224-
+ pod "ComPDFKit_Tools", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.6/ComPDFKit_Tools.podspec'
223+
+ pod "ComPDFKit", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.7/ComPDFKit.podspec'
224+
+ pod "ComPDFKit_Tools", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.7/ComPDFKit_Tools.podspec'
225225
end
226226
```
227227

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ rootProject.allprojects {
1919
repositories {
2020
google()
2121
mavenCentral()
22+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
2223
}
2324
}
2425

@@ -40,8 +41,7 @@ android {
4041
compileOnly fileTree(include: ['*.jar','*.aar'], dir: 'libs')
4142

4243
// dependencies compdfkit pdf sdk
43-
api 'com.compdf:compdfkit-tools:2.4.6'
44-
44+
api 'com.compdf:compdfkit-tools:2.4.7'
4545
testImplementation 'junit:junit:4.13.2'
4646
testImplementation 'org.mockito:mockito-core:5.0.0'
4747
api 'com.github.bumptech.glide:glide:4.15.1'

example/android/config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ ext {
33
COMPILESDK: 35,
44
MINSDK: 21,
55
TARGETSDK: 35,
6-
VERSIONCODE: 21
6+
VERSIONCODE: 22
77
]
88
}

example/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ flutter_ios_podfile_setup
3030
target 'Runner' do
3131
use_frameworks!
3232
use_modular_headers!
33-
pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.6'
34-
pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.6'
33+
pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.7'
34+
pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.7'
3535

3636
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
3737
target 'RunnerTests' do

example/ios/Podfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PODS:
2-
- ComPDFKit (2.4.6)
3-
- compdfkit_flutter (2.4.6):
2+
- ComPDFKit (2.4.7)
3+
- compdfkit_flutter (2.4.7):
44
- ComPDFKit
55
- ComPDFKit_Tools
66
- Flutter
7-
- ComPDFKit_Tools (2.4.6)
7+
- ComPDFKit_Tools (2.4.7)
88
- DKImagePickerController/Core (4.3.9):
99
- DKImagePickerController/ImageDataManager
1010
- DKImagePickerController/Resource
@@ -50,9 +50,9 @@ PODS:
5050
- Flutter
5151

5252
DEPENDENCIES:
53-
- ComPDFKit (from `https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git`, tag `2.4.6`)
53+
- ComPDFKit (from `https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git`, tag `2.4.7`)
5454
- compdfkit_flutter (from `.symlinks/plugins/compdfkit_flutter/ios`)
55-
- ComPDFKit_Tools (from `https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git`, tag `2.4.6`)
55+
- ComPDFKit_Tools (from `https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git`, tag `2.4.7`)
5656
- file_picker (from `.symlinks/plugins/file_picker/ios`)
5757
- Flutter (from `Flutter`)
5858
- integration_test (from `.symlinks/plugins/integration_test/ios`)
@@ -68,12 +68,12 @@ SPEC REPOS:
6868
EXTERNAL SOURCES:
6969
ComPDFKit:
7070
:git: https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git
71-
:tag: 2.4.6
71+
:tag: 2.4.7
7272
compdfkit_flutter:
7373
:path: ".symlinks/plugins/compdfkit_flutter/ios"
7474
ComPDFKit_Tools:
7575
:git: https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git
76-
:tag: 2.4.6
76+
:tag: 2.4.7
7777
file_picker:
7878
:path: ".symlinks/plugins/file_picker/ios"
7979
Flutter:
@@ -86,15 +86,15 @@ EXTERNAL SOURCES:
8686
CHECKOUT OPTIONS:
8787
ComPDFKit:
8888
:git: https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git
89-
:tag: 2.4.6
89+
:tag: 2.4.7
9090
ComPDFKit_Tools:
9191
:git: https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git
92-
:tag: 2.4.6
92+
:tag: 2.4.7
9393

9494
SPEC CHECKSUMS:
95-
ComPDFKit: 8ee0f7e26d5a97667122e4aae50aac4298261d2e
96-
compdfkit_flutter: 95035631f15bacf85bb0e00dc4c45e6b78625858
97-
ComPDFKit_Tools: 4a342a1c2638f7a23762600f91a0d379c31d2e2f
95+
ComPDFKit: 9784de4813e55de1640173809de45d1402e86785
96+
compdfkit_flutter: 099d1d68d7254ec155acf91a5da55894844f18a4
97+
ComPDFKit_Tools: f8ab5a723d16bb3d67d62255622bf04fb2f0a058
9898
DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c
9999
DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60
100100
file_picker: b159e0c068aef54932bb15dc9fd1571818edaf49
@@ -104,6 +104,6 @@ SPEC CHECKSUMS:
104104
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
105105
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
106106

107-
PODFILE CHECKSUM: 3719dfebadfc72627a010f88133ff9cb7620dc24
107+
PODFILE CHECKSUM: e2f51f9e73b70a9d52e02e4b0cc84aeed93e64ab
108108

109109
COCOAPODS: 1.16.2

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -361,14 +361,10 @@
361361
inputFileListPaths = (
362362
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
363363
);
364-
inputPaths = (
365-
);
366364
name = "[CP] Embed Pods Frameworks";
367365
outputFileListPaths = (
368366
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
369367
);
370-
outputPaths = (
371-
);
372368
runOnlyForDeploymentPostprocessing = 0;
373369
shellPath = /bin/sh;
374370
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
@@ -496,7 +492,7 @@
496492
CLANG_ENABLE_MODULES = YES;
497493
CODE_SIGN_IDENTITY = "Apple Development";
498494
CODE_SIGN_STYLE = Automatic;
499-
CURRENT_PROJECT_VERSION = 2.4.6;
495+
CURRENT_PROJECT_VERSION = 2.4.7;
500496
DEVELOPMENT_TEAM = 4GGQPGRTSV;
501497
ENABLE_BITCODE = NO;
502498
FLUTTER_BUILD_NAME = 2.4.1;
@@ -690,7 +686,7 @@
690686
CLANG_ENABLE_MODULES = YES;
691687
CODE_SIGN_IDENTITY = "Apple Development";
692688
CODE_SIGN_STYLE = Automatic;
693-
CURRENT_PROJECT_VERSION = 2.4.6;
689+
CURRENT_PROJECT_VERSION = 2.4.7;
694690
DEVELOPMENT_TEAM = 4GGQPGRTSV;
695691
ENABLE_BITCODE = NO;
696692
FLUTTER_BUILD_NAME = 2.4.1;
@@ -719,7 +715,7 @@
719715
CLANG_ENABLE_MODULES = YES;
720716
CODE_SIGN_IDENTITY = "Apple Development";
721717
CODE_SIGN_STYLE = Automatic;
722-
CURRENT_PROJECT_VERSION = 2.4.6;
718+
CURRENT_PROJECT_VERSION = 2.4.7;
723719
DEVELOPMENT_TEAM = 4GGQPGRTSV;
724720
ENABLE_BITCODE = NO;
725721
FLUTTER_BUILD_NAME = 2.4.1;

example/ios/Runner/en.lproj/Localizable.strings

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
/*
2-
Localizable.strings
3-
PDFViewer-Swift
4-
/*
5-
Localizable.strings
6-
PDFViewer
1+
// Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
2+
//
3+
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
4+
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
5+
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
6+
// This notice may not be removed from this file.
7+
//
78

8-
// Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
9-
//
10-
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
11-
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
12-
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
13-
// This notice may not be removed from this file.
14-
//
15-
16-
*/
9+
"Do you really want to reset the form?" = "Do you really want to reset the form?";
10+
"Start to Sign" = "Start to Sign";
11+
"Rotate Left" = "Rotate Left";
12+
"Rotate Right" = "Rotate Right";
13+
14+
"The current document has been changed, do you want to keep the changes after exiting?" = "The current document has been changed, do you want to keep the changes after exiting?";
15+
"Yes" = "Yes";
16+
"No" = "No";
17+
"Keep editing" = "Keep editing";
1718

1819
"Close" = "Close";
1920
"Settings" = "Settings";
@@ -153,7 +154,7 @@
153154
"Pages:" = "Pages:";
154155
"Creator" = "Creator";
155156
"Creation Date:" = "Creation Date:";
156-
"Modification Date:" = "Modification Dat:e";
157+
"Modification Date:" = "Modification Date:";
157158
"Access Permissions:" = "Access Permissions:";
158159
"Printing:" = "Printing:";
159160
"Content Copying:" = "Content Copying:";

example/ios/Runner/zh-Hans.lproj/Localizable.strings

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
/*
2-
Localizable.strings
3-
PDFViewer
1+
// Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
2+
//
3+
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
4+
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
5+
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
6+
// This notice may not be removed from this file.
7+
//
48

5-
// Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
6-
//
7-
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
8-
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
9-
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
10-
// This notice may not be removed from this file.
11-
//
12-
13-
*/
9+
"Do you really want to reset the form?" = "您确定要重置Form表单吗?";
10+
"Start to Sign" = "开始签名";
11+
"Rotate Left" = "左旋转";
12+
"Rotate Right" = "右旋转";
13+
14+
"The current document has been changed, do you want to keep the changes after exiting?" = "当前文档已被修改,退出后是否保留更改?";
15+
"Yes" = "是";
16+
"No" = "否";
17+
"Keep editing" = "继续编辑";
1418

1519
"Close" = "关闭";
1620
"Settings" = "设置";

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ packages:
5555
path: ".."
5656
relative: true
5757
source: path
58-
version: "2.4.6"
58+
version: "2.4.7"
5959
cross_file:
6060
dependency: transitive
6161
description:

0 commit comments

Comments
 (0)