Navigate from native app to browser

Hi,

I am running a javascript on iOS build where onclicking the button redirects to browser facebook login page.

So I am able to click the button in native app and unable to connect to the browser facebook login page and come back to app after entering email id and password. So how can solve this issue?