apache / apache/cordova-plugin-file
Google Drive is crashing on Android 13 when I select a PDF
- Dominant language
- JavaScript
- Stars
- 744
- Forks
- 754
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 1
Description
# Bug Report
I need to ensure that Google Drive does not present a problem; I cannot get any logs from Android Studio to identify why the crash occurs or why it is not possible.
## Problem
When I want to get a PDF from Google Drive on Android 13 the app is crashing, I can get files with the other apps.
### What is expected to happen?
It should be possible to get the file from Google Drive on Android 13
### What does actually happen?
After I select the file Google Drive is closing, showing that something happened and it was not possible to select the file, when I try it a second time the app crash.
## Information
The plugin is used through Capacitor
### Environment, Platform, Device
Ionic:
Ionic CLI : 6.19.0 (/Users/xxx/.nvm/versions/node/v16.14.2/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.2.5
@angular-devkit/build-angular : 14.2.4
@angular-devkit/schematics : 14.2.4
@angular/cli : 14.2.4
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.1.0
@capacitor/android : 4.1.0
@capacitor/core : 4.1.0
@capacitor/ios : 4.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res : 0.15.4
native-run (update available: 1.7.1) : 1.6.0
System:
Android SDK Tools : 26.1.1 (/Users/xxx/Library/Android/sdk)
ios-deploy : 1.11.4
ios-sim : ios-sim/9.0.0 darwin-arm64 node-v16.14.2
NodeJS : v16.14.2 (/Users/xxx/.nvm/versions/node/v16.14.2/bin/node)
npm : 8.5.0
OS : macOS
Xcode : Xcode 14.2 Build version 14C18
## Checklist
- [ x] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [x ] I included all the necessary information above
Contributor guide
Research direction
No source file or test is identified. Start by reproducing the PDF selection crash on Android 13 with Google Drive and capture Android logs to identify the failing plugin path. Done means selecting the PDF succeeds without the app closing or crashing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100