The problem is about making work one custom XHR polyfill with the zoneJS dectector of angular.
The history:
I'm using Ionic 4, with angular. At this moment i have warning about uiwebview api deprecation, so i try to add the cordova-plugin-wkwebview-engine, but because i use charge some local files (file://) the plugin doesn't like (some part are broken), so i installed cordova-plugin-wkwebview-file-xhr, but with this one i have:
Navigation triggered outside angular zone, did you forget to call ngZone?
I think that the problem is because the cordova-plugin-wkwebview-file-xhr add/modify customs code to de XMLHttpRequest and the zoneJs detection is lost.
So how i can make it work zoneJS with customs XMLHttpRequest? i can re-put the detection?
Some one ask one similar question here: https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/issues/52 but i think this problem is more about angular zoneJS working with the custom code