Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with sign to more than one event listener #51

Open
1 of 2 tasks
oron11 opened this issue May 24, 2018 · 0 comments
Open
1 of 2 tasks

Problem with sign to more than one event listener #51

oron11 opened this issue May 24, 2018 · 0 comments

Comments

@oron11
Copy link

oron11 commented May 24, 2018

Dev setup:

  • react-native-create-bridge version: 2.0.1
  • react-native version: 0.55.4

I am using create-bridge in a:

  • standalone library
  • existing React Native project

What you did:

Hi, After successfully installing the bridge and making an activity on android I need that my app
Will listen to 3 events from the activity(ACTION_SCREEN_OFF, ACTION_USER_PRESENT, ACTION_USER_ON). And I understand that there is a problem to listen in react native in one var to more than one event listeners.
How can I get over it?
*I saw that there is guides that saying to do global event listener but how I cant write it with the bridge(on the function the componentWillMount())?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant