Meteor app fails to read App variable in mobile_config.js -


i have meteor app fails read app variable in mobile_config.js app runs in browser icons , splash not load , routes not work in android simulator. no compile errors in console when app loads in emulator get:

(android:http://meteor.local/mobile_config.js:4) uncaught referenceerror: app not defined

i'm starting simulator meteor run android --port http://my.ip:3000 (using actual ip address)

i've tried , without app.accessrule. have test app uses same mobile_config.js , works fine.

i can't include whole app , not sure snippet broken anyway. how can find out failing? there no other errors logged in terminal. suspect other mobile_config issue.

lasest version of following packages installed: meteor-platform underscore zendy:velociratchet iron:router jackyqiu:meteor-jquery-nicescroll accounts-password mrt:moment anti:fake service-configuration accounts-ui

you've named file incorrectly.

use mobile-config.js instead of mobile_config.js

meteor accounts file differently. not run , include code app other javascript files in project.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -