title: Xamarin App SQL Server Connection not working in release mode
body: <p>I have a C# Android app that connect to a SQL Server database. I noticed that if I build in Release mode, the connection to the database is not working. But if I build in Debug mode, it works fine. What could be causing this?</p>
  <p>I already set the user permission</p>
  <pre><code>&lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot;/&gt; 
  &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
  </code></pre>
  <p>And this is my settings</p>
  <p><a href="https://i.stack.imgur.com/LRatg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LRatg.png" alt="enter image description here" /></a></p>
  <p>And this is my Sql Server connection</p>
  <p><a href="https://i.stack.imgur.com/bOf5l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bOf5l.png" alt="enter image description here" /></a></p>