Meteor accounts login doesnt work on Android

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?

same problem, work good on Chrome, but Android Device App not work :frowning:

Do you have any error logs?

1 Like

Here is my code


It’s just run line 24 and line 48

i saw this error but app still work on Android Device

Do you have a way to fix it?

In this issue, as in others, it’s helpful to provide a repository that minimally reproduces the problem. This allows us to easily check out the project, run it, debug it, and understand the issue and your setup aiming to provide a fix.

Can you prepare this for us?