Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
handleMayInitWithUrlClicke = async () => {
const { selectedPackage: lastWarmedPackage } = this.state;
this.setState({
lastWarmedPackage,
});
const result = await WebBrowser.mayInitWithUrlAsync(url, lastWarmedPackage);
Alert.alert('Result', JSON.stringify(result, null, 2));
}