Skip to content
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

Unable to open image file in android #313

Open
lim-enhui opened this issue Nov 19, 2020 · 1 comment
Open

Unable to open image file in android #313

lim-enhui opened this issue Nov 19, 2020 · 1 comment

Comments

@lim-enhui
Copy link

Expected Behaviour

Open an Image File

Actual Behaviour

2020-11-19 20:57:09.790 7302-7408/io.ionic.starter V/Capacitor/Plugin: To native (Cordova plugin): callbackId: FileOpener2698958239, service: FileOpener2, action: open, actionArgs: ["content://com.android.providers.media.documents/document/image%3A25","image/jpeg"]
2020-11-19 20:57:09.798 7302-7302/io.ionic.starter I/Capacitor/Console: File: http://localhost/default~tab2-tab2-module~tab3-tab3-module-es2015.js - Line 2823 - Msg: Error opening file

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 10

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Pixel 4XL

Cordova CLI info

cordova info

Here is the output:

Plugin version

cordova plugin version | grep cordova-plugin-file-opener2

Here is the output:

cordova-plugin-file-opener2 (3.0.5)

Sample Code that illustrates the problem

Logs taken while reproducing problem

Run

adb logcat PluginManager:V CordovaPlugin:V CordovaLog:V chromium:V *:S

while testing the bug in your app to get some output from your error. This will help you to understand more about the nature of your problem.

@shnist
Copy link
Collaborator

shnist commented Jan 31, 2023

hi @lim-enhui , as this issue is quite old it will be closed soon. If you still require assistance please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants