Skip to content

Commit

Permalink
Update emulator.js to fix issue apache#608 (apache#630)
Browse files Browse the repository at this point in the history
Fixes  "Device still authorizing issue" apache#608 (apache#608)

Resolves apache#608
  • Loading branch information
moose4lord authored and Chris Brody committed Jan 18, 2019
1 parent 7a98708 commit 715ce2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/templates/cordova/lib/emulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ module.exports.wait_for_emulator = function (port) {
if ((error && error.message &&
(error.message.indexOf('not found') > -1)) ||
(error.message.indexOf('device offline') > -1) ||
(error.message.indexOf('device still connecting') > -1)) {
(error.message.indexOf('device still connecting') > -1) ||
(error.message.indexOf('device still authorizing') > -1)) {
// emulator not yet started, continue waiting
return self.wait_for_emulator(port);
} else {
Expand Down

0 comments on commit 715ce2f

Please sign in to comment.