Browse Source

ComPDFKit(flutter) - 2.0.1 接入

liuxiaolong 10 months ago
parent
commit
a090797cfe
8 changed files with 21 additions and 15 deletions
  1. 6 0
      CHANGELOG.md
  2. 6 6
      README.md
  3. 3 3
      android/build.gradle
  4. 1 1
      example/android/app/build.gradle
  5. 2 2
      example/ios/Podfile
  6. 1 1
      example/pubspec.lock
  7. 1 1
      example/pubspec.yaml
  8. 1 1
      pubspec.yaml

+ 6 - 0
CHANGELOG.md

@@ -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.

+ 6 - 6
README.md

@@ -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:
@@ -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:
@@ -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
 ```
@@ -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.
   #

+ 3 - 3
android/build.gradle

@@ -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'

+ 1 - 1
example/android/app/build.gradle

@@ -55,7 +55,7 @@ android {
         applicationId "com.compdfkit.flutter.example"
         minSdkVersion 21
         targetSdkVersion 33
-        versionCode 5
+        versionCode 6
         versionName flutterVersionName
     }
 

+ 2 - 2
example/ios/Podfile

@@ -31,8 +31,8 @@ target 'Runner' do
   use_frameworks!
   use_modular_headers!
 
-  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.0.podspec'
+  pod "ComPDFKit", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.0.1.podspec'
+  pod "ComPDFKit_Tools", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.0.1.podspec'
 
   flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
   target 'RunnerTests' do

+ 1 - 1
example/pubspec.lock

@@ -47,7 +47,7 @@ packages:
       path: ".."
       relative: true
     source: path
-    version: "2.0.0"
+    version: "2.0.1"
   cupertino_icons:
     dependency: "direct main"
     description:

+ 1 - 1
example/pubspec.yaml

@@ -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

+ 1 - 1
pubspec.yaml

@@ -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