nagdevbharat opened a new issue #432:
URL: https://github.com/apache/cordova-plugin-file/issues/432


   # Bug Report
   I have recently update cordova-android to 9 and also updated the File plugin 
and I am not able to select file or video from Google Drive.
   
   ## Problem
   Updating the version has started giving error for selecting files. All other 
places do work but for Google drive it returns error.
   
   ### What is expected to happen?
   File should be selected
   
   
   ### What does actually happen?
   File is not being selected unless its image.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   - [x] select file from recent
   - [x] select file from downloads folder
   - [x] select file from any other place
   - [x] select image from Google drive
   - [ ] select video or any other file from Google drive
   
   Errors:
   3943-3975/? E/oiface: DynamicFps is not enabled!
   1872-4430/? E/TaskPersister: File error accessing recents directory 
(directory doesn't exist?).
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Android studio config:
   ```xml
   minSDKVersion: 19
   targetSDKVersion: 29
   android:requestLegacyExternalStorage="true"
   <preference name="AndroidPersistentFileLocation" value="Compatibility" />
   ```
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Android 10
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   ```cli
   Ionic:
      Ionic CLI          : 5.2.4
      Ionic Framework    : ionic-angular 3.9.2
      @ionic/app-scripts : 3.2.4
   
   Cordova:
      Cordova CLI       : 9.0.0 ([email protected])
      Cordova Platforms : android 9.0.0, ios 5.1.1
      Cordova Plugins   : cordova-plugin-file 6.0.2, 
cordova-plugin-file-opener2 2.0.19, cordova-plugin-file-transfer 1.7.1, 
cordova-plugin-filechooser 1.2.0, cordova-plugin-filepath 1.5.8, 
cordova-plugin-filepicker 1.1.6,
   
   Utility:
      cordova-res : 0.15.1 
      native-run  : not installed
   
   System:
      Android SDK Tools : 26.1.1
      ios-sim           : 7.0.0
      NodeJS            : v10.16.2
      npm               : 6.9.0
      OS                : macOS Catalina
      Xcode             : Xcode 10.2 Build version 10E125
   ```
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] 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]



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

Reply via email to