Open ksraj123 opened 4 years ago
Hmmm. Strange, the error appears only when launched locally.
I've explored the problem.
The issue is related to the fact than when Chrome simulate the Mobile mode, he tells to the navigator that it runs on Android (or iOS).
Running on Android and using file:///
prefix means for the Abecedarium activity (should be the case for other activities too) that it runs into Cordova (see here). So, Abecedarium try to use Cordova audio plugin that obviously doesn't exist in this context.
Because this error can't happen in real life (it's not possible to run Sugarizer directly from the Android file system), it concern only developers so I'm changing the issue label from bug
to enhancement
.
On launching the Abecedarium Activity on mobile resolutions it gives a reference error in the console. The play mode does not work giving similar error again making the check button non functional. The error pops up only where sound was supposed to be played. This error is there only on mobile resolutions and the activity works normally on desktop resolution.
Here is the error message -