Quellcode durchsuchen

ComPDFKit(flutter) - v2.1.2

liuxiaolong vor 2 Monaten
Ursprung
Commit
d3db5965fd

+ 6 - 0
CHANGELOG.md

@@ -1,3 +1,9 @@
+## 2.1.2
+
+* Added the features support for ComPDFKit PDF SDK for iOS V2.1.2.
+* Added the features support for ComPDFKit PDF SDK for Android V2.1.2.
+* Optimize document opening speed.
+
 ## 2.1.1
 
 * Added the features support for ComPDFKit PDF SDK for iOS V2.1.1.

+ 12 - 12
README.md

@@ -59,7 +59,7 @@ Please install the following required packages:
 
 Operating Environment Requirements:
 
-* The iOS 11.0 or higher.
+* The iOS 12.0 or higher.
 * The Xcode 12.0 or newer for Objective-C or Swift.
 
 ### Integrate into a New Flutter APP
@@ -151,7 +151,7 @@ Alternatively you can update the `AndroidManifest.xml` file to use `FlutterFragm
  dependencies:
    flutter:
      sdk: flutter
-+  compdfkit_flutter: ^2.1.1
++  compdfkit_flutter: ^2.1.2
 ```
 
 8. Add the PDF documents you want to display in the project
@@ -197,7 +197,7 @@ cd example
  dependencies:
    flutter:
      sdk: flutter
-+  compdfkit_flutter: ^2.1.1
++  compdfkit_flutter: ^2.1.2
 ```
 
 4. Open your project's Podfile in a text editor:
@@ -208,20 +208,20 @@ open ios/Podfile
 
 **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)).
 
-6. Update the platform to iOS 11 and add the ComPDFKit Podspec:
+6. Update the platform to iOS 12 and add the ComPDFKit Podspec:
 
 ```diff
 
 - platform :ios, '9.0'
-+ platform :ios, '11.0' 
++ platform :ios, '12.0' 
  ...
  target 'Runner' do
    use_frameworks!
    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.1.1.podspec'
