-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App keeps crashing #8
Comments
I have experienced the same issue. The problem is as result of an IllegalArgumentException: |
How did you bypass it? Is the change in plugin needed? |
I ended up using an alternative plugin.
However, the problem seems that the plugin must be updated to Android X to resolve the issue.
I have experienced the same issue.
The problem is as result of an IllegalArgumentException: java.lang.IllegalArgumentException: method com.epicshaggy.filepicker.FilePicker.filePickerResult argument 2 has type android.app.Instrumentation$ActivityResult, got androidx.activity.result.ActivityResult
How did you bypass it? Is the change in plugin needed?
|
Thanks. Would you mind sharing the alternative plugin? |
Alternative plugin,
https://github.com/robingenz/capacitor-file-picker
|
I installed the plugin, copied the example, built the app and I am getting the file chooser and can see files on my device, but whenever I select a file, the app crashes, it just closes the app.
Ionic:
Ionic CLI : 6.18.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.8.4
@angular-devkit/build-angular : 12.1.4
@angular-devkit/schematics : 12.2.11
@angular/cli : 12.1.4
@ionic/angular-toolkit : 4.0.0
Capacitor:
Capacitor CLI : 3.2.5
@capacitor/android : 3.2.5
@capacitor/core : 3.2.5
@capacitor/ios : 3.2.5
The text was updated successfully, but these errors were encountered: