Issue with redirecting to my app

Hi, guys. I have an issue with redirecting after Log In in AWS Cognito back to my app. It works fine when i redirect to custom browser page, but when i try to go to my app back - it stops responding or just a Linking.addEventListener can’t handle that url.