-+  pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.1.podspec'
++  pod 'ComPDFKit_Tools', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.2.podspec'
++  pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.2.podspec'
 
  end
 ```
@@ -389,7 +389,7 @@ class _MyAppState extends State<MyApp> {
     ComPDFKit.initialize(androidOnlineLicense : 'your compdfkit key', iosOnlineLicense : 'your compdfkit key');
   
     /// If you are using an offline certified license, please use init() method
-    /// ComPDFKit.init('your compdfkit key')
+    // ComPDFKit.init('your compdfkit key');
   }
 
   @override
@@ -478,7 +478,7 @@ class _MyAppState extends State<MyApp> {
          iosOnlineLicense: 'your compdfkit key');
 
     /// If you are using an offline certified license, please use init() method
-    /// ComPDFKit.init('your compdfkit key')
+    // ComPDFKit.init('your compdfkit key');
   }
 
   @override
@@ -534,7 +534,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods'
 require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
 
 - platform :ios, '10.0'
-+ platform :ios, '11.0'
++ platform :ios, '12.0'
 install! 'cocoapods', :deterministic_uuids => false
 
 target 'PDFView_RN' do
@@ -557,8 +557,8 @@ target 'PDFView_RN' do
     # Pods for testing
   end
 
-+  pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.1'
-+  pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.1'
++  pod 'ComPDFKit', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.2'
++  pod 'ComPDFKit_Tools', :git => 'https://github.com/ComPDFKit/compdfkit-pdf-sdk-ios-swift.git', :tag => '2.1.2'
 
   # Enables Flipper.
   #

+ 1 - 1
android/build.gradle

@@ -40,7 +40,7 @@ android {
         implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
 
         // dependencies compdfkit pdf sdk
-        api 'com.compdf:compdfkit-tools:2.1.1'
+        api 'com.compdf:compdfkit-tools:2.1.2'
 
         testImplementation 'junit:junit:4.13.2'
         testImplementation 'org.mockito:mockito-core:5.0.0'

+ 1 - 1
example/README.md

@@ -38,5 +38,5 @@ Please install the following required packages:
 
 Operating Environment Requirements:
 
-* The iOS 10.0 or higher.
+* The iOS 12.0 or higher.
 * The Xcode 12.0 or newer for Objective-C or Swift.

+ 1 - 1
example/android/config.gradle

@@ -3,6 +3,6 @@ ext {
             COMPILESDK: 33,
             MINSDK: 21,
             TARGETSDK: 33,
-            VERSIONCODE: 10
+            VERSIONCODE: 11
     ]
 }

+ 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.1.1.podspec'
-  pod "ComPDFKit_Tools", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.1.podspec'
+  pod "ComPDFKit", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/2.1.2.podspec'
+  pod "ComPDFKit_Tools", podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/2.1.2.podspec'
   flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
   target 'RunnerTests' do
     inherit! :search_paths

+ 6 - 6
example/ios/Runner.xcodeproj/project.pbxproj

@@ -492,8 +492,8 @@
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
 				DEVELOPMENT_TEAM = 4GGQPGRTSV;
 				ENABLE_BITCODE = NO;
-				FLUTTER_BUILD_NAME = 2.1.1;
-				FLUTTER_BUILD_NUMBER = 2.1.1;
+				FLUTTER_BUILD_NAME = 2.1.2;
+				FLUTTER_BUILD_NUMBER = 2.1.2;
 				INFOPLIST_FILE = Runner/Info.plist;
 				IPHONEOS_DEPLOYMENT_TARGET = 12.0;
 				LD_RUNPATH_SEARCH_PATHS = (
@@ -682,8 +682,8 @@
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
 				DEVELOPMENT_TEAM = 4GGQPGRTSV;
 				ENABLE_BITCODE = NO;
-				FLUTTER_BUILD_NAME = 2.1.1;
-				FLUTTER_BUILD_NUMBER = 2.1.1;
+				FLUTTER_BUILD_NAME = 2.1.2;
+				FLUTTER_BUILD_NUMBER = 2.1.2;
 				INFOPLIST_FILE = Runner/Info.plist;
 				IPHONEOS_DEPLOYMENT_TARGET = 12.0;
 				LD_RUNPATH_SEARCH_PATHS = (
@@ -711,8 +711,8 @@
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
 				DEVELOPMENT_TEAM = 4GGQPGRTSV;
 				ENABLE_BITCODE = NO;
-				FLUTTER_BUILD_NAME = 2.1.1;
-				FLUTTER_BUILD_NUMBER = 2.1.1;
+				FLUTTER_BUILD_NAME = 2.1.2;
+				FLUTTER_BUILD_NUMBER = 2.1.2;
 				INFOPLIST_FILE = Runner/Info.plist;
 				IPHONEOS_DEPLOYMENT_TARGET = 12.0;
 				LD_RUNPATH_SEARCH_PATHS = (

+ 1 - 1
example/pubspec.lock

@@ -55,7 +55,7 @@ packages:
       path: ".."
       relative: true
     source: path
-    version: "2.1.0"
+    version: "2.1.2"
   cross_file:
     dependency: transitive
     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.1.1
+version: 2.1.2
 homepage: https://www.compdf.com
 repository: https://github.com/ComPDFKit/compdfkit-pdf-sdk-flutter
 issue_tracker: https://www.compdf.com/support

+ 1 - 1
ios/compdfkit_flutter.podspec

@@ -4,7 +4,7 @@
 #
 Pod::Spec.new do |s|
   s.name             = 'compdfkit_flutter'
-  s.version          = '2.1.1'
+  s.version          = '2.1.2'
   s.summary          = 'Flutter PDF Library by ComPDFKit'
   s.description      = <<-DESC
 A new Flutter plugin project.

+ 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.1.1
+version: 2.1.2
 homepage: https://www.compdf.com
 repository: https://github.com/ComPDFKit/compdfkit-pdf-sdk-flutter
 issue_tracker: https://www.compdf.com/support