MikeMon 12 Posted March 17, 2020 Hi I've added a file to the deployment manager which is being copied to a specific folder on iOS and Android. When the user runs the app for the first time, I'm copying that file to another folder on the device and then deleting the original file. This is the problem: while using the app, the file is being deleted OK. But every time the app is run again, the file is reappearing. How can I permanently delete a file from a specific folder? Kindly advise Share this post Link to post
sjordi 39 Posted March 17, 2020 Instead of moving that file, isn't it better to put it to the right place right away and deal with a flag in a DB to know whether it has been initialized or not? Share this post Link to post
MikeMon 12 Posted March 17, 2020 3 hours ago, sjordi said: Instead of moving that file, isn't it better to put it to the right place right away and deal with a flag in a DB to know whether it has been initialized or not? Hi Steve I want to use my approach for files that I want to forcefully overwrite. If I use your approach, I can't overwrite an existing file on the device if it is newer. Share this post Link to post