Open lim-enhui opened 3 years ago
Open an Image File
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
Android 10
Pixel 4XL
cordova info
Here is the output:
cordova plugin version | grep cordova-plugin-file-opener2
cordova-plugin-file-opener2 (3.0.5)
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.
hi @lim-enhui , as this issue is quite old it will be closed soon. If you still require assistance please let us know.
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
Here is the output:
Plugin version
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.