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
docs: cancel Phase 6 (enhanced metadata) due to Android library bug
- AhmerPdfium library caches Meta object at native layer
- Same Meta object hashcode observed across different PDFs
- Attempted multiple workarounds: OnLoad callback, Recycle(), PdfiumCore - all failed
- Feature cancelled to maintain cross-platform parity
- Basic metadata (Title/Author/Subject) remains available via DocumentLoadedEventArgs
**Status:**Cancelled due to Android library limitations
145
145
146
-
**Goal:**Expose richer document metadata across platforms
146
+
**Reason:**The AhmerPdfium library has a fundamental bug where the `PdfDocument.Meta` object is cached at the native Pdfium layer and reused across different PDF documents. This causes stale metadata to be returned after switching documents.
147
147
148
-
#### 6.1 Extended Document Properties
149
-
- Add properties to `DocumentLoadedEventArgs`:
150
-
-`Creator` (string)
151
-
-`Keywords` (string)
152
-
-`CreationDate` (DateTime?)
153
-
-`ModificationDate` (DateTime?)
154
-
-**iOS:** Read from `PdfDocument.DocumentAttributes` dictionary
155
-
-**Android:** Attempt to read from `PdfDocument` metadata if available
156
-
- Use PdfiumCore API if exposed
157
-
- Otherwise return null (graceful degradation)
148
+
**Investigation conducted:**
149
+
- ✅ Confirmed bug: Same Meta object hashcode across different PDFs
**Decision:** Feature cancelled. Basic metadata (Title, Author, Subject) remains available through `DocumentLoadedEventArgs` which works reliably on both platforms.
0 commit comments