I'm working on an Hybrid App that uses Cordova to target multiple platforms with HTML5/Javascript as the UI layer with native code as the backend. I have been following the guide from the 4.2 documentation and some of its listed resources.
Using PhoneGap | ArcGIS API for JavaScript 4.2
When trying to load the MapView and its tile set, I get Failed to Load Resource 404 file://.
I came across this link stating that MapView doesn't support the file:// protocol.
https://community.esri.com/thread/184314-basemaps-do-not-load-for-2d-maps-using-mapview-in-version-4...
So, I'm a little confused. Should I be targeting version 4.2 or should I be targeting 3.19?