code: function checkSourceInfo () {
    return new Promise((resolve, reject) => {
      let ok = pjson.name === oldInfo.packageName
      ok = ok && readSync('android/app/src/main/AndroidManifest.xml').includes(`package="${oldInfo.packageID}"`)
  
      if (!ok) {
        reject(new Error('The App name is already modified.'))
        return
      }
  
      console.log()
      console.log('---------------------------------------------------------')
      console.log('New project parameters:')
      console.log('---------------------------------------------------------')
      console.log('App display name :', newInfo.appName)
      console.log('Project name     :', newInfo.projectName)
      console.log('Package name     :', newInfo.packageName)
      console.log('Package id       :', newInfo.packageID)
      console.log('---------------------------------------------------------')
  
      let r = null
      try {
        r = readline.createInterface({
          input: process.stdin,
          output: process.stdout,
        })
        r.question('Is this correct?', (answer) => {
          r.close()
          resolve(answer)
        })
      } catch (e) {
        if (r) {
          r.close()
        }
        reject(e)
      }
    })
  }
docs: ---------------------------------------------------------------------------- Main ----------------------------------------------------------------------------