URL opening in app problem

So, I actually have made an app that loads my website in web viewer component. Now, to force an user with my app downloaded open it in the app, I have used:

<meta content='0;url=scheme://example.com/ + {canonical.url}' http-equiv='refresh'/>

this automatically opens my app with the url user was surfing in his browser.

Now, the problem with me is that, since my app is using a webviewer component and opens the same website in it, It keeps on loading and loading the app again and again…

I hope you have understood my problem.

Can you share a short video clip of your problem?
It will help us to get more clarity.