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

Account for Login/Authentication #298

Open
lawloretienne opened this issue Jul 27, 2020 · 1 comment
Open

Account for Login/Authentication #298

lawloretienne opened this issue Jul 27, 2020 · 1 comment

Comments

@lawloretienne
Copy link

If I'm not mistaken the Readme shows examples of how to use this library but doesn't show how to handle the situation where a user is logged out tries to open a deeplink. Where should that logic live that will check if a user is logged in or not? Then after a user signs in , will the deeplink be deferred, will the user be taken to the location of the original deeplink?

Some sample code of how to accomplish this task would go a long way.

@rossbacher
Copy link
Collaborator

The situation of what to do when a user is logged out (and opens a deeplink) has nothing to do with this lib, as it would be the same if you would do the deeplinking without this lib.

Usually what you do is provide a central spot where you check if the deeplink in question can be navigated to without being logged in. In our example code this could be in onCreate of the DeepLinkActivity

But again the issue is completely separate from using this lib for deeplinking.

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