An object containing a PDF Block will open as a black screen on Android

Describe the bug
After uploading a PDF directly into Anytype Desktop using the PDF object type or by dragging and dropping a PDF into the object canvas, opening the corresponding object on Anytype Android will produce an empty screen.

To Reproduce
Steps to reproduce the behavior:

  1. Drag and drop a PDF file into Anytype Desktop, and it should be placed in the Object Canvas as a PDF (not file).
  2. Sync and open the same object on Anytype Android.
  3. The application should produce an empty screen once opening the object.

Here’s an image of what the blank screen looks like.

Expected behavior
Although the PDF block isn’t supported on Android just yet, I would have expected it to work similarly to how the Audio block works - by showing a file block and allowing the user to download it.

System Information:

  • OS: Android 12 - One UI 4 B4
  • Device Manufacturer/Model: SM-N986N
  • Anytype Version: Desktop: 0.22.3, Android: 0.5.0

Additional context
I do recall also encountering the blank screen on an Object with an extremely large code block on 0.4.4, but it eventually loaded after a few seconds. The same doesn’t seem to occur on 0.5.0.

[Update] According to user reports from the Telegram group, it appears that this is not dependent on the PDF block or the desktop client, but happens regardless of which platform the PDF was uploaded from.


will be fixed in 0.5.1. thanks for reporting.


1 Like