Skip to content

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

Description

@CelularBat

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions