title: Permission For READ_PHONE_STATE Appcelerator android 6.0
body: <p>i have a probleme in android.permission.READ_PHONE_STATE i deploy my project to samsung galaxy S6 i use this code to request the READ_PHONE_STATE permission 
  but it's not working ,i use the ti.permissions module .</p>
  
  <p>in my tiapp.xml i added </p>
  
  <pre><code> &lt;uses-permission android:name="android.permission.READ_PHONE_STATE"/&gt;
  </code></pre>
  
  <p>but it's not working because im using an android 6.0</p>
  
  <ol>
  <li>First i check if i have already the permission</li>
  <li>If not i request it</li>
  <li>if the request is successfull i do the work normaly </li>
  <li><p>if not i just alert an error (for now )</p>
  
  <pre><code>    var imeimodule=require("com.imei");
              var imei;
           var permissions = require("ti.permissions");
  
  try {
  
            if (  !permissions.hasPermission('android.permission.READ_PHONE_STATE'))
            {
                  alert('here');
  
      permissions.requestPermissions(['android.permission.READ_PHONE_STATE'],function(e) { 
          if (e.success != 0)
          {    
               Ti.API.debug("Permissions OK");
               imei = imeimodule.example(); 
               Ti.App.Properties.setString('EMEI',imei);
           }
          else
          {
              Ti.API.warn("Permissions denied"); 
          }
      });
  
           }
            else alert ('ok cool');
  </code></pre>
  
  <p>}</p>
  
  <p>catch (e){
                  alert(e.message);
               }</p></li>
  </ol>