Skip to content

Commit 2102734

Browse files
committed
compdfkit_flutter 2.1.2
1 parent 6a9f3f0 commit 2102734

File tree

14 files changed

+38
-132
lines changed

14 files changed

+38
-132
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.1.2
2+
3+
* Added the features support for ComPDFKit PDF SDK for iOS V2.1.2.
4+
* Added the features support for ComPDFKit PDF SDK for Android V2.1.2.
5+
* Optimize document opening speed.
6+
17
## 2.1.1
28

39
* Added the features support for ComPDFKit PDF SDK for iOS V2.1.1.
@@ -6,8 +12,8 @@
612
* Fixed low text contrast issue in dark mode for some documents.
713
* Fixed crash issues with some documents.
814

9-
1015
## 2.1.0
16+
1117
* Added the features support for ComPDFKit PDF SDK for iOS V2.1.0.
1218
* Added the features support for ComPDFKit PDF SDK for Android V2.1.0.
1319
* Added annotation reply functionality.

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Please install the following required packages:
5959

6060
Operating Environment Requirements:
6161

62-
* The iOS 11.0 or higher.
62+
* The iOS 12.0 or higher.
6363
* The Xcode 12.0 or newer for Objective-C or Swift.
6464

6565
### Integrate into a New Flutter APP
@@ -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.1.1
154+
+ compdfkit_flutter: ^2.1.2
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.1.1
200+
+ compdfkit_flutter: ^2.1.2
201201
```
202202

203203
4. Open your project's Podfile in a text editor:
@@ -208,20 +208,20 @@ open ios/Podfile
208208

209209
**Note:** If SSL network requests fail to download the `ComPDFKit` library when you run `pod install`, you can see the processing method in [Troubleshooting](#Troubleshooting)).
210210

211-
6. Update the platform to iOS 11 and add the ComPDFKit Podspec:
211+
6. Update the platform to iOS 12 and add the ComPDFKit Podspec:
212212

213213
```diff
214214

215215
- platform :ios, '9.0'
216-
+ platform :ios, '11.0'
216+
+ platform :ios, '12.0'
217217
...
218218
target 'Runner' do
219219
use_frameworks!
220220
use_modular_headers!`
221221

222222
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
223-
+ pod 'ComPDFKit_Tools', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.1.podspec'
224-
+ pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.1.podspec'
223+
+ pod 'ComPDFKit_Tools', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.2.podspec'
224+
+ pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.2.podspec'
225225

226226
end
227227
```
@@ -389,7 +389,7 @@ class _MyAppState extends State<MyApp> {
389389
ComPDFKit.initialize(androidOnlineLicense : 'your compdfkit key', iosOnlineLicense : 'your compdfkit key');
390390
391391
/// If you are using an offline certified license, please use init() method
392-
/// ComPDFKit.init('your compdfkit key')
392+
// ComPDFKit.init('your compdfkit key');
393393
}
394394
395395
@override
@@ -478,7 +478,7 @@ class _MyAppState extends State<MyApp> {
478478
iosOnlineLicense: 'your compdfkit key');
479479
480480
/// If you are using an offline certified license, please use init() method
481-
/// ComPDFKit.init('your compdfkit key')
481+
// ComPDFKit.init('your compdfkit key');
482482
}
483483
484484
@override
@@ -534,7 +534,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods'
534534
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
535535

536536
- platform :ios, '10.0'
537-
+ platform :ios, '11.0'
537+
+ platform :ios, '12.0'
538538
install! 'cocoapods', :deterministic_uuids => false
539539

540540
target 'PDFView_RN' do
@@ -557,8 +557,8 @@ target 'PDFView_RN' do
557557
# Pods for testing
558558
end
559559

560-
+ pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.1'
561-
+ pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.1'
560+
+ pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.2'
561+
+ pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.2'
562562

563563
# Enables Flipper.
564564
#

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ android {
4040
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
4141

4242
// dependencies compdfkit pdf sdk
43-
api 'com.compdf:compdfkit-tools:2.1.1'
43+
api 'com.compdf:compdfkit-tools:2.1.2'
4444

4545
testImplementation 'junit:junit:4.13.2'
4646
testImplementation 'org.mockito:mockito-core:5.0.0'

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ Please install the following required packages:
3838

3939
Operating Environment Requirements:
4040

41-
* The iOS 10.0 or higher.
41+
* The iOS 12.0 or higher.
4242
* The Xcode 12.0 or newer for Objective-C or Swift.

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: 33,
44
MINSDK: 21,
55
TARGETSDK: 33,
6-
VERSIONCODE: 10
6+
VERSIONCODE: 11
77
]
88
}

example/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ target 'Runner' do
3131
use_frameworks!
3232
use_modular_headers!
3333

34-
pod "ComPDFKit", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.1.podspec'
35-
pod "ComPDFKit_Tools", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.1.podspec'
34+
pod "ComPDFKit", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.2.podspec'
35+
pod "ComPDFKit_Tools", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.2.podspec'
3636
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
3737
target 'RunnerTests' do
3838
inherit! :search_paths

