Ticket Created
over 4 years ago

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..

  • This was actually fixed in the 3.1.0 beta a while back.  I just do most of my stuff there and switch back to 3.0.x to build the iq file.

  • I stumbled across this over the weekend while working on a major update to my app.  Once I figured out the step to leave the window open, it saved me a lot of time.  It only to 2-3 times of re entry to remember to only move the window instead of closing it.

  • Wow, if this works you earn the genius badge (if there was one.) Four months and no solution in sight, I really don't have any urge to fire up the simulator to try though, I've lost my appetite for Garmin dev with all of the issues.

  • 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.

  • Hi Travis. Please reinstall the old functionality. It is very annoying to set the settings every time I switch to test another device