Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

TypeError: Undefined is not and object(Evaluating 'nativeModule.addListener). #14

@omi10859

Description

@omi10859

code causing error:

componentDidMount(){
Proximity.addListener(this._proximityListener);
 }
_proximityListener(data) {
    console.log(data);
}
componentWillUnmount() {
  Proximity.removeListener(this._proximityListener);
}

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