[change] Linking.openURL() opens in new tab.

Fix #1544
Close #1432
Close #1743
This commit is contained in:
Nicolas Gallagher
2021-02-04 14:25:51 -08:00
parent e493af50cf
commit b7b383098a
+2 -1
View File
@@ -87,7 +87,8 @@ class Linking {
const open = url => {
if (canUseDOM) {
window.location = new URL(url, window.location).toString();
const urlToOpen = new URL(url, window.location).toString();
window.open(urlToOpen, '_blank', 'noopener');
}
};