Object Store don't work with emulator forerunner 235

Former Member
Former Member
App.getApp().setProperty(name, value); don't work with next start. But it works with real watch.
This bug is bad for developer.
  • You're not seeing the property you set next time you run your app? I just tried it with the 2.3.2 SDK in the sim, and it's fine for me.
    With the ObjectStore, it's only written when app app exits cleanly in most cases. If your app crashes in the sim, no save, for example. How do you exit the app in the sim? What type of app - watch face, widget, etc?

    if you put a Sys.println() in onStop() do you see it?
  • Former Member
    Former Member
    You're not seeing the property you set next time you run your app? I just tried it with the 2.3.2 SDK in the sim, and it's fine for me.
    With the ObjectStore, it's only written when app app exits cleanly in most cases. If your app crashes in the sim, no save, for example. How do you exit the app in the sim? What type of app - watch face, widget, etc?

    if you put a Sys.println() in onStop() do you see it?


    I fount that bug. It is cause by documents descript. docs said that "data will save with app.onStop()" so I each test it with simulator esc key click. Now I found that If I don't click the esc key. It can be save.
  • Former Member
    Former Member
    Zszen,

    Would you be willing to put together a Bug Report following the Rules found here - https://forums.garmin.com/forum/developers/connect-iq/connect-iq-bug-reports/147455-bug-reports-forum-rules?

    This would greatly help us in reproducing the bug you are reporting.

    Thanks,
    -Coleman