react-native-dns-lookup icon indicating copy to clipboard operation
react-native-dns-lookup copied to clipboard

Prevent Android App Freezes

Open CyberCyclone opened this issue 1 year ago • 1 comments

Some network configurations can lockup the InetAddress.getAllByName process, causing Android apps to freeze up.

The solution is to wrap the getIpAddresses logic in a thread so that only that thread is affected, not the main thread.

CyberCyclone avatar Feb 26 '24 01:02 CyberCyclone

Thanks for the contribution! Before we can merge this, we need @CyberCyclone to sign the Salesforce Inc. Contributor License Agreement.

salesforce-cla[bot] avatar Feb 26 '24 01:02 salesforce-cla[bot]