I'm using "react-navigation" for my "react-native" frontend routing, and I have "Amazon Cognito" redirecting to my app with the path :
/loginredirect#id_token=sometoken
and I need a way for the frontend to read the "token" and act accordingly.
But the issue is, react-navigation seems to instantly change the route to the default route even though /loginredirect is a defined path for some route.
I need some way to get react-navigation to recognize the hash in the URL as a valid path and then grab that hash. Does anyone know if this is possible?