i tested with all the aia provided and happens to have the same issue.
i'm using android 13 and another issue is that my phone is denying permission to read/write external storage. I haven't tested using the apk. only companion
sure but the extension that i have does copy the pdf to asd
and i tested it. So i don't need that. I want an answer to why it shows that runtime error.
before using the solution provided by you , i managed to manually program to encode to base64 using kio4 base64 extension and upload it to google drive using apps script. But when i open the file it does'nt work and says its damaged. So it was a no go. Then i tested the base64 encoding using an online website by converting the file to base64 then manually putting that base64 string in app inventor. But the same error occured.