Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

undefined is not a function (evaluating 'fetch(~)') #644

@kuhbaar

Description

@kuhbaar

"react-native-code-push": "^1.16.1-beta",
"react-native": "^0.39.2",

  • Does this reproduce on a simulator, or only on a physical device? both.
  • Repro steps and/or stack trace:
    Release:
    [CodePush] Checking for update.
    rendering LoginScene
    [CodePush] Reporting binary update (1.0)
    [CodePush] Report status failed: {"appVersion":"1.0"}
    [CodePush] An unknown error occurred.
    [CodePush] undefined is not a function (evaluating 'fetch(n,{method:o(e),headers:a,body:t})')
    Debug:
    same but:
    [CodePush] undefined is not a function (evaluating 'fetch(url,{method:getHttpMethodName(verb), headers:headers,body:requestBody})')

I installed code push using the manual way. I tried upgrading / downgrading react-native with no result.
Somebody knows the issue?

cheers

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