-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
App crashes when opening some screens directly from a URL #79
Comments
Is it this piece of code that comes too late maybe:
I noticed it's called before |
Could you show examples of this kind of screens? The thing is, react hooks should always all be called, so if there's anywhere where this is called before a hook, it's actually wrong, and I'm surprised it even works. |
Actually I didn't explain well. The hooks escape with this (in
|
Ah yeah, that makes sense. The screens that don't have it just assume they could never be accessed directly (obviously wrong now with linking), and that's the issue. |
This happens on web (obviously) in several screens. I found two for now. This happens on URLs that work when navigating the app.
We get the message
Unhandled Rejection (TypeError): can't access property "getCollectionManager", etebase is undefined
.CollectionMembersScreen
with this stack:ItemEditScreen
with this stack:The text was updated successfully, but these errors were encountered: