From 5c6f086bf0e9c6c5d3eb6e22e31b4c0c78032c51 Mon Sep 17 00:00:00 2001 From: David Luco Date: Mon, 31 Mar 2025 14:24:31 -0700 Subject: [PATCH 1/5] Update README for iOS CocoaPod podspec changes --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2d7a4338..58bae657 100644 --- a/README.md +++ b/README.md @@ -143,14 +143,12 @@ The following instructions are only applicable to Android development; click her The following instructions are only applicable to iOS development; click here for the [Android counterpart](#android). -> **Note** -> (August 2022) +> [!IMPORTANT] +> As of March 2025, use of the `PDFTron` and `PDFTronTools` podspecs distributed specifically for the PDFTron Flutter wrapper (`https://pdftron.com/downloads/ios/flutter/pdftron/latest.podspec` and `https://pdftron.com/downloads/ios/flutter/pdftron-tools/latest.podspec`, respectively) is deprecated. +> +> **All new and existing users are recommended to use the standard [Apryse iOS SDK CocoaPods](https://docs.apryse.com/ios/guides/get-started/integration?tab=cocoapods) instead.** > -> There are new podspec files to use when integrating the PDFTron Flutter Wrapper for iOS: -> - `PDFTron` CocoaPod, providing `PDFNet.xcframework`: https://pdftron.com/downloads/ios/flutter/pdftron/latest.podspec -> - `PDFTronTools` CocoaPod, providing `Tools.xcframework`: https://pdftron.com/downloads/ios/flutter/pdftron-tools/latest.podspec -> -> Please update your `ios/Podfile` accordingly. +> Please update your `Podfile` accordingly. 4. Open `myapp/ios/Podfile` file and add: ```diff @@ -161,8 +159,8 @@ The following instructions are only applicable to iOS development; click here fo target 'Runner' do ... + # PDFTron Pods - + pod 'PDFTron', podspec: 'https://pdftron.com/downloads/ios/flutter/pdftron/latest.podspec' - + pod 'PDFTronTools', podspec: 'https://pdftron.com/downloads/ios/flutter/pdftron-tools/latest.podspec' + + pod 'PDFTron', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdftron/latest.podspec' + + pod 'PDFTronTools', podspec: 'https://www.pdftron.com/downloads/ios/cocoapods/xcframeworks/pdftron-tools/latest.podspec' end ``` 5. To ensure integration process is successful, run `flutter build ios --no-codesign` @@ -440,4 +438,4 @@ See [Contributing](https://github.com/ApryseSDK/pdftron-flutter/blob/publish-pre ## License See [License](https://github.com/ApryseSDK/pdftron-flutter/blob/publish-prep-nullsafe/LICENSE) -![](https://onepixel.pdftron.com/pdftron-flutter) \ No newline at end of file +![](https://onepixel.pdftron.com/pdftron-flutter) From 5c621c35e3e6a0dfaa66254f98f2a1e277bc60c2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 21:26:18 +0000 Subject: [PATCH 2/5] Updating package version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 5c4d46b8..432f3b3e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pdftron_flutter description: A convenience wrapper to build Flutter apps that use the PDFTron mobile SDK for smooth, flexible, and stand-alone document viewing. -version: 1.0.1-41 +version: 1.0.1-42 homepage: https://www.apryse.com repository: https://github.com/ApryseSDK/pdftron-flutter issue_tracker: https://github.com/ApryseSDK/pdftron-flutter/issues From 694d1a6144bfc861f20c4842018a32efc287833d Mon Sep 17 00:00:00 2001 From: David Luco Date: Mon, 31 Mar 2025 14:26:46 -0700 Subject: [PATCH 3/5] Fix end-of-file change --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58bae657..b766da0f 100644 --- a/README.md +++ b/README.md @@ -438,4 +438,4 @@ See [Contributing](https://github.com/ApryseSDK/pdftron-flutter/blob/publish-pre ## License See [License](https://github.com/ApryseSDK/pdftron-flutter/blob/publish-prep-nullsafe/LICENSE) -![](https://onepixel.pdftron.com/pdftron-flutter) +![](https://onepixel.pdftron.com/pdftron-flutter) \ No newline at end of file From be07121f344818052eeb217a90eb480ebd9f6d1c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 21:27:52 +0000 Subject: [PATCH 4/5] Updating pubspec.yaml --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 432f3b3e..5c4d46b8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pdftron_flutter description: A convenience wrapper to build Flutter apps that use the PDFTron mobile SDK for smooth, flexible, and stand-alone document viewing. -version: 1.0.1-42 +version: 1.0.1-41 homepage: https://www.apryse.com repository: https://github.com/ApryseSDK/pdftron-flutter issue_tracker: https://github.com/ApryseSDK/pdftron-flutter/issues From c5c80c0e45c06f84cf022a403b94d28f9e705866 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 21:28:23 +0000 Subject: [PATCH 5/5] Updating package version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 5c4d46b8..432f3b3e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pdftron_flutter description: A convenience wrapper to build Flutter apps that use the PDFTron mobile SDK for smooth, flexible, and stand-alone document viewing. -version: 1.0.1-41 +version: 1.0.1-42 homepage: https://www.apryse.com repository: https://github.com/ApryseSDK/pdftron-flutter issue_tracker: https://github.com/ApryseSDK/pdftron-flutter/issues