"Cannot Access Content" only first attempt of when AMP app data and cache is cleared
Hello I'm an LMS/LRS developer, developing a solution in Drupal.
Developed a Drupal based Tin Can API compliant LRS for Drupal 7, from scratch.
Implemented a private content access as described in the "Launching Private Content" section on this page: https://www.articulate.com/tincanapi/
Originally our customer was using Articulate Studio '13, and the packages it published functioned correctly. Depending on user role and other conditions I was able to limit access to content. No problems with the AMP app.
Then they started to create some Storyline 2 packages. It still works, but only after the user accesses the content a 2nd time. The first time they access a package they get "Cannot Access Content". This condition also appears if I clear the app data and cache. 1st time after a cache/data clear then "cannot access content" , all proceeding times work.
This only happens with the AMP app, the HTML5 and Flash players don't exhibit this behavior.
The xAPI endpoint never gets a HTTP request. Instead I see in the log an access denied error: " ..../tincan-package-241759/meta.xml"
The path is valid to the file at the time....
This issue occurs on both Andriod and IOS < version 10 apps. IOS 10 for some reason plays the HTML5 version and doesn't request the app.
I realize this is a very specific technical issue, and I hope this is the right place to post it, or I can be pointed to the right place.
Please, help this developer e-learning hero make it happen!