title: How to obtain list of permissions given to my app?
body: <p>I want to retrieve all the list of permissions that were granted to my app by the user. For example, if my app asks for <code>CAMERA</code>, <code>LOCATION</code> and <code>INTERNET</code> permissions and only <code>CAMERA</code> and <code>INTERNET</code> permissions were granted by the user. How do I get a list that looks like</p>
  
  <p><code>grantedPermissions=[CAMERA, INTERNET]</code></p>