Skip to content

listener not work's #6

@kingofday

Description

@kingofday

hi, i used this plugin in react-native :^0.57.1, i want to after invoke route to specific ecene like you said but listener not fire:
app.js:
componentWillMount(){
DeviceEventEmitter.addListener('appInvoked', (data) => {
const { route } = data;
console.log("data IS:");
console.log(data);
});
}
and i added to mainActivity.java part of code you said, but my log not appears,
can you help me what's wrong?

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