You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-52
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,22 @@
1
-
# Flutter PDF Library by PSPDFKit
1
+
# Flutter PDF Library by Nutrient
2
2
3
-

3
+

4
4
5
-
PSPDFKit for Flutter is an SDK for viewing, annotating, and editing PDFs. It offers developers the ability to quickly add PDF functionality to any Flutter application. It is available at [pub.dev](https://pub.dev/packages/pspdfkit_flutter) and [GitHub](https://github.com/PSPDFKit/pspdfkit-flutter).
5
+
Nutrient Flutter SDK is for viewing, annotating, and editing PDFs. It offers developers the ability to quickly add PDF functionality to any Flutter application. It is available at [pub.dev][pub_dev] and [GitHub][github].
6
6
7
7
If you are new to Flutter, make sure to check our Flutter blog posts:
8
8
9
-
-[How I Got Started With Flutter](https://pspdfkit.com/blog/2018/starting-with-flutter/).
10
-
-[Getting Started with Flutter PDF Library by PSPDFKit](https://pspdfkit.com/blog/2019/getting-started-with-pspdfkit-flutter/).
11
-
-[Opening a PDF in Flutter](https://pspdfkit.com/blog/2019/opening-a-pdf-in-flutter/).
12
-
-[How to Bridge Native iOS Code to Flutter](https://pspdfkit.com/blog/2021/how-to-bridge-native-ios-code-to-flutter/).
13
-
-[How to Customize Our Flutter PDF SDK for Android](https://pspdfkit.com/blog/2021/how-to-customize-our-flutter-pdf-sdk/).
14
-
-[Advances in Hybrid Technologies](https://pspdfkit.com/blog/2019/advances-in-hybrid-technologies/).
15
-
-[How We Maintain Our Public Flutter Project Using a Private Monorepo](https://pspdfkit.com/blog/2021/maintaining-open-source-repo-from-monorepo/).
16
-
-[How to Download and Display a PDF Document in Flutter with PSPDFKit](https://pspdfkit.com/blog/2022/download-and-display-pdf-in-flutter-with-pspdfkit/).
9
+
-[Getting Started with Flutter PDF Library by Nutrient][blog_getting_started_with_pspdfkit_flutter].
10
+
-[Opening a PDF in Flutter][blog_opening_a_pdf_in_flutter].
11
+
-[How to Customize Our Flutter PDF SDK][blog_customize_flutter_pdf_sdk_android].
12
+
-[Advances in Hybrid Technologies][blog_advances_in_hybrid_technologies].
13
+
-[How We Maintain Our Public Flutter Project Using a Private Monorepo][blog_maintaining_open_source_repo_from_monorepo].
14
+
-[How to Download and Display a PDF Document in Flutter with Nutrient][blog_download_display_pdf_in_flutter_with_pspdfkit].
17
15
18
-
For our quick-start guides, [check out our website](https://pspdfkit.com/getting-started/mobile/?frontend=flutter).
16
+
For our quick-start guides, [check out our website][quick_start_guides].
17
+
18
+
Platform specific README exists for [Android][android_readme] and [iOS][ios_readme].
19
19
20
-
Platform specific README exists for [Android](android/) and [iOS](ios/).
21
20
22
21
# Setup
23
22
@@ -153,7 +152,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
153
152
- jvmTarget = '1.8'
154
153
+ jvmTarget = '17'
155
154
}
156
-
...
155
+
...
157
156
}
158
157
```
159
158
6. Add the AppCompat AndroidX library to your `android/app/build.gradle` file:
@@ -184,14 +183,14 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
184
183
Alternatively you can update the `AndroidManifest.xml` file to use `FlutterAppCompatActivity` as the launcher activity:
**NOTE:**<code>FlutterAppCompatActivity</code> isn’t an official part of the Flutter SDK. It’s a custom <code>Activity</code> that extends <code>AppCompatActivity</code> from the AndroidX AppCompat library, and it’s necessary to use PSPDFKit forAndroid with Flutter. You can read more about thisin the [AppCompatActivity Migration][] guide.
@@ -287,7 +286,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
287
286
288
287
PSPDFKit for Web library files are distributed as an archive that can be extracted manually.
289
288
290
-
1. <a href="https://my.pspdfkit.com/download/web/latest" target="_blank" rel="noreferrer">Download the framework here</a>. The download will start immediately and will save a `.tar.gz` archive like `PSPDFKit-Web-binary-<%= latest_version(:web) %>.tar.gz` to your computer.
289
+
1. <a href="https://my.nutrient.io/download/web/latest" target="_blank" rel="noreferrer">Download the framework here</a>. The download will start immediately and will save a `.tar.gz` archive like `PSPDFKit-Web-binary-<%= latest_version(:web) %>.tar.gz` to your computer.
291
290
292
291
2. Once the download is complete, extract the archive and copy the **entire** contents of its `dist` folder to your project’s `web/assets` folder or any other folder of your choice inside the web subfolder.
293
292
@@ -312,49 +311,50 @@ To see PSPDFKit for Flutter in action check out our [Flutter example app](exampl
312
311
313
312
Showing a PDF document inside your Flutter app is as simple as this:
PSPDFKit is a commercial product and requires the purchase of a license key when used in production. By default, this library will
322
-
initialize in demo mode, placing a watermark on each PDF and limiting usage to 60 minutes.
320
+
Nutrient is a commercial product and requires the purchase of a license key when used in production. By default, this library will initialize in demo mode, placing a watermark on each PDF and limiting usage to 60 minutes.
323
321
324
-
To purchase a license for production use, please reach out to us via https://pspdfkit.com/sales/form/.
322
+
To purchase a license for production use, please reach out to us via [contact_sales].
325
323
326
-
To initialize PSPDFKit using a license key, call either of the following before using any other PSPDFKit APIs or features:
324
+
To initialize Nutrient using a license key, call either of the following before using any other Nutrient APIs or features:
327
325
328
326
To set the license key for both Android and iOS, use:
To upgrade PSPDFKitforFlutterin your app, please refer to the [Upgrade and Migration Guides][flutter upgrade] section.
337
+
To upgrade NutrientforFlutterin your app, please refer to the [Upgrade and Migration Guides][flutter_upgrade] section.
341
338
342
339
# Troubleshooting
343
340
344
-
For Troubleshooting common issues you might encounter when setting up PSPDFKit for Flutter, please refer to the [Troubleshooting][] section.
345
-
341
+
For Troubleshooting common issues you might encounter when setting up Nutrient for Flutter, please refer to the [Troubleshooting][troubleshooting] section.
0 commit comments