Ticket Created

WERETECH-7033

Toggle to save app settings in sim

Suggested a way to toggle whether app settings are saved between app runs. Currently, app settings are at least cleared between runs every time the target device is changed, which can make testing cumbersome.

Original post: i can't save app settings for the simulator and have them be used on next run of the simulator anymore - i've tried clearing out as much as i can but nothing i've tried helps..

this makes testing kind of difficult..

Parents
  • FYI,  I have found a temporary work around to ease the need to keep re-entering API keys while testing.  Once you run your first device, open up the app settings window and select the project you are testing.  Once the settings for the project open, configure add your API key and configure the settings how you wish for each device test.  While the settings window is open, it will want to stay on top of your eclipse window, but you can fully interact with eclipse while it is open.  So move the settings window to a place on the screen so you have full view of your development environment.  DON'T CLOSE THE WINDOW!!!!!  As long as the window stays open, all you have to do is click send settings each time you change the device target and the new test has started up in the simulator.  You may need to run the code a second time to see the settings applied, but this is much faster than re-entering them every time. 

    If you close the window, be sure to open it again before you switch to your next device target.

Comment
  • FYI,  I have found a temporary work around to ease the need to keep re-entering API keys while testing.  Once you run your first device, open up the app settings window and select the project you are testing.  Once the settings for the project open, configure add your API key and configure the settings how you wish for each device test.  While the settings window is open, it will want to stay on top of your eclipse window, but you can fully interact with eclipse while it is open.  So move the settings window to a place on the screen so you have full view of your development environment.  DON'T CLOSE THE WINDOW!!!!!  As long as the window stays open, all you have to do is click send settings each time you change the device target and the new test has started up in the simulator.  You may need to run the code a second time to see the settings applied, but this is much faster than re-entering them every time. 

    If you close the window, be sure to open it again before you switch to your next device target.

Children