pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 583 forks source link

Unable to open image file in android #313

Open lim-enhui opened 3 years ago

lim-enhui commented 3 years ago

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 commented 1 year ago

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