title: Meteor/Cordova: accounts-password breaks app on login/signup
body: <p>I'm diving back into a Meteor project that is a couple years old, and now I'm trying to deploy it to the App Store with Cordova.</p>
  
  <p>I've upgraded to Meteor 1.7.0.4 and the app builds and runs just fine on web. Now I'm following the Meteor guide for their Cordova integration (<a href="https://guide.meteor.com/mobile.html" rel="nofollow noreferrer">https://guide.meteor.com/mobile.html</a>).</p>
  
  <p>The app builds just fine when I run "meteor build ios" and I'm able to view the app's sign in page via the iOS Simulator. But as soon as I try to login or create a new account, nothing happens after I hit submit, and I get a bunch of errors in the Safari debugger.</p>
  
  <p><a href="https://i.stack.imgur.com/sZpLA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sZpLA.png" alt="enter image description here"></a></p>
  
  <p>The first error comes from a Meteor dependency called BigInteger. I think it may be something related to ES6 because it doesn't recognize this spread operator syntax:</p>
  
  <p><a href="https://i.stack.imgur.com/c3c1v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c3c1v.png" alt="enter image description here"></a></p>
  
  <p>Then the next error is related to accounts-password, so it may have something to do with getting the mobile device to connect to the server. I don't know much about this, but I've read that sometimes there are issues around this area.</p>
  
  <p>I've ran "meteor reset" and removed and then reinstalled all the dependencies, but still no luck.</p>
  
  <p>Anyone come across this before?</p>
  
  <p>Thanks in advance!!</p>