breautek commented on issue #564: URL: https://github.com/apache/cordova-plugin-file/issues/564#issuecomment-1497408000
I'm still unable to reproduce it with those configurations via Android Emulator Unfortunately, I don't have a physical device with Android 6 either that I can use to test with. Do you see a difference in behaviour when using an Android Emulator vs the physical device? Here's a few things I'd try so we can isolate the issue... If the device has an attached SD card, try removing it. > cordova.js:1230 Channel not fired: onFileSystemPathsReady Seems like the routine for obtaining the file paths is not returning, or is slow at returning, which is probably the cause of the `deviceready` hang. This is done here: https://github.com/apache/cordova-plugin-file/blob/master/www/fileSystemPaths.js#L61 For some reason, we don't attach an error handler that might actually show some useful information. If you could (for the sake of troubleshooting), modifying: ```js exec(after, null, 'File', 'requestAllPaths', []); ``` to ```js exec(after, function(error) { console.error(error); }, 'File', 'requestAllPaths', []); ``` You'll want to clone/fork the repo to make this change, then to install it: ``` cordova plugin remove cordova-plugin-file cordova plugin add ../path/to/repo/cordova-plugin-file ``` If the error handler doesn't present us with any useful information, then we will have to start debugging on the native side, to see what https://github.com/apache/cordova-plugin-file/blob/b32be30e4bd012f9d9568a9cc11926b2ad6c14f7/src/android/FileUtils.java#L1016 is actually doing. -- 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]
