Cannot modify storage in onStart() (background permission on). Related: Modify storage in picker not working in on select.

In app base:

Function onStart(state){

Application.Storage.setValue(“next”,”empty timeline”);

This returns the error: “background processes cannot modify the object store.”

In picker:

var type = “reminder” (in actual app this var changes depends on menu choice)

Function onSelect()

var remind = App.Storage.getValue(“reminder”)

(if remind == null create new array)

if (type == “reminder”) {

var re = inputstr + newstr;

remind.add(re);

Application.Storage.setValue(“reminder”, remind);

}

The code in bold does not appear to be activating (yes I’ve used System.print.ln) at all so no errors.