naoufal / react-native-safari-view

A React Native wrapper for Safari View Controller.

Home Page:https://www.npmjs.com/package/react-native-safari-view

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

target="_blank" not work on iOS

d2luu opened this issue · comments

commented

I have a problem with a link has target="_blank" property.
I can only click one single target="_blank" link. When clicking another target="_blank" link on this page (was opened by target="_blank") this won't work.
How can I fix it?

Maybe cause by SFSafariViewController?
https://stackoverflow.com/questions/53701940/target-blank-links-not-opening-in-sfsafariviewcontroller

Did you solved this?I am facing this same issue.

Actually i used this for payment integration. When user clicks make button, i open react-native-safariview. It contains amazon pay button. On clicking that, it will open new tab and ask user credentials. But unfortunately after logged in, the browser shows empty page.

commented

@Johncy1997
Not yet.
I used this for payment too, but I changed to use Webview instead of safari-view.

I think this is an issue with the SFSafariView, and not with this library.
If someone can prove otherwise, let me know and we can reopen this issues.