- Dart's sound null safety is now supported.
- The PDFBoxResourceLoader is now used on Android to load PDF documents much faster than before. The fast initialization (i.e. fastInit) option has therefore been removed.
- PDF documents are no longer kept alive in the platform-specific scope. Instead, they are opened and closed at each read with the respective library functions. This does not affect the caching mechanism utilized directly in Dart. This change prevents errors due to multiple document accesses at the same time.
- Tests have been implemented.
- The possibility to initialize a document faster (without immediately initializing the text stripper engine) on Android has been added.
- A class for the PDF document information has been added. Now this information is retrieved on the initialization of the document.
- Code formatting has been improved and minor issues solved.
- The support for password-encrypted PDF documents has been added.
- Some new methods have been added to PDFDoc:
- fromURL to load a PDF document from an URL.
- deleteFile to delete the file related to the document.
- deleteAllExternalFiles to delete all the files of the document imported from outside the local file system.
- Part of the internal logic has been simplified.
- A demo of the example app has been added.
- An issue that caused a crash on iOS, when retrieving the text of the last page of the entire document, has been fixed.
- The plugin is ready to be used.
- The first release is out! It provides support for iOS and Android.