Moodle for mobile

Mobile App Crashes on Google Pixels and some samsung models

 
Picture of aykut ozkaya
Mobile App Crashes on Google Pixels and some samsung models
 

Dear Moodle Community

Moodle mobile App is crashing on certain make and build android phones. I have noticed it crashes as soon as it loads on lates google pixel phone and some samsung S8 models running on android 8.0.0. 

Does any body else experienced this and have any suggestions about how to debug this error?

Kind Regards

Ayk

 
Average of ratings: -
Picture of Dani Palou
Re: Mobile App Crashes on Google Pixels and some samsung models
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi,

does it happen with the official Moodle app or it's a custom app? If it's a custom app, can you please check if it happens with the official Moodle app too?

Kind regards,

Dani

 
Average of ratings: -
Picture of aykut ozkaya
Re: Mobile App Crashes on Google Pixels and some samsung models
 

Hi Dani

It is a custom Moodle App. It works great in iOS just run an 12.1 update. However on Android we had number of issues. It is really strange that it would work android 8.1.1 but fail on 8.0.0. Even more strange it works perfectly fine on Samsung S9 models operating on 8.0.0 but crashes on Samsung S8 with the same OS. ( I suspect it is maybe related to the npm, ionic, cordova  and android studio gradle version compatibility. If you could give me more information on the versions that known to work I will be grateful)

I tired the official Moodle App. It works correctly on those models accept assignment submission feature. In both the official and our custom Apps document upload fails on android with an errors 

Please see screens shot below:



 
Average of ratings: -
Picture of Dani Palou
Re: Mobile App Crashes on Google Pixels and some samsung models
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi,

we use Phonegap Build to create the app, we don't build it manually in a local environment. We copy all the files in the www folder to our phonegap build repo, and then we use that repo to build the app using Phonegap Build.

Maybe you'd want to use it too, hopefully it'll fix the problem.

Cheers,

Dani

 
Average of ratings: -
Picture of Dani Palou
Re: Mobile App Crashes on Google Pixels and some samsung models
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Regarding the "Error reading file" error, it is a bug in the app, it should be fixed in the next release.

https://tracker.moodle.org/browse/MOBILE-2750

 
Average of ratings: -
Picture of aykut ozkaya
Re: Mobile App Crashes on Google Pixels and some samsung models
 

Thanks Dani

I will try this method and will update.

Best wishes

Ayk

 
Average of ratings: -