Dennismweldy opened a new issue #365: Unable to open content from Dropbox URL: https://github.com/apache/cordova-plugin-file/issues/365 # Bug Report When we try to open a file via an intent from the dropbox application (168.2.2) with the cordova plugin 6.0.1 it fails. ## Problem The resolveLocalFileSystemURL fails when trying to retrieve the modofied date. this ### What is expected to happen? We should be able to retrieve the file entry ### What does actually happen? It fails. ## Information the problem is that dropbox returns a string of the form Weekday, month, date Year timezone which is not parsable as a long. ### Command or Code The method used is resolveLocalFileSystemURL, which eventually calls the function lastModifiedDateForCursor in contentFileSystem.java if (columnIndex != -1) { String dateStr = cursor.getString(columnIndex); if (dateStr != null) { return Long.parseLong(dateStr); } } ### Environment, Platform, Device Android Pixel 2 ### Version information Cordova: 7.1 Cordova-plugin-file: 6.0.1 android platform: 6.4.0 Other Frameworks: AngularJS Android : 10 Dropbox 168.2.2 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
