Skip to content

Commit

Permalink
compdfkit_flutter 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolongrick committed Apr 25, 2024
1 parent 68441e0 commit 84b9804
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.0.1
* Added the features support for ComPDFKit PDF SDK for iOS V2.0.1.
* Added the features support for ComPDFKit PDF SDK for Android V2.0.1.
* Fix the issue of continuous memory growth.


## 2.0.0
* Added the features support for ComPDFKit PDF SDK for iOS V2.0.0.
* Added the features support for ComPDFKit PDF SDK for Android V2.0.0.
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ open android/app/build.gradle
dependencies:
flutter:
sdk: flutter
+ compdfkit_flutter: ^2.0.0
+ compdfkit_flutter: ^2.0.1
```

7. From the terminal app, run the following command to get all the packages:
Expand Down Expand Up @@ -281,7 +281,7 @@ cd example
dependencies:
flutter:
sdk: flutter
+ compdfkit_flutter: ^2.0.0
+ compdfkit_flutter: ^2.0.1
```

4. From the terminal app, run the following command to get all the packages:
Expand Down Expand Up @@ -310,8 +310,8 @@ open ios/Podfile
use_modular_headers!`

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+ pod 'ComPDFKit_Tools', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.0.0.podspec'
+ pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.0.0.podspec'
+ pod 'ComPDFKit_Tools', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.0.1.podspec'
+ pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.0.1.podspec'

end
```
Expand Down Expand Up @@ -527,8 +527,8 @@ target 'PDFView_RN' do
# Pods for testing
end

+ pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.0.0'
+ pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.0.0'
+ pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.0.1'
+ pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.0.1'

# Enables Flipper.
#
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ android {
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
api 'com.compdf:compdfkit:2.0.0'
api 'com.compdf:compdfkit-ui:2.0.0'
api ('com.compdf:compdfkit-tools:2.0.0')
api 'com.compdf:compdfkit:2.0.1'
api 'com.compdf:compdfkit-ui:2.0.1'
api ('com.compdf:compdfkit-tools:2.0.1')

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.0.0'
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ android {
applicationId "com.compdfkit.flutter.example"
minSdkVersion 21
targetSdkVersion 33
versionCode 5
versionCode 6
versionName flutterVersionName
}

Expand Down
12 changes: 6 additions & 6 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 4GGQPGRTSV;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_NAME = 2.0.0;
FLUTTER_BUILD_NUMBER = 2.0.0;
FLUTTER_BUILD_NAME = 2.0.1;
FLUTTER_BUILD_NUMBER = 2.0.1;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -681,8 +681,8 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 4GGQPGRTSV;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_NAME = 2.0.0;
FLUTTER_BUILD_NUMBER = 2.0.0;
FLUTTER_BUILD_NAME = 2.0.1;
FLUTTER_BUILD_NUMBER = 2.0.1;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -709,8 +709,8 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 4GGQPGRTSV;
ENABLE_BITCODE = NO;
FLUTTER_BUILD_NAME = 2.0.0;
FLUTTER_BUILD_NUMBER = 2.0.0;
FLUTTER_BUILD_NAME = 2.0.1;
FLUTTER_BUILD_NUMBER = 2.0.1;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
3 changes: 2 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class _MyAppState extends State<MyApp> {
// ComPDFKit.initialize(androidOnlineLicense: 'android compdfkit key',iosOnlineLicense: 'ios compdfkit key');

// offline license auth
ComPDFKit.init('your compdfkit key');
ComPDFKit.init(
'77/0LbrlNGNUEKWCmu4/iG3ZlSv4+47zdgsGOxDX3vGx64O2BtvxJyDzgqNvAmqU8eM0G0ALjeYHtV3vrL7mNtev5BHDGmg2ye3WigSqpN8y0gOPPutXKAQyW9vM+cC81ws4sjcXt2vphQXKjRGeVnQodoe+0FbKzffywJ2DORo32GO9qJ51qIKGmXhokKOuQIDJ2eDgQDkIwUChC+yVz088AjTSDSYOe0UobLHOpkP6Ou4qbkx6pKJ+WexOqFxIb90cAQVVa02NpLJdSu8VPIDJNzuwds1y2RLVD6lgBj8Zez+CGDL4JzeYnYhQhlOZNLXJQ4ZqkN/eHcvgIlpzL2u0lH1oY17eVN2TRW5amzqOuoo5orgnAvMGFLdEwMLlC+K5dn2h1bB4RjP9ZTqgoNaGtyKiQ+FhqHLgPV+faNMUdCBlrq4FNafN5ZoZwbHn4fzUh88DO0481O/H5F0zHak/PQJR7Gu1OfN94Q2uALpL4t3i0S76cdEeJ6wRw44AH0PQikF7jWqqmAB1bqcqsgePNE97RigZwYiDA0p2AGWxhBg2+pgZD9EPOOjdtWPXK9LTAop75OQ9whjDWL1y0LTP/JhOPQIOghNPepj3VtjzSVrUbTBFktXeDGlz0NH9TnbvjZoxJRlcNN1+9x100WEfF4A2XbJZEjcpxV9tk1r9UpDZNXkuRC5cqSCOndk3WcAQjbXfQ4Bb9zwxbcvORsTU9lFmAbRS4KFSnCfN/gMqYb0QzhAKt6Wube1sAVkj4n7AvEss/0SdC9zk5m0/E/c0dDshJ3XKSLU/PaI1wbf/SnQhn+gZICJWg9lWCAi16kSStNvD+Tlg8iXYGXcUT967Gjfe/7Au1tVEU3oE60OBrEnSCSSJJt3MWbr/52CRpTtQ6bC+eZK0ijaRGZnS60G4A4sqfUpH3dRQ0juEnz0zrfyaQi4TKGCC1SzT5YPtsIEy4Stbdh3CCWoYV8SehrEkB58JHrolHhy5cVPV2RRYE30JXG5sJOlwb6wuhHVLlanJ7OE5ewEJCtZIHMkJ/rlfinOunS0G9GL2IMBwsyfOB1Cxl+yXx4V3li2ymawe');

}

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.0"
version: "2.0.1"
cupertino_icons:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: compdfkit_flutter_example
description: Demonstrates how to use the compdfkit_flutter plugin.
version: 2.0.0
version: 2.0.1
homepage: https://www.compdf.com
repository: https://github.com/ComPDFKit/compdfkit-pdf-sdk-flutter
issue_tracker: https://www.compdf.com/support
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: compdfkit_flutter
description: ComPDFKit for Flutter is a comprehensive SDK that allows you to quickly add PDF functionality to Android and iOS Flutter applications.
version: 2.0.0
version: 2.0.1
homepage: https://www.compdf.com
repository: https://github.com/ComPDFKit/compdfkit-pdf-sdk-flutter
issue_tracker: https://www.compdf.com/support
Expand Down

0 comments on commit 84b9804

Please sign in to comment.