Skip to content

Cannot run example #5

@Rimobul

Description

@Rimobul

I have tried the example project, but it does not run neither on Android, nor iOS.

On Android, the application builds, but then I get this: java.util.RuntimeException: SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:10403).

On iOS the application does not even pass the build process, XCode gives me 2 errors saying "Ignoring return value of function declared with 'warn_unused_result' attrubute", lines 494 and 1334 in RCTSRWebSocket.m.

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