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
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,15 @@
4
4
5
5
PSPDFKit wrapper for Flutter. Available at [pub.dev](https://pub.dev/packages/pspdfkit_flutter) and [GitHub](https://github.com/PSPDFKit/pspdfkit-flutter).
6
6
7
-
If you are new to Flutter, make sure to check our blog:
7
+
If you are new to Flutter, make sure to check our Flutter blog posts:
8
8
9
9
-[How I Got Started With Flutter](https://pspdfkit.com/blog/2018/starting-with-flutter/).
10
10
-[Getting Started with PSPDFKit Flutter](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 Wrappers](https://pspdfkit.com/blog/2019/advances-in-hybrid-wrappers/).
15
+
-[How We Maintain Our Public Flutter Project Using a Private Monorepo](https://pspdfkit.com/blog/2021/maintaining-open-source-repo-from-monorepo/).
11
16
12
17
For our quick-start guides, [check out our website](https://pspdfkit.com/getting-started/mobile/?frontend=flutter).
13
18
@@ -101,10 +106,10 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
101
106
mkdir PDFs
102
107
```
103
108
104
-
- Add a sample document into the newly created `PDFs` directory called `Document.pdf`:
109
+
- Move a [sample document](example/PDFs/PSPDFKit.pdf) into the newly created `PDFs` directory, and rename it as `Document.pdf`:
105
110
106
111
```bash
107
-
cp ~/Downloads/Document.pdf PDFs/Document.pdf
112
+
cp ~/Downloads/PSPDFKit.pdf PDFs/Document.pdf
108
113
```
109
114
110
115
11. Specify the `assets` directory in`pubspec.yaml`:
@@ -153,7 +158,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
153
158
open ios/Runner.xcworkspace
154
159
```
155
160
156
-
4. Make sure the `iOS Deployment Target` is set to 12.0 or higher.
161
+
4. Make sure the `iOS Deployment Target` is set to 13.0 or higher.
@@ -189,11 +194,11 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
189
194
open ios/Podfile
190
195
```
191
196
192
-
10. Update the platform to iOS 12 and add the PSPDFKit Podspec:
197
+
10. Update the platform to iOS 13 and add the PSPDFKit Podspec:
193
198
194
199
```diff
195
200
-# platform :ios, '9.0'
196
-
+platform :ios, '12.0'
201
+
+platform :ios, '13.0'
197
202
...
198
203
target 'Runner'do
199
204
use_frameworks!
@@ -204,7 +209,7 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
204
209
end
205
210
```
206
211
207
-
11. Open `lib/main.dart` and replace the entire content with the contents of [demo_project_main.dart](doc/demo_project_main.dart). This simple example will load a PDF document from local device filesystem.
212
+
11. Open `lib/main.dart` and replace the entire content with the contents of [demo_project_main.dart.txt](doc/demo_project_main.dart.txt). This simple example will load a PDF document from local device filesystem.
208
213
209
214
12. Add the PDF document you want to display in your project’s `assets` directory.
210
215
- First create a `PDFs` directory:
@@ -213,10 +218,10 @@ Platform specific README exists for [Android](android/) and [iOS](ios/).
213
218
mkdir PDFs
214
219
```
215
220
216
-
- Add a sample document into the newly created `PDFs` directory called`Document.pdf`:
221
+
- Move a [sample document](example/PDFs/PSPDFKit.pdf) into the newly created `PDFs` directory, and rename it as`Document.pdf`:
217
222
218
223
```bash
219
-
cp ~/Downloads/Document.pdf PDFs/Document.pdf
224
+
cp ~/Downloads/PSPDFKit.pdf PDFs/Document.pdf
220
225
```
221
226
222
227
13. Specify the `assets` directory in`pubspec.yaml`:
0 commit comments