const fs = require('fs')
const path = require('path')

/**
 * Verifies this is an Android project
 * @param {String} root directory path
 */
function checkAndroid(cwd) {
  return fs.existsSync(path.join(cwd, 'android/bin/gradlew'))
}

/**
 * Check if current cli is running on Windows platform
 */
function isOnWindows() {
  return /^win/.test(process.platform)
}

/**
 * Check if current cli is running on OSX platform
 */
function isOnMac() {
  return process.platform === 'darwin'
}

/**
 * Check if current cli is running on Linux platform
 */
function isOnLinux() {
  return process.platform === 'linux'
}

module.exports = {
  checkAndroid,
  isOnWindows,
  isOnMac,
  isOnLinux,
}

@@ -224,24 +224,180 @@
 adlew'))%0A%7D%0A%0A
+/**%0A * Verifies there has a ios folder%0A * @param %7BString%7D root directory path%0A */%0Afunction checkIOS(cwd) %7B%0A  return fs.existsSync(path.join(cwd, 'ios'))%0A%7D%0A%0A
 /**%0A * Check
@@ -796,16 +796,28 @@
 ndroid,%0A
+  checkIOS,%0A
   isOnWi

add checkIOS validator