fancsali commented on issue #653:
URL: 
https://github.com/apache/cordova-plugin-file/issues/653#issuecomment-4106709393

   Well, being completely honest, my product would be truly cross platform...
   ... I'd like to have a lightweight browser version eventually.
   
   For now, that's the test (and only) platform - just to make the development 
cycle short and sweet.
   
   That being said, I built the app for Android, and it's even worse; the 
console says (using Chrome remote inspect/debug):
   ```
   index.js:45 Successful file write...
   index.js:48 Contructor of FILE handle ƒ (name, fullPath, fileSystem, 
nativeURL) {
       // remove trailing slash if it is present
       if (fullPath && /\/$/.test(fullPath)) {
           fullPath = fullPath.substring(0, fullPath.length - 1);
       …
   index.js:50 Getting FILE metadata FileEntry Metadata
   index.js:58 Contructor of DIRECTORY ENTRY handle ƒ (name, fullPath, 
fileSystem, nativeURL) {
       // add trailing slash if it is missing
       if ((fullPath) && !/\/$/.test(fullPath)) {
           fullPath += '/';
       }
       // add trailing slash if it is m…
   index.js:58 Contructor of DIRECTORY ENTRY handle ƒ (name, fullPath, 
fileSystem, nativeURL) {
       // add trailing slash if it is missing
       if ((fullPath) && !/\/$/.test(fullPath)) {
           fullPath += '/';
       }
       // add trailing slash if it is m…
   index.js:58 Contructor of DIRECTORY ENTRY handle ƒ (name, fullPath, 
fileSystem, nativeURL) {
       // remove trailing slash if it is present
       if (fullPath && /\/$/.test(fullPath)) {
           fullPath = fullPath.substring(0, fullPath.length - 1);
       …
   cordova.js:314 Uncaught ReferenceError: file is not defined
       at index.js:60:39
       at success (Entry.js:73:9)
       at Object.callbackFromNative (cordova.js:295:58)
       at <anonymous>:1:9
   ```
   
   The last message repeating several times, if I reload the app (i.e. that 
above is for the first ever run after installation).
   


-- 
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