Moodle for mobile

App working on localhost but not upon signed apk on android@6.0.0

 
Picture of Nivesh Krishna
App working on localhost but not upon signed apk on android@6.0.0
 

The app works perfectly well when it is running on localhost. When i build apk using 'ionic cordova build --release android' it successfully generated apk without any errors. I signed the apk using jarsigner. Now when I try to run the app on android mobile, the app doesn't work. The landing screen just stays forever and even after entering the site url. It simply doesn't load anything.
For reference please have a look at my project files here : https://github.com/Niveshkrishna/mooflemobile2.
Any help will be much appreciated.

Thanks

 
Average of ratings: -
Picture of Dani Palou
Re: App working on localhost but not upon signed apk on android@6.0.0
Core developersMoodle HQParticularly helpful MoodlersPlugin developers

Hi Nivesh,

did you try installing the app without signing it?

ionic cordova run android

Please check if it works for you this way. If it still doesn't, please check that you have all the plugins installed and the Android platform has the right version as specified in the config.xml file.

Kind regards,

Dani

 
Average of ratings: -