Third Party Login in. IONIC Native App

I developed a PWA App. In that User is taken to a third party URL to perform login and after login they are redirected to a url with code value. Its working fine

Now when I am using the same in native apps its taking user to the login but not coming back to login. Third party login team configured redirect URL like myapp://devapp/?code=12345.
I tried IONIC webview but not able to understand how to close the webview. I tried deep linking ionic but its not working.Please advise a correct way to implement the same.

Alpesh Upadhyay