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
* Fix import in getting started code snippet
* Update iOS requirements
* Add “Migrating from Version 1.10.3” section in the main README
* Bump version number to 1.10.6
* Update changelog for 1.10.6
const String PSPDFKIT_FLUTTER_PLUGIN_TITLE = 'PSPDFKit Flutter Plugin example app';
@@ -398,6 +398,40 @@ showDocument() async {
398
398
399
399
Please ensure [you signed our CLA](https://pspdfkit.com/guides/web/current/miscellaneous/contributing/) so we can accept your contributions.
400
400
401
+
# Migrating from Version 1.10.3
402
+
403
+
Q: I updated the Flutter plugin and I am getting the following error:
404
+
405
+
```bash
406
+
lib/main.dart:8:8: Error: Error when reading '../../.pub-cache/git/pspdfkit-flutter-b6241555b1ee3e816a0dce65145991c1a4477d94/lib/pspdfkit.dart': No such file or directory
407
+
import 'package:pspdfkit_flutter/pspdfkit.dart';
408
+
^
409
+
lib/main.dart:37:7: Error: The getter 'Pspdfkit' isn't defined for the class '_MyAppState'.
410
+
- '_MyAppState' is from 'package:myapp/main.dart' ('lib/main.dart').
411
+
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Pspdfkit'.
412
+
Pspdfkit.present(tempDocumentPath);
413
+
^^^^^^^^
414
+
lib/main.dart:58:32: Error: The getter 'Pspdfkit' isn't defined for the class '_MyAppState'.
415
+
- '_MyAppState' is from 'package:myapp/main.dart' ('lib/main.dart').
416
+
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Pspdfkit'.
A: If you were using version [1.10.3](https://github.com/PSPDFKit/pspdfkit-flutter/releases/tag/1.10.3) or earlier, you will need to update the imports in your Dart files like so:
0 commit comments