I am trying to use FileProvider to share a file from my app via WhatsApp. When I try run the code to do this I get the following error:
When I log the SharedFolder property I see that it is empty. I have another almost identical app that does manage to successfully use FileProvider to share a file via WhatsApp. However when I copy the code across I get the above error. Any suggestions where I'm going wrong?
B4X:
java.io.FileNotFoundException: scorerdb.db: open failed: EROFS (Read-only file system)
When I log the SharedFolder property I see that it is empty. I have another almost identical app that does manage to successfully use FileProvider to share a file via WhatsApp. However when I copy the code across I get the above error. Any suggestions where I'm going wrong?