data.localSave on ipad #2177
Unanswered
xenon-nonex
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I am have some trouble using data.localSave. When I run my experiment with the browser on PC, data.localSave works and a dialog pops up everytime for saving data file locally. However, I tried to run the experiment with ipad and found that localSave did not work. No dialogs or information showed up, and I cannot find the data file on my iPad. Please find the related lines below.
jsPsych.init({
timeline: [welcome, practice, node], // timeline of the block
on_close: function() {
var data = jsPsych.data.get()
async function save_before_close(data) {
data.localSave('json', filename + '.json');
await (300)
}
save_before_close(data);
},
Does anyone have an idea about this issue? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions