Skip to content

Commit 505e361

Browse files
committed
v2.4.7
1 parent 186222e commit 505e361

File tree

13 files changed

+67
-48
lines changed

13 files changed

+67
-48
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,3 @@ android/keystores/debug.keystore
7979
lib/
8080
.github/
8181
/example/ios/Podfile.lock
82-
/example/ios/.xcode.env.local
83-
/example/ios/.xcode.env

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
## Newest Release
22

3+
### 2.4.7 - 12 Sep. 2025
4+
New Features
5+
1. Added the features support for ComPDFKit PDF SDK for iOS V2.4.7.
6+
2. Added the features support for ComPDFKit PDF SDK for Android V2.4.7.
7+
3. Automatically hide the quick scroll bar when the document contains only one page.
8+
4. Fixed an OOM crash issue caused by importing fonts on the Android platform.
9+
5. Fixed a display issue with circle annotations when opacity was set to 0 on the Android platform.
10+
6. Fixed a potential crash when modifying properties of circle and line annotations on the Android platform.
11+
7. Fixed an issue where some documents failed to correctly trigger callbacks for the first or last page.
12+
13+
14+
15+
## Previous Release
16+
317
### 2.4.6 - 29 Aug. 2025
418

519
1. Updated iOS ComPDFKit PDF SDK to version 2.4.6.
@@ -27,8 +41,6 @@
2741
23. Fixed flickering when opening a document multiple times on iOS.
2842
24. Fixed lagging when scrolling in content editing mode on iOS.
2943

30-
## Previous Release
31-
3244
### 2.4.4 - 27 Jun. 2025
3345

3446
1. Fixed the “Super expression must either be null or a function” error caused by incorrect class inheritance when using the Hermes engine.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ open ios/Podfile
152152
```diff
153153
target 'MyApp' do
154154
# ...
155-
+ pod "ComPDFKit", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.6/ComPDFKit.podspec'
156-
+ pod "ComPDFKit_Tools", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.6/ComPDFKit_Tools.podspec'
155+
+ pod "ComPDFKit", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.7/ComPDFKit.podspec'
156+
+ pod "ComPDFKit_Tools", podspec:'https://file.compdf.com/cocoapods/ios/compdfkit_pdf_sdk/2.4.7/ComPDFKit_Tools.podspec'
157157
# ...
158158
end
159159
```
@@ -163,8 +163,8 @@ end
163163
```diff
164164
target 'MyApp' do
165165
# ...
166-
+ pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.6'
167-
+ pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.6'
166+
+ pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.7'
167+
+ pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.7'
168168
# ...
169169
end
170170
```
@@ -212,7 +212,7 @@ If you haven't get a license key, please check out [how to obtain a license key]
212212

213213
ComPDFKit PDF SDK currently supports two authentication methods to verify license keys: online authentication and offline authentication.
214214

215-
*Learn about:*
215+
*Learn about:*
216216

