CDrummond / lms-material-app

Android WebView wrapper for LMS Material Skin
MIT License
52 stars 8 forks source link

Can't open pdf's #35

Open emiliogonzalezjr opened 1 day ago

emiliogonzalezjr commented 1 day ago

I am using version 0.8.2 on a Samsung Galaxy A54 and with a pixel tablet.

When I try to open a pdf in the Lyrion app the following message appears:

Do not have permissions to run Termux commands

I don't understand why I need termux to open a pdf, a pdf reader app is not enough? In the lyrion app I can open .txt files, when I select the .txt file it open in my default browser, isn't this the expect behavior for the .pdf files as well?

I install Termux and setup the squeezelite app there. I can play musics with the Lyrion app through the Squeezelite app without problens. I can start and stop the squeezelite app with the lyrion app but I can't open a pdf, am I missing something? Is something that need to be configure in the app in order to be able to open pdf's?

Screenshot_20241020_102209_Lyrion

CDrummond commented 15 hours ago

The error message is wrong - silly copy and paste error on my part. However, this only happens if there was an error launching the PDF viewer. Might be I need to ask for anther permission, I'll investigate when I get time.

emiliogonzalezjr commented 10 hours ago

Just to give you more information, when I acess my LMS server with my mobile browser (firefox), I can open my pdf without problems.