Found some time and motivation, try this:
testLargePDFV1.aia (2.4 MB)
There is some additional code in the extension that checks for number of pages, and generates a list of page ranges (I provided a label to show these). Additionally a startPage and an endPage variable is added to the main ViewPDF block.
Then the first range is shown, and a Next button appears. Clicking this will generate the next range of pages, and so on.
For PDF < 50 pages you can use startPage = 0 and endPage = -1 to show the entire PDF.
A bit of a mix and match between extension code and blocks, but it seems to work OK.