Callback ASync error when running meteor android app on local server


#1

when i am running my app on emulator as “meteor run android” it runs fine.but when i try to run my app on the physical android device as “meteor run android-device -p :” it loads up but as soon as i tend to make a callback it shows an error -------------------
Exception in callback of async function: TypeError: Object [object Array] has no method ‘track’.
This works perfectly on the emulator but doesnt work in a physical device.

Also I have tried --mobile-server in place of -p doesn’t seem to work .

But when i keep point it to remote server the app works fine.for eg meteor run android-device --mobile-server http://: .

I want to test some stuff locally and dont want to upload files to a remote server always…for just the testing purposes.