androidjs icon indicating copy to clipboard operation
androidjs copied to clipboard

ReferenceError: fetch is not defined (at backend) ???

Open CelularBat opened this issue 1 year ago • 0 comments

Describe the bug I made app in NodeJS. I've tested it in browser and everything works. After packing it into .apk my backend throws this error, when trying to use fetch(). Why?? I don't understand it, I'm using nodeJS v20. FetchAPI was implemented in v18. Does compiled backend in Android uses another nodeJS version than the app was created with?

Expected behavior no error.

CelularBat avatar May 24 '24 11:05 CelularBat