title: How to detect whether front or rear camera is active; Find camera resolution programmatically
body: <p>I want to detect two things programmatically :</p>
  
  <p>i used divcam 3rd party library not the image picker</p>
  
  <ol>
  <li>How to detect which camera is active (Front/Rear)</li>
  <li>How to detect camera resolution</li>
  </ol>
  
  <p>I need to implement logic based on these two.</p>