Skip to content

Commit 1ecb936

Browse files
committed
Update example document
Signed-off-by: Simone Arpe <[email protected]>
1 parent 566e865 commit 1ecb936

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ adb push /path/to/your/document.pdf /sdcard/document.pdf
216216
url: git://github.com/PSPDFKit/pspdfkit-flutter.git
217217
```
218218

219-
4. Add a `PDFs` directory with a document in it in the root directory: `myapp/PDFs/Guide_v4.pdf` and specify it in your `pubspec.yaml`:
219+
4. Add a `PDFs` directory with a document in it in the root directory: `myapp/PDFs/PSPDFKit.pdf` and specify it in your `pubspec.yaml`:
220220

221221
```yaml
222222
assets:
@@ -264,7 +264,7 @@ import 'package:flutter/services.dart';
264264
import 'package:path_provider/path_provider.dart';
265265
import 'package:pspdfkit_flutter/pspdfkit.dart';
266266
267-
const String DOCUMENT_PATH = 'PDFs/Guide_v4.pdf';
267+
const String DOCUMENT_PATH = 'PDFs/PSPDFKit.pdf';
268268
const String PSPDFKIT_FLUTTER_PLUGIN_TITLE = 'PSPDFKit Flutter Plugin example app';
269269
const String OPEN_DOCUMENT_BUTTON = 'Tap to Open Document';
270270
const String PSPDFKIT_FOR = 'PSPDFKit for';

example/PDFs/Guide_v4.pdf

-2.12 MB
Binary file not shown.

example/PDFs/PSPDFKit.pdf

2.95 MB
Binary file not shown.

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:flutter/services.dart';
1515
import 'package:path_provider/path_provider.dart';
1616
import 'package:pspdfkit_flutter/pspdfkit.dart';
1717

18-
const String _documentPath = 'PDFs/Guide_v4.pdf';
18+
const String _documentPath = 'PDFs/PSPDFKit.pdf';
1919
const String _lockedDocumentPath = 'PDFs/protected.pdf';
2020
const String _imagePath = 'PDFs/PSPDFKit Image Example.jpg';
2121
const String _formPath = 'PDFs/Form_example.pdf';

0 commit comments

Comments
 (0)