react-native-dns-lookup
react-native-dns-lookup copied to clipboard
Prevent Android App Freezes
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.
Thanks for the contribution! Before we can merge this, we need @CyberCyclone to sign the Salesforce Inc. Contributor License Agreement.