FranGhe opened a new issue, #584:
URL: https://github.com/apache/cordova-plugin-file/issues/584

   First of all, sorry if my english it's not so good...
   
   I developed my app with:
    - cordova-plugin-file 7.0.0 
    - android 11.0.0 
    - and on config.xml <preference name="AndroidPersistentFileLocation" 
value="Internal" />
   and everything was working fine.
   
   At the end of my development I decided to update the plugins and platform... 
and surprise... cordova-plugin-file 8.0.0 doesn'work with android 11.0.0
   
   To update them I deleted the platform and then the plugin ... I first 
inserted the plugin and then the platform and during the installation of the 
plugin for the platform this message appears:
   _"Plugin doesn't support this project's cordova-android version. 
cordova-android 11.0.0. failed version requirement: Skipping 
'cordova-plugin-file' for android."_
   
   If I start with cordova run my app crash with message :"Cannot read 
properties of undefined (reading 'dataDirectory')"
   
   Following some suggestions I changed
   `<preference name="AndroidPersistentFileLocation" value="Internal" />`
   with
   `<preference name="AndroidPersistentFileLocation" value="Compatibility" />`
   but nothing changes.
   
   I reinstalled cordova-plugin-file 7.0.0 and I have a waning message like 
this:
   _
   The android persistent storage location now defaults to "Internal.
   Please check this plugin's README to see if your application needs any 
changes in the config.xml
   If this is a new application no changes are required. If this is an update 
to an existing application that did not specify an 
"AndroidPersistentFileLocation" you may need to add <preference 
name="AndroidPersistentFileLocation" value="Compatibility" /> to file 
config.xml in order for application to find previousely stored files.
   "_ 
   ... but everything works.
   
   Do you have any suggestions?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to