Install Moodle Mobile on desktop

Install Moodle Mobile on desktop

Zabelle Motte發表於
Number of replies: 4

Hello,

I am trying to install Moodle Mobile on Desktop, following the instructions of this page :

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

While installing the latest nw version (that is 17.6), I receive the following error message :

"Failed to load extension ... Manifest is missing or unreadable".

I had some tests with older nw versions, and, for example with 12.3 version I receive this message :

"Invalid Package. There is no 'package.json' in the package, please make sure the 'package.json' is in the root of the package."

While the package.json effectively exists in the dowloaded zip folder, renamed with nw extension.

I am working on Ubuntu 16.04.1 LTS 64 bits and I have the latest Chrome version installed.

Many thanks in advance for help.

Zabelle


評比平均分數: -
In reply to Zabelle Motte

Re: Install Moodle Mobile on desktop

Elton LaClare發表於

Hello,

I had the same difficulty as you and was unable to open the app in the desktop. I'm not sure what you're hoping to do, but I found this site useful for emulating the app on the desktop. I was just tinkering with CSS, so in my case this worked well enough. It does, however, seem to be an older version of the app, as it's not possible to view quizzes and other modules that have been recently added to Moodle Mobile.

In reply to Elton LaClare

Re: Install Moodle Mobile on desktop

Zabelle Motte發表於

Thanks Elton for your answer !

I finally found an other way to test Moodle Mobile on my desktop, and to make demonstration videos.

In am used to virtualize different OS on my computer.
And I succeeded to virtualize an Android OS with Android-x86 on Virtualbox following this tutorial :

http://www.howtogeek.com/164570/how-to-install-android-in-virtualbox/

I succesfully installed Moodle Mobile on my virtualized android and made tests and videos.

It is a bit complicated and suppose to have a good computer, but it is interresting for me to be able to test other android applications, so, that's a good solution.

For those of you that want to discover Virtualization and Virtualbox, have a look at this video :

Note that Virtualbox exists for any desktop OS : https://www.virtualbox.org/wiki/Downloads

This solution solves my problem but it would be a good idea to adapt or to remove the documentation page that seems not to be up-to-date.

With kisses to other Moodlers,

Zabelle


In reply to Zabelle Motte

Re: Install Moodle Mobile on desktop

Brian Merritt發表於

I found this article quite useful

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

Debugging with Chrome browser works well with either ionic serve or any other server (in our case we use a docker web server)

Single signon appeared to be a problem at first if the Moodle site requires sign on in the mobile browser (I didn't manage to get Chrome to support this), but as long as another Chrome browser window was logged into the web version of the site being tested the cookies and app worked fine.

If you want to develop/test on Android and IOS then if you have an OS X computer you might want to look at https://www.bitrise.io/   I plan to set up dev/test environment this weekend, so will report back if I remember 微笑   it's free for up to 2 users and 1 concurrent build, and runs android in a docker container.


All the best


Brian