|
@@ -39,10 +39,10 @@ Conversion SDK supports converting PDF files to the following formats
|
|
|
ComPDFKit Conversion SDK is supported on Android devices running API level 21 or newer and targeting the latest stable Android version 5.0 (API 30) or higher. Furthermore, ComPDFKit Conversion SDK requires apps to enable Java 11 language features to build.
|
|
|
> - Android Studio Arctic Fox or newer (support AndroidX).
|
|
|
> - Project specifications.
|
|
|
-> - A minSdkVersion of 21 (KitKat) or higher.
|
|
|
- > - A compileSdkVersion of 30 or higher.
|
|
|
-> - A targetSdkVersion of 30 or higher.
|
|
|
-> - Android ABI(s): x86, x86_64, armeabi-v7a, arm64-v8a.
|
|
|
+> - A minSdkVersion of 21 (KitKat) or higher.
|
|
|
+> - A compileSdkVersion of 30 or higher.
|
|
|
+> - A targetSdkVersion of 30 or higher.
|
|
|
+> - Android ABI(s): x86, x86_64, armeabi-v7a, arm64-v8a.
|
|
|
|
|
|
### iOS
|
|
|
ComPDFKit Conversion SDK requires the latest stable version of Xcode available at the time the release was made. This is a hard requirement, as each version of Xcode is bundled with a specific version of the iOS or macOS Base SDK.
|
|
@@ -124,14 +124,14 @@ To integrate the **ComPDFKit_Conversion.framework** into your Flutter iOS projec
|
|
|
|
|
|
1.Open your Flutter iOS project using **Xcode** or other suitable IDE tool.
|
|
|
2.Drag and drop the **ComPDFKit_Conversion.framework** file into your project, ensuring that they are placed correctly.
|
|
|
-
|
|
|
+<br>
|
|
|
3.Click **Finish** in the popup to complete the addition
|
|
|
-
|
|
|
+<br>
|
|
|
4.To embed the required frameworks and libraries into your project, you can open the **General** tab in the project configuration and locate the **Frameworks, Libraries, and Embedded Content** option. Within this tab, you can select **Embed & Sign** to embed and sign the necessary frameworks and libraries, which will ensure that your project compiles and runs smoothly.
|
|
|
-
|
|
|
+
|
|
|
5.Apply the License Key
|
|
|
|
|
|
-- Swift
|
|
|
+- Swift<br>
|
|
|
```swift
|
|
|
import UIKit
|
|
|
import Flutter
|
|
@@ -153,7 +153,7 @@ import ComPDFKit_Conversion
|
|
|
|
|
|
```
|
|
|
|
|
|
-- Objective-C
|
|
|
+- Objective-C<br>
|
|
|
```objc
|
|
|
#import "AppDelegate.h"
|
|
|
#import "GeneratedPluginRegistrant.h"
|
|
@@ -209,6 +209,7 @@ Map<String, String> options = {
|
|
|
|
|
|
2.Using EventChannel to enable communication between Flutter and the Native platform, thereby achieving file conversion functionality.
|
|
|
> You can refer to the **convert_flutter.dart** class in Demo
|
|
|
+
|
|
|
```dart
|
|
|
ElevatedButton(onPressed: () {
|
|
|
ConvertFlutter().convert(context, pdfFilePath);
|
|
@@ -479,5 +480,5 @@ Thanks for your interest in ComPDFKit Conversion SDK, the only easy-to-use but p
|
|
|
- Home link: [https://www.compdf.com](https://www.compdf.com)
|
|
|
- Email: support@pdfreaderpro.com
|
|
|
***
|
|
|
-Thanks,
|
|
|
+Thanks,<br>
|
|
|
The ComPDFKit Team
|