Acceptance Criteria
- Info about supported devices/browsers checked in pwa docs (https://www.drupal.org/project/pwa).
- Supporting of PWA for different devices and browsers was checked using browserstack.
- List of supported devices/browser was defined and added into ANU LMS docs.
- The case when PWA is enabled, but browser/device doesn't support it is properly handled by ANU LMS. No offline functionality was displayed.
- Test the case with "add app icon to home screen" on real mobile device with disabled network was passed, nothing broke (otherwise a story for it was created).
- New docs section in ANU LMS "How easily is to configure PWA" is added.
- Test the case for courses with linear progress in offline mode was passed, nothing broke (otherwise a story for it was created).
- Test the cases for submitting assessments / lessons contain questions in offline mode were passed, nothing broke (otherwise a story for it was created).
- Checked that big courses (50+ lessons) are working fine.
- Sub-stories for all detected problems/bugs were created.
Issue fork anu_lms-3315710
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
beloglazov91A brief list of browsers that support Service Worker and Manifest (from PWA):
Chrome/Opera
Firefox
Edge 17+
Safari macOS 11.1 / iOS 11.3+
UC Browser 11.8+
Samsung Internet 4+
Comment #3
beloglazov91Tested with browserstack.com
Desktop Platforms:
Firefox 70+
Chrome 69+
Opera 55+
Edge 80+
Mobile Platforms:
Iphone X+
Ipad 8+
Error: .flatMap isn't function in earlier versions of browsers.
Comment #4
beloglazov91That working fine.
Comment #5
beloglazov91That working fine, anu doesn't allow submit answers in offline mode ("You can't submit quizzes while offline")
Comment #6
beloglazov91That working fine.
Comment #7
beloglazov91Couldn't reproduce any problems with 65 lessons.
Comment #9
beloglazov91Comment #11
spleshkaGreat job, thanks Alexey!