Skip to content

reassignment of const variable jobId #17

@nyilmaz

Description

@nyilmaz

https://github.com/parryworld/react-native-appupdate/blob/master/index.js#L11 here job is defined as constant but, it is reassigned here:

https://github.com/parryworld/react-native-appupdate/blob/master/index.js#L81

changing const to let resolves issue. Related error in android as follows:
com.facebook.react.common.JavascriptException: undefined is not a function (evaluating 'babelHelpers.readOnlyError("jobId")') crashes application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions