File Download Issue on shinyapps.io

Hello,

I have developed a shiny application that takes certain PDF files as input and outputs an Excel file in xlsx format. It works perfectly fine when I use the shiny application locally. However, it doesn't work on shinyapps.io because the downloaded output file is in the htm format and the download fails.

Do you know if shinyapps.io prohibits such a practice? If not, what steps should I follow?

Thanks