Explorar o código

ComPDFKit(flutter) - v2.0.0 android接入、文档

liuxiaolong hai 11 meses
pai
achega
396bbd2125
Modificáronse 8 ficheiros con 17 adicións e 12 borrados
  1. 4 0
      CHANGELOG.md
  2. 6 6
      README.md
  3. 3 3
      android/build.gradle
  4. 1 0
      example/lib/main.dart
  5. BIN=BIN
      example/pdfs/PDF_Document.pdf
  6. 1 1
      example/pubspec.lock
  7. 1 1
      example/pubspec.yaml
  8. 1 1
      pubspec.yaml

+ 4 - 0
CHANGELOG.md

@@ -1,3 +1,7 @@
+## 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.
+
 ## 1.13.0
 
 * Added the features support for ComPDFKit PDF SDK for iOS V1.13.0.

+ 6 - 6
README.md

@@ -125,7 +125,7 @@ open android/app/build.gradle
  dependencies:
    flutter:
      sdk: flutter
-+  compdfkit_flutter: ^1.13.0
++  compdfkit_flutter: ^2.0.0
 ```
 
 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: ^1.13.0
++  compdfkit_flutter: ^2.0.0
 ```
 
 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/1.13.0.podspec'
-+  pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/1.13.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.0.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 => '1.13.0'
-+  pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '1.13.0'
++  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'
 
   # 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:1.13.0'
-        api 'com.compdf:compdfkit-ui:1.13.0'
-        api ('com.compdf:compdfkit-tools:1.13.0')
+        api 'com.compdf:compdfkit:2.0.0'
+        api 'com.compdf:compdfkit-ui:2.0.0'
+        api ('com.compdf:compdfkit-tools:2.0.0')
 
         testImplementation 'junit:junit:4.13.2'
         testImplementation 'org.mockito:mockito-core:5.0.0'

+ 1 - 0
example/lib/main.dart

@@ -9,6 +9,7 @@ import 'dart:io';
 
 import 'package:compdfkit_flutter/compdfkit.dart';
 import 'package:compdfkit_flutter/cpdf_configuration.dart';
+import 'package:compdfkit_flutter/cpdf_options.dart';
 
 import 'package:flutter/material.dart';
 

BIN=BIN
example/pdfs/PDF_Document.pdf


+ 1 - 1
example/pubspec.lock

@@ -47,7 +47,7 @@ packages:
       path: ".."
       relative: true
     source: path
-    version: "1.13.0"
+    version: "2.0.0"
   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: 1.13.0
+version: 2.0.0
 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: 1.13.0
+version: 2.0.0
 homepage: https://www.compdf.com
 repository: https://github.com/ComPDFKit/compdfkit-pdf-sdk-flutter
 issue_tracker: https://www.compdf.com/support