I don’t know why I keep having problems with
Accounts package on mobile devices. On iOS,
createUser function wasn’t invoking functions. I solved that by passing in
--mobile-server parameter when running
ios-device. Now I do the same thing with
android-device and the function doesn’t work again. Has anyone run into a similar problem on Android where you can’t call login or createAccount function?
Also, one more question. I saw this in the chrome inspector. My specified my sever as
myawesomeapp.meteor.com but you can see it’s trying to connect to my local ip address. I believe this might be the culprit, but not sure. Why is it trying to connect to my local ip address instead of the server that I specified?