v2.2.1
Full Changelog: https://github.com/afreakyelf/Pdf-Viewer/compare/v2.2.0...v2.2.1
- Improve caching mechanism
- Fixed no progress/loading indicator when opening Pdf
- Fixed where the library was loading entire PDF in one go; now it loads in segments as you scroll
v2.2.0
- discord notification by @afreakyelf in https://github.com/afreakyelf/Pdf-Viewer/pull/122
- Update to the README.md file by @simonskayi in https://github.com/afreakyelf/Pdf-Viewer/pull/123
- refactor: split PdfRendererViewCompose into overloaded functions for varied sources by @deddyrumapea in https://github.com/afreakyelf/Pdf-Viewer/pull/132
- Added Dispatchers.Main coroutine scope when invoking listener.onDownloadStart() by @nishant-sbnri in https://github.com/afreakyelf/Pdf-Viewer/pull/134
- Remove unused pdf engine by @4brunu in https://github.com/afreakyelf/Pdf-Viewer/pull/141
- Remove force unwrap by @4brunu in https://github.com/afreakyelf/Pdf-Viewer/pull/144
- Fix x and y translation issue on double tap by @bastionkid in https://github.com/afreakyelf/Pdf-Viewer/pull/149
- [BUG] Missing Content-Length for PDF behind Cloudflare
- [BUG] FileNotFoundException when addBitmapToCache
- Double-tap to zoom
- Are you considering supporting HTTP/2.0?
- Improve Error Handling when receiving invalid PDF
- [BUG] PinchZoomRecyclerView.canScrollVertically(1) always return false
- [BUG] recyclerView.computeVerticalScrollOffset() always return 0
- [BUG] Broken download of cached file
- Crash: contentLengthLong throws NoSuchMethodError for Android 6 or below.
- [BUG] Android 15 support (edge-to-edge)
- [BUG] Caching causes crash
- Enable/Disable Zoom functionality
- Title one line when file name too long,
- @simonskayi made their first contribution in https://github.com/afreakyelf/Pdf-Viewer/pull/123
- @deddyrumapea made their first contribution in https://github.com/afreakyelf/Pdf-Viewer/pull/132
- @nishant-sbnri made their first contribution in https://github.com/afreakyelf/Pdf-Viewer/pull/134
- @4brunu made their first contribution in https://github.com/afreakyelf/Pdf-Viewer/pull/141
- @bastionkid made their first contribution in https://github.com/afreakyelf/Pdf-Viewer/pull/149
Full Changelog: https://github.com/afreakyelf/Pdf-Viewer/compare/v2.1.1...v2.2.0
Minor fix
- Min SDK set back to 21 https://github.com/afreakyelf/Pdf-Viewer/issues/120
Full Changelog: https://github.com/afreakyelf/Pdf-Viewer/compare/v2.1.0...v2.1.1
Bug fixes and Maven support
- Fixed file not in PDF format or corrupted #114, https://github.com/afreakyelf/Pdf-Viewer/issues/113
- Fixed scroll issue https://github.com/afreakyelf/Pdf-Viewer/issues/112
- Added
jumpToPage
to jump to a particular page https://github.com/afreakyelf/Pdf-Viewer/issues/111 - Fixed currentPage not closed issue https://github.com/afreakyelf/Pdf-Viewer/issues/109
- Added Maven central support.. Yay!! Painful but got it done! Thank you @vanniktech
Full Changelog: https://github.com/afreakyelf/Pdf-Viewer/compare/v2.0.7...v2.1.0
v2.0.7
- Support init PdfRendererView with Uri by @phucynwa in https://github.com/afreakyelf/Pdf-Viewer/pull/103
- Support getting loaded bitmaps by @phucynwa in https://github.com/afreakyelf/Pdf-Viewer/pull/104
- Fixed pinch-to-zoom issue https://github.com/afreakyelf/Pdf-Viewer/issues/106
Full Changelog: https://github.com/afreakyelf/Pdf-Viewer/compare/v2.0.5...v2.0.7
File download permissions issue fix
Changes:
- Request runtime permissions for versions below Android 10.
- Use scoped storage practices for Android 10 and above.
- Use the Storage Access Framework (SAF) for user-selected locations.
Major update with bunch of fixes and new features Latest
- Orientation Change Handling: Improved to maintain the current page position during device orientation changes.
- Security Enhancement for File Paths: Implemented secure file path handling to prevent directory traversal attacks.
- Efficient Caching Strategy: Optimized to store only the most recent PDF file in the cache, reducing storage usage.
- Screenshot Prevention Feature: Added functionality to disable screenshots and screen recordings for enhanced privacy.
- Dynamic UI Customization: Introduced flexibility in customizing the UI elements programmatically based on XML attributes.
- Compatibility with 'NoActionBar' Theme: Ensured default values for missing attributes, enabling smooth integration with various themes.
- Jetpack Compose Support: Added a composable function PdfRendererViewCompose for Jetpack Compose applications.
- Performance Optimization: Enhanced performance for better handling of large PDF files.