Skip to content

Event list or callback if unauthenticated #265

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

Closed
aBuder opened this issue Sep 3, 2019 · 2 comments
Closed

Event list or callback if unauthenticated #265

aBuder opened this issue Sep 3, 2019 · 2 comments

Comments

@aBuder
Copy link

aBuder commented Sep 3, 2019

Hi,

is there an solution do handle errors globally. I have an app with an auth provider class, the auth provider hang on root of app. So if I can listen to parse errors in this provider, I can handle unauthenticated state and redirect to login state.

@phillwiggins
Copy link
Member

phillwiggins commented Sep 3, 2019 via email

@aBuder
Copy link
Author

aBuder commented Sep 3, 2019

Thx,

I saw an cool package https://pub.dev/packages/event_bus I will use it. I always have repository pattern and will send events with package event_bus

@aBuder aBuder closed this as completed Sep 3, 2019
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

2 participants