Allow localhost check if native is true