Replaces node-fetch and window.fetch with cross-fetch
It's better to rely on a fetch library to handle detecting the runtime environment. For example Ionic framework sets process.versions.node = false which wasn't handled properly. As a result it was using node-fetch which crashes the Ionic runtime.
Replaces node-fetch and window.fetch with cross-fetch
It's better to rely on a fetch library to handle detecting the runtime environment. For example Ionic framework sets process.versions.node = false which wasn't handled properly. As a result it was using node-fetch which crashes the Ionic runtime.