Skip to content

Changes signature of onMessage #15

@andreialecu

Description

@andreialecu

See:

typeof onMessage === 'function' && onMessage(nativeEvent);

I believe this should be onMessage({ nativeEvent });

With the current behavior, what seems to happen is that e.nativeEvent.data does not exist - and that's how it's supposed to work, but e.data does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions