EDIT 8-2-2026 9:00: It appeared there was a simple workaround to avoid the publish issue. Updates have been published for 10.24.10+ and 11.6.3+. I leave the original message to avoid confusion.
I updated the PDF viewer widget in NativeFileDocuments to use another library which does not cause Android 16kb issues. However, the module update in the Marketplace got stuck in approval. To allow everyone to move forward quickly I provide a patch to use the new PDF viewer widget. It works in 10.24 and 11.6.x
Steps:
- Place the itvisors.NativePdfViewer.mpk in the widgets folder of your app, replacing the existing one
- Delete nanoflow NativeFileDocuments.SUB_CopyPdfForViewing, see screenshot for the location
- You will get errors because the nanoflow is now missing, ignore these
- Import the updated SUB_CopyPdfForViewing nanoflow in the same folder, this resolves the errors
- Create a new native build for your app. If you build locally, clean/clear your build output folder to get rid of any leftovers
- If you have included the logic of nanoflow SUB_CopyPdfForViewing in your own nanoflow, it no longer needs platform specific handling of the URL
You can find the required files here, the links go to the Slack post where I uploaded the files.
itvisors.nativepdfviewer.mpk
SUB_CopyPdfForViewing
