I just download the Moodle mobile 2.2 that is updatedin Github moodlehq/moodlemobile-phonegapbuild repository. However,when I open the index.html with Google Chromium or Firefox and type in the Moodle site URL I use, it cannot connect with the Moodle site. I also try the Moodle demo site http://school.demo.moodle.net, it cannot be connected either. It can be connected in Moodle mobile 2.1, 2.0 and 1.x. So I wondered whether there is a bug about using browser to run the code or there are some other way to run the code in browser in Moodle mobile 2.2.
The way I run the Google Chromium is following:
First, in the terminal, type in “/Applications/chrome-mac/Chromium.app/Contents/MacOS/Chromium --allow-file-access-from-files —disable-web-security”. Then Google Chromium is open automatically by the terminal line.
Then, type in the directory of the index.html file I download in the computer.
Again, since using browsers to open the app is the most common when to customise the app, it is a big problem for the mobile developers if it does not work. I hope someone can solve this problem as soon as possible.