code: public void requestPermissions(int requestCode) {
          String[] request = mPermissionsToRequest.toArray(new String[mPermissionsToRequest.size()]);
  
          StringBuilder log = new StringBuilder();
          log.append("Requesting permissions:\n");
  
          for (String permission : request) {
              log.append(permission).append("\n");
          }
  
          Log.i(getClass().getSimpleName(), log.toString());
  
          ActivityCompat.requestPermissions(mContext, request, requestCode);
      }
docs: Requests the missing permissions.
  The activity from which this method is called has to implement
  {@link Activity#onRequestPermissionsResult(int, String[], int[])}
  and then, inside it, it has to call the method
  {@link AndroidPermissions#areAllRequiredPermissionsGranted(String[], int[])} to check that all the
  requested permissions are granted by the user
  @param requestCode request code used by the activity