Access Moodle Mobile App through browser

Access Moodle Mobile App through browser

by Azmat Ullah -
Number of replies: 3

Hello,


I'm accessing mobile through browser but it shows blank screen when I run the 'index.html' page under 'www' folder.


I downloaded app from below URL.
https://github.com/moodlehq/moodlemobile2/tree/master


Regards,

Azmat

Average of ratings: -
In reply to Azmat Ullah

Re: Access Moodle Mobile App through browser

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hello Azmat,

this is because the repository doesn't include some required libraries.  You need to run:

bower install

This should be enough to make it work in a browser without ionic serve.

You have a complete guide on how to setup the environment in here:

https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

Kind regards,

Dani

In reply to Dani Palou

Re: Access Moodle Mobile App through browser

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Alternatively, if you only want to run the app in the browser (ant not develop) you can download all the required files from here: https://github.com/moodlehq/moodlemobile-phonegapbuild

Juan

In reply to Juan Leyva

Re: Access Moodle Mobile App through browser

by Azmat Ullah -


I want to use it for development purpose but link that you share is older version of Mobile app. I wanna work on Moodle mobile 2. I think I need to implement development environment as Daniel suggested.


Thanks