Hi. I am new. I am trying to make a web app using web viewer. I have stored my html file in media files(by both methods- once uploading and once using aia file). I have seen every possible solution I could find.
Case 1- Without permission, it shows the html file in AI companion but not in apk (after building it).
Case 2- With permission, if I use external storage, it shows blank page as I don't use external storage. But, if I use internal storage, it shows access denied. For this, I tried building apk file -> install it -> give permission, but no permission prompt, even in settings -> no permission required.
Please help. I am very eager to know it's solution.
Thanks in advance (If problem gets solved...)
may.aia (862.4 KB)
I have attached the aia file. In the html file, I have used "../" to find the files required by the html. Even if I remove it, it doesn't helps.
Also, I have tried it on Android 4,7,9.
You need a component / extension that adds this permission (READ_EXTERNAL_STORAGE) to the Manifest. So add the File component (as a dummy) to your project and try again.
Note: A permission can only be requested if the permission is declared in the Manifest.