From 88a1bd576cd339cc601a99862c38e36c7189bfe0 Mon Sep 17 00:00:00 2001 From: ama-pdftron <83238520+ama-pdftron@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:24:28 -0700 Subject: [PATCH] [Example] Update to ApryseSDK link (#328) * [Example] Update to ApryseSDK link * Updating pubspec.yaml * Updating package version * Update pubdev-publish.yml * Updating pubspec.yaml * Updating package version --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/pubdev-publish.yml | 4 ++-- CHANGELOG.md | 2 +- README.md | 14 +++++++------- lib/pdftron_flutter.dart | 2 +- lib/src/document_view.dart | 2 +- pubspec.yaml | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pubdev-publish.yml b/.github/workflows/pubdev-publish.yml index c3a4145b..70c6fa40 100644 --- a/.github/workflows/pubdev-publish.yml +++ b/.github/workflows/pubdev-publish.yml @@ -7,7 +7,7 @@ on: - master jobs: build: - if: github.repository == 'PDFTron/pdftron-flutter' + if: github.repository == 'ApryseSDK/pdftron-flutter' runs-on: ubuntu-latest container: image: google/dart:latest @@ -27,4 +27,4 @@ jobs: } EOF - name: Publish package - run: pub publish -f \ No newline at end of file + run: pub publish -f diff --git a/CHANGELOG.md b/CHANGELOG.md index e6c09313..ea4f7c8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -130,7 +130,7 @@ # 1.0.0-beta.3 - November 8, 2021 -- Updated the Android plugin and widget ([#128](https://github.com/PDFTron/pdftron-flutter/issues/128)): +- Updated the Android plugin and widget ([#128](https://github.com/ApryseSDK/pdftron-flutter/issues/128)): - The plugin now supports [Flutter's new embedding engine](https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration). - The widget now uses [hybrid composition](https://flutter.dev/docs/development/platform-integration/platform-views?tab=ios-platform-views-objective-c-tab#hybrid-composition). This update fixes issues such as: https://github.com/flutter/flutter/issues/58273 and in regards to stability, places the widget on parity with the plugin. diff --git a/README.md b/README.md index dd90e54c..25432f8e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ PDFTron's Flutter PDF library brings smooth, flexible, and stand-alone document - Night mode to improve viewing in low-light environments - And much more... -More information can be found at https://www.pdftron.com/documentation/guides/flutter +More information can be found at https://docs.apryse.com/documentation/guides/flutter/ **Android**|**iOS** :--:|:--: @@ -36,7 +36,7 @@ More information can be found at https://www.pdftron.com/documentation/guides/fl Dart now supports [sound null safety](https://dart.dev/null-safety), which is available starting from Dart 2.12.0 and Flutter 2.0.0. Here is a guide to migrate to [null safety](https://dart.dev/null-safety/migration-guide) If you would like to use our null safe SDK, it is available in the following places: -- [GitHub](https://github.com/PDFTron/pdftron-flutter) +- [GitHub](https://github.com/ApryseSDK/pdftron-flutter) - [pub.dev](https://pub.dev/packages/pdftron_flutter) The rest of this README.md contains documentation, installation instructions, and information for the null safe version of our SDK. @@ -45,7 +45,7 @@ The rest of this README.md contains documentation, installation instructions, an Version `0.0.6` is the last stable release for the legacy UI. -The release can be found here: https://github.com/PDFTron/pdftron-flutter/releases/tag/legacy-ui. +The release can be found here: https://github.com/ApryseSDK/pdftron-flutter/releases/tag/legacy-ui. ## Installation @@ -67,7 +67,7 @@ The release can be found here: https://github.com/PDFTron/pdftron-flutter/releas sdk: flutter + pdftron_flutter: + git: - + url: git://github.com/PDFTron/pdftron-flutter.git + + url: git://github.com/ApryseSDK/pdftron-flutter.git ``` 3. In the `myapp` directory, run `flutter packages get`. @@ -433,11 +433,11 @@ return Scaffold( ``` ## Changelog -See [Changelog](https://github.com/PDFTron/pdftron-flutter/blob/publish-prep-nullsafe/CHANGELOG.md) +See [Changelog](https://github.com/ApryseSDK/pdftron-flutter/blob/publish-prep-nullsafe/CHANGELOG.md) ## Contributing -See [Contributing](https://github.com/PDFTron/pdftron-flutter/blob/publish-prep-nullsafe/CONTRIBUTING.md) +See [Contributing](https://github.com/ApryseSDK/pdftron-flutter/blob/publish-prep-nullsafe/CONTRIBUTING.md) ## License -See [License](https://github.com/PDFTron/pdftron-flutter/blob/publish-prep-nullsafe/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 diff --git a/lib/pdftron_flutter.dart b/lib/pdftron_flutter.dart index 50fcbfcf..b552ed0e 100644 --- a/lib/pdftron_flutter.dart +++ b/lib/pdftron_flutter.dart @@ -377,7 +377,7 @@ class PdftronFlutter { /// [path] specifies the file name of the image resource. The button will use /// the specified icon if [Config.showLeadingNavButton], which is true by /// default, is true in the config. To add an image file to your application, - /// please follow the steps in the [wiki page](https://github.com/PDFTron/pdftron-flutter/wiki/Adding-an-Image-Resource-To-Your-Application). + /// please follow the steps in the [wiki page](https://github.com/ApryseSDK/pdftron-flutter/wiki/Adding-an-Image-Resource-To-Your-Application). static Future setLeadingNavButtonIcon(String path) { return _channel.invokeMethod(Functions.setLeadingNavButtonIcon, {Parameters.leadingNavButtonIcon: path}); diff --git a/lib/src/document_view.dart b/lib/src/document_view.dart index 49e61c5a..59f0946a 100644 --- a/lib/src/document_view.dart +++ b/lib/src/document_view.dart @@ -407,7 +407,7 @@ class DocumentViewController { /// [path] specifies the file name of the image resource. The button will use /// the specified icon if [Config.showLeadingNavButton], which is true by /// default, is true in the config. To add an image file to your application, - /// please follow the steps in the [wiki page](https://github.com/PDFTron/pdftron-flutter/wiki/Adding-an-Image-Resource-To-Your-Application). + /// please follow the steps in the [wiki page](https://github.com/ApryseSDK/pdftron-flutter/wiki/Adding-an-Image-Resource-To-Your-Application). Future setLeadingNavButtonIcon(String path) { return _channel.invokeMethod(Functions.setLeadingNavButtonIcon, {Parameters.leadingNavButtonIcon: path}); diff --git a/pubspec.yaml b/pubspec.yaml index 72b84452..2ca90840 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-34 +version: 1.0.1-35 homepage: https://www.apryse.com repository: https://github.com/ApryseSDK/pdftron-flutter issue_tracker: https://github.com/ApryseSDK/pdftron-flutter/issues