Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const googleLogin = () => {
const url = buildRedirectUrlForMobile('google');
if (Platform.OS === 'ios') {
WebBrowser.openBrowserAsync(url);
} else {
Linking.openURL(url);
}
};_handleHelpPress = () => {
WebBrowser.openBrowserAsync(
'https://docs.expo.io/versions/latest/guides/up-and-running.html#can-t-see-your-changes'
);
};
}handleHelpPress = () => {
WebBrowser.openBrowserAsync(
'https://docs.expo.io/versions/latest/guides/up-and-running.html#can-t-see-your-changes',
)
}_handleSeeMore = () => {
const {
site_detail_url: siteDetailUrl,
} = this.props
WebBrowser.openBrowserAsync(siteDetailUrl);
}navigateToSettings() {
WebBrowser.openBrowserAsync('https://mymicds.net/settings');
}_handleLearnMorePress = () => {
WebBrowser.openBrowserAsync(
'https://docs.expo.io/versions/latest/guides/development-mode',
);
}; _openLink = async uri => WebBrowser.openBrowserAsync(uri); _openUrl = async url => WebBrowser.openBrowserAsync(url);_handleLearnMorePress = () => {
WebBrowser.openBrowserAsync(
'https://docs.expo.io/versions/latest/guides/development-mode'
);
};