SDK 2:如何使用设置

时间:2012-07-31 21:47:16

标签: rally

我无法使用this.settings和this.updateSettings()来使用SDK 2设置(我意识到这需要立即在Rally上运行)。

我认为当我在应用程序中第二次运行时,我应该能够看到在上一次运行中进行的设置,但设置本身是一个相当无趣的对象。一般而言,允许您获取之前保存的设置的方法在哪里?

    console.log('settings object', this.settings);
    this.updateSettings({myKey: 'is a test'});

我在设置中看到了一些以前的帖子,其中一个讨论了getSetting()方法,但如果存在,我不确定它附加到哪个对象,或者在哪里找到文档。

1 个答案:

答案 0 :(得分:0)

其他人试图做类似的事情。这是他们的智慧。

Is there an example of setting and retrieving settings from a Rally SDK 2 app?