I am currently facing a significant problem with Webview 3
. One of our developers upgraded it to webview 3
without utilizing the Ionic native webview plugin, and surprisingly, it is functioning well on our Ionic 3
application. As per the documentation available in this document, there have been breaking changes noted such as:
"Replace any usages of window.Ionic.normalizeURL() with window.Ionic.WebView.convertFileSrc()"
However, this modification was not implemented by the developer, but the functionality related to the camera
is still operational. For example,
imageURI = normalizeURL(imageURI)
continues to work effectively on webview 3
. Could you provide insights into why this behavior persists and what potential issues might arise for the application in the future?
Here are the relevant files:
package.json
{
"name": "amr",
"version": "3.0.1",
"author": "Ionic Framework",
...
config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id="mobile" version="4.5.32" versionCode="4.5.32" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
...
<content src="index.html" />
</widget>
Upon following the instructions provided in this documentation for an ionic 3
application, it resulted in displaying this error on the device instead. Is there an explanation for this discrepancy?
Git repository: https://github.com/Sampath-Lokuge/webview-3-with-ionic-3