How do you use the ionic CLI to debug a Meteor app? -


i have app created ionic cli uses angular meteor packages. it's working great "ionic serve". but, how tell app find server when "ionic run android" test , debug.

to clarify, i'm looking ionic cli equivalent to:

meteor run android-device --mobile-server my_app_name.meteor.com

so far, best can edit ionic index.html like:

// ip usb connected phone server_url = "http://92.168.99.1:3000/";  // changes lot. run ipconfig. virtual box??? window.__meteor_runtime_config__ = {ddp_default_connection_url: server_url}; console.log("server url: " + server_url) 


Comments