Hello, I am trying to retrieve scorm completion data for courses, by using an integrated method that moodle mobile provides (getCompletion() & getCompletedStatusText() ) But I am getting a No completion criteria set for course error for each one of my courses. Would anyone know what I am doing wrong? I followed the same example on how it is used in www/addons/coursecompletion/controllers/report.js file. Thanks in advance.
I have looked at the `mdl_course_completion_criteria` in the database and only one course had criterias. I believe this is the error. None of the assigned courses to that particular student had any criterias to begin with so I believe the code is fine. Any insight would still be appreciated though. Thank you