mjacques-notur opened a new issue #980:
URL: https://github.com/apache/cordova-android/issues/980
# Bug Report
After overriding the function on a plugin it is not being called.
This happens on ionic 5 with webview 4.1.3
## Problem
The first line of the override should be seen on logcat
### What is expected to happen?
Logcat should show feedback of the executed function
### What does actually happen?
The function "handleOpenForRead" is not being executed
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
the problem is with the plugin integration of webview 4.1.3 and crypto-file
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
@Override
public CordovaResourceApi.OpenForReadResult handleOpenForRead(Uri uri)
throws IOException {
CordovaResourceApi.OpenForReadResult res = super.handleOpenForRead(uri);
LOG.d(TAG, "decrypt: " + uri);
return res;
}
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
Android from api 22 and above, haven't tested lower versions
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
cordova platform: android 8.1.0
plugins: webview 4.1.3, crypto-file
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x} I included all the necessary information above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]