So I'm experiencing some weird behavior in my app. Basically, I have 7 arrays stored in object storage for heartNums, which is an array of size 48, containing strings in the format "(heartTotal,heartCount,heartAvg)", for each 30-minute interval in the day, a total of 48. 7 arrays for 7 days worth of storage. Now, what's happening is whenever I test it on the simulator, it properly sets day1's array in the object storage after gathering some data(which checks every minute), as seen when I send it to a companion mobile app to be printed(the Comm sample that's given). That is, day1 now has one array that has some information in it, and day2-7 still have "(0,0,0)"'s for all indexes(as does day1 for any time intervals that haven't been recorded). Now, the weird part is when I build the very same app onto my VAHR, after it gathers some data, and then send it over to the mobile app to be printed, it shows the correct numbers for day1, however day2-7 also have the same data for day1, rather than 0s.
I've got no idea as to why this is happening on my VAHR and not on the simulator, so I'm kind of lost on how to solve it, exactly, so any help is appreciated.