example/ios/Podfile.lock

Lines changed: 0 additions & 99 deletions
This file was deleted.

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,10 @@
490490
CODE_SIGN_IDENTITY = "Apple Development";
491491
CODE_SIGN_STYLE = Automatic;
492492
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
493-
DEVELOPMENT_TEAM = 59AC9PMNH2;
493+
DEVELOPMENT_TEAM = 4GGQPGRTSV;
494494
ENABLE_BITCODE = NO;
495-
FLUTTER_BUILD_NAME = 2.1.0;
496-
FLUTTER_BUILD_NUMBER = 2.1.0;
495+
FLUTTER_BUILD_NAME = 2.1.2;
496+
FLUTTER_BUILD_NUMBER = 2.1.2;
497497
INFOPLIST_FILE = Runner/Info.plist;
498498
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
499499
LD_RUNPATH_SEARCH_PATHS = (
@@ -680,10 +680,10 @@
680680
CODE_SIGN_IDENTITY = "Apple Development";
681681
CODE_SIGN_STYLE = Automatic;
682682
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
683-
DEVELOPMENT_TEAM = 59AC9PMNH2;
683+
DEVELOPMENT_TEAM = 4GGQPGRTSV;
684684
ENABLE_BITCODE = NO;
685-
FLUTTER_BUILD_NAME = 2.1.0;
686-
FLUTTER_BUILD_NUMBER = 2.1.0;
685+
FLUTTER_BUILD_NAME = 2.1.2;
686+
FLUTTER_BUILD_NUMBER = 2.1.2;
687687
INFOPLIST_FILE = Runner/Info.plist;
688688
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
689689
LD_RUNPATH_SEARCH_PATHS = (
@@ -709,10 +709,10 @@
709709
CODE_SIGN_IDENTITY = "Apple Development";
710710
CODE_SIGN_STYLE = Automatic;
711711
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
712-
DEVELOPMENT_TEAM = 59AC9PMNH2;
712+
DEVELOPMENT_TEAM = 4GGQPGRTSV;
713713
ENABLE_BITCODE = NO;
714-
FLUTTER_BUILD_NAME = 2.1.0;
715-
FLUTTER_BUILD_NUMBER = 2.1.0;
714+
FLUTTER_BUILD_NAME = 2.1.2;
715+
FLUTTER_BUILD_NUMBER = 2.1.2;
716716
INFOPLIST_FILE = Runner/Info.plist;
717717
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
718718
LD_RUNPATH_SEARCH_PATHS = (

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</BuildableProductRunnable>
9090
</ProfileAction>
9191
<AnalyzeAction
92-
buildConfiguration = "Debug">
92+
buildConfiguration = "Release">
9393
</AnalyzeAction>
9494
<ArchiveAction
9595
buildConfiguration = "Release"

example/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class _HomePageState extends State<HomePage> {
5353

5454
// offline license auth
5555
ComPDFKit.init('2sAQ0T0o6skMlaNcW3NnvLzUkm0a4CRoLrGDn0hKWgA2mW0XKNrWyFCbZqOJYP1QvHdbvE0csBGDrW7YT9vFJmGUoq3aIG7RJ+cmlXKHjcNRDlgv4qIG2MhVfTEmsB9Lsc2mH/BujGPDpo3JSBoABnio5cPXRvE858U4efCS7UnFz9bqKdNi7B+DRj30Ui3KhldHWIuUinkT6S2LZHZsx5SZfiRGtyyercpc74s84g5GlrWMm46cW2OBM9uGjfulxkMNFTLz4O7qlOxL9u1ROv5fc3EcbdHfPaeYgb/5TpaZ7yW0fNIxPJACN8I7eZtAEHCSxklwmwwW4yW9hhKufmu0lH1oY17eVN2TRW5amzpB3o9Gv+C0tPjp0J9GPbwKFd4UTWTj+qL37c8z0wtqvjYLZS0cDUPbg/l5ttIFvIGwx28KqccOZf0KmJnr5wZY/8bAGTYd5CLpwzQNn5AwQauS9afPfcUGq+rjkosh+J2TB1tqD8sfrA+BnnzAnHCnMHKCmfr/bVJrB8v4xXHuTzwgKcSV5Qq+m6om/GPvFe1zOUAtlBN0tEFLst0PxTg2JncW78J+U3I+d463EB6bxNqIRD0SBgOViddx+fqNVReUDyqhZA0Tml3uXiGXxYPQZjak+LNVIYREQcg/YIzFdh5fzGj9lUQZLc0h6vgUtekkIZd4ydh2DHg9mlQPC4jq4PEVvGakmxVyNmP0RDKvrdBylpuGnyxMiQ4IvoDZ+R81lOdvuohwamNg3Md+towSUhZVjYFuRdFDbw1P3qQ0HRmUlnRwtVifJlbFpoQpCBU=');
56-
5756
}
5857

5958
@override

0 commit comments

Comments
 (0)