Closed NickToropov closed 6 years ago
Refactored tempFilePath to be in external storage independent of passed filePath.
Refactored copyTempFileToActualFile method to use FileChannel.transferTo instead of File.renameTo.
Added requesting WRITE_EXTERNAL_STORAGE permissions.
Added WRITE_EXTERNAL_STORAGE permission in plugin.xml.
Refactored tempFilePath to be in external storage independent of passed filePath.
Refactored copyTempFileToActualFile method to use FileChannel.transferTo instead of File.renameTo.
Added requesting WRITE_EXTERNAL_STORAGE permissions.
Added WRITE_EXTERNAL_STORAGE permission in plugin.xml.