217217
*[What is the authentication mechanism of ComPDFKit's license?](https://www.compdf.com/faq/authentication-mechanism-of-compdfkit-license)*
218218

android/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ buildscript {
22
repositories {
33
google()
44
mavenCentral()
5-
maven {
6-
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
7-
}
85
}
96

107
dependencies {
@@ -77,15 +74,14 @@ android {
7774
repositories {
7875
mavenCentral()
7976
google()
80-
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
8177
}
8278

8379

8480
dependencies {
8581
compileOnly fileTree(include: ['*.jar','*.aar'], dir: 'libs')
8682
implementation "com.facebook.react:react-native:+"
8783

88-
api "com.compdf:compdfkit-tools:2.4.6"
84+
api "com.compdf:compdfkit-tools:2.4.7"
8985
api 'com.github.bumptech.glide:glide:4.15.1'
9086
annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
9187
api 'androidx.documentfile:documentfile:1.0.1'

example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ android {
129129
repositories {
130130
mavenCentral()
131131
google()
132-
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
133132
}
134133

135134
dependencies {

example/android/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ buildscript {
1212
repositories {
1313
google()
1414
mavenCentral()
15-
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
1615
}
1716
dependencies {
1817
classpath("com.android.tools.build:gradle")

example/ios/CompdfkitPdfExample.xcodeproj/project.pbxproj

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,14 @@
304304
inputFileListPaths = (
305305
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample/Pods-CompdfkitPdfExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
306306
);
307+
inputPaths = (
308+
);
307309
name = "[CP] Embed Pods Frameworks";
308310
outputFileListPaths = (
309311
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample/Pods-CompdfkitPdfExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
310312
);
313+
outputPaths = (
314+
);
311315
runOnlyForDeploymentPostprocessing = 0;
312316
shellPath = /bin/sh;
313317
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample/Pods-CompdfkitPdfExample-frameworks.sh\"\n";
@@ -365,10 +369,14 @@
365369
inputFileListPaths = (
366370
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
367371
);
372+
inputPaths = (
373+
);
368374
name = "[CP] Embed Pods Frameworks";
369375
outputFileListPaths = (
370376
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
371377
);
378+
outputPaths = (
379+
);
372380
runOnlyForDeploymentPostprocessing = 0;
373381
shellPath = /bin/sh;
374382
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests-frameworks.sh\"\n";
@@ -382,10 +390,14 @@
382390
inputFileListPaths = (
383391
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample/Pods-CompdfkitPdfExample-resources-${CONFIGURATION}-input-files.xcfilelist",
384392
);
393+
inputPaths = (
394+
);
385395
name = "[CP] Copy Pods Resources";
386396
outputFileListPaths = (
387397
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample/Pods-CompdfkitPdfExample-resources-${CONFIGURATION}-output-files.xcfilelist",
388398
);
399+
outputPaths = (
400+
);
389401
runOnlyForDeploymentPostprocessing = 0;
390402
shellPath = /bin/sh;
391403
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample/Pods-CompdfkitPdfExample-resources.sh\"\n";
@@ -399,10 +411,14 @@
399411
inputFileListPaths = (
400412
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist",
401413
);
414+
inputPaths = (
415+
);
402416
name = "[CP] Copy Pods Resources";
403417
outputFileListPaths = (
404418
"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
405419
);
420+
outputPaths = (
421+
);
406422
runOnlyForDeploymentPostprocessing = 0;
407423
shellPath = /bin/sh;
408424
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests/Pods-CompdfkitPdfExample-CompdfkitPdfExampleTests-resources.sh\"\n";
@@ -519,7 +535,7 @@
519535
"$(inherited)",
520536
"@executable_path/Frameworks",
521537
);
522-
MARKETING_VERSION = 2.4.6;
538+
MARKETING_VERSION = 2.4.7;
523539
ONLY_ACTIVE_ARCH = YES;
524540
OTHER_LDFLAGS = (
525541
"$(inherited)",
@@ -556,7 +572,7 @@
556572
"$(inherited)",
557573
"@executable_path/Frameworks",
558574
);
559-
MARKETING_VERSION = 2.4.6;
575+
MARKETING_VERSION = 2.4.7;
560576
ONLY_ACTIVE_ARCH = YES;
561577
OTHER_LDFLAGS = (
562578
"$(inherited)",
@@ -649,10 +665,7 @@
649665
"-DFOLLY_CFG_NO_COROUTINES=1",
650666
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
651667
);
652-
OTHER_LDFLAGS = (
653-
"$(inherited)",
654-
" ",
655-
);
668+
OTHER_LDFLAGS = "$(inherited) ";
656669
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
657670
SDKROOT = iphoneos;
658671
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -726,10 +739,7 @@
726739
"-DFOLLY_CFG_NO_COROUTINES=1",
727740
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
728741
);
729-
OTHER_LDFLAGS = (
730-
"$(inherited)",
731-
" ",
732-
);
742+
OTHER_LDFLAGS = "$(inherited) ";
733743
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
734744
SDKROOT = iphoneos;
735745
USE_HERMES = true;

example/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ end
1616

1717
target 'CompdfkitPdfExample' do
1818
config = use_native_modules!
19-
pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.6'
20-
pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.6'
19+
pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.7'
20+
pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.4.7'
2121

2222
use_react_native!(
2323
:path => config[:reactNativePath],

example/ios/en.lproj/Localizable.strings

Lines changed: 11 additions & 10 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
7-
81
// Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
92
//
103
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
114
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
125
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
136
// This notice may not be removed from this file.
147
//
15-
16-
*/
8+
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/zh-Hans.lproj/Localizable.strings

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
/*
2-
Localizable.strings
3-
PDFViewer
4-
51
// Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved.
62
//
73
// THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
84
// AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
95
// UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
106
// This notice may not be removed from this file.
117
//
12-
13-
*/
8+
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" = "设置";

0 commit comments

Comments
 (0)