Simulator - Develop Offline, but Build Online

Hi,

A question about the simulator.

My senario is that i develop on my daily commute on the train and don’t have internet access.  Everytime i try to test, i get the not connected plugins warning that my app may not work correctly.  Very annoying…

I’m happy to be online to build the app for the real devices, i just want to be able to develop it using the corona simulator offline.

Any suggestions?

Cheers

Richard

Super-simple way would be to remove the plugins from your build.settings file when offline. Of course, you would need to remember to add them back in when back online/building. 

You could, alternatively, add the supportedPlatforms table to the build.settings file. I have zero idea if it does work for every plugin that exists, but I would wager that it does. My solution would be to add the below:

supportedPlatforms = { ["win32-sim"]=false }

You’re very likely going to need more entries in this table, but using the above, you should be able to use the Windows sim and not have it try to pull down the plugins you have activated. 

YMMV, HTH.

Thanks for that, i’ll use it for some of the plugins.  The real issue is that i want to be able to use GBC DataCabinet to hold data, so i still get the popup.

supportedPlatforms is intended to be an inclusion list (true values only), rather than an exclusion list.  I’ll get the docs updated.

Thanks for the heads up @seanh

@rmj014 did this solution work for you?

Super-simple way would be to remove the plugins from your build.settings file when offline. Of course, you would need to remember to add them back in when back online/building. 

You could, alternatively, add the supportedPlatforms table to the build.settings file. I have zero idea if it does work for every plugin that exists, but I would wager that it does. My solution would be to add the below:

supportedPlatforms = { ["win32-sim"]=false }

You’re very likely going to need more entries in this table, but using the above, you should be able to use the Windows sim and not have it try to pull down the plugins you have activated. 

YMMV, HTH.

Thanks for that, i’ll use it for some of the plugins.  The real issue is that i want to be able to use GBC DataCabinet to hold data, so i still get the popup.

supportedPlatforms is intended to be an inclusion list (true values only), rather than an exclusion list.  I’ll get the docs updated.

Thanks for the heads up @seanh

@rmj014 did this solution work for you?