Geshaa commented on issue #613:
URL: 
https://github.com/apache/cordova-plugin-file/issues/613#issuecomment-1826247867

   Yep @tmishutin , I was just able to make use of this plugin as well a couple 
of days ago.
   
   `
   const ReadWriteFilesDeviceMediaStore = async (stringData, fileName) => {
                 const base64Data = 
btoa(unescape(encodeURIComponent(stringData)))
                 const result = await cordova.plugins.safMediastore.writeFile({ 
"data": base64Data, "filename": fileName })
                 return result;
             }
   
               ReadWriteFilesDeviceMediaStore('string for export', 
'fileName.txt').
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to