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

Use globally #11

Open
graig12 opened this issue Dec 9, 2018 · 7 comments
Open

Use globally #11

graig12 opened this issue Dec 9, 2018 · 7 comments
Labels
enhancement New feature or request

Comments

@graig12
Copy link

graig12 commented Dec 9, 2018

this is not an issue per say bit how can we use this globally
as opposite to on a particular screen. I am using react navigation lib
and i want this to be able to triggered irrespective of the screen the user is currently on

@pribadi1st
Copy link

put the component in app.js

@carsonwah
Copy link
Owner

Sorry for the late reply. This is a good suggestion and definitely worth doing.

Technically I do not have the experience of doing it but I will take a look into some toast libraries and figure it out.

Any contribution is also welcome too.

@carsonwah carsonwah added the enhancement New feature or request label Jan 2, 2019
@carsonwah
Copy link
Owner

@alexpchin
Copy link

put the component in app.js

Why will this not work?

@carsonwah
Copy link
Owner

Maybe he wants an adhoc way to show the popup, e.g. some specific screens want to show it.
I think this is a valid feature request, because it will be more convenient if we can call it anywhere in the app.

@JDMathew
Copy link

Is it not possible to put the component in the app.js add a listener for global state updates and fire notification off this?

@16ntu1120
Copy link

I have a query. How can I show popup in my app's background state? Can anybody tell me about that?

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

No branches or pull requests

6 participants