title: Add runtime permissions on on a Cordova/phonegap project on android marshmallow (API v23)
body: <p>I am trying to add some runtime permissions like localstorage, camera, etc. in my cordova project on Marshmallow API 23, I have found some code on internet but I don't know where I should initialize the code.</p>
  
  <p>I referred to this link : </p>
  
  <blockquote>
    <p><a href="https://developer.android.com/training/permissions/requesting.html" rel="nofollow">https://developer.android.com/training/permissions/requesting.html</a></p>
  </blockquote>