<How to open Pdf in android 11 from scoped storage...
# stackoverflow
u
How to open Pdf in android 11 from scoped storage I have a question about file permissions in android 11. I am trying to open a PDF file in PDF viewer from my application but I am unable to do that because of the change in permissions in android 11. Can someone please give me a code snippet of how to do that since I am unable to find any code regarding this issue. I am saving the pdf file in context.getApplicationInfo().dataDir I have tried to open the pdf file via val pdfFile = File(filePath)...