How to build mobile app project for desktop

How to build mobile app project for desktop

by Farzin Khalilzadeh -
Number of replies: 4
Hi all,

I saw the new desktop app announcement and liked it. I would like to build our custom mobile app for desktop. According to mobile app stack, Cordova is responsible for making the connection with OS and device so I think I only need to change my build configurations or something like that. I couldn't find any docs on how to build for desktop in dev docs. Also is only changing build configs enough or more needs to be done?


Average of ratings: -
In reply to Farzin Khalilzadeh

Re: How to build mobile app project for desktop

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,

the desktop apps are built using Electron

Unfortunately our core team do not have the resources here to help people use the open source code version to build custom apps. We provide a service where we can customise the app for anyone who needs it including the Push notifications (Airnotifier) service management. This service helps fund the improvement of the app in general: https://moodle.com/mobileapp/

I’d recommend you to check the documentation links that are available in the Forum main page or hopefully somebody else in this forum will be able to help you.

Kind regards,

Dani

In reply to Dani Palou

Re: How to build mobile app project for desktop

by Farzin Khalilzadeh -

Thank you for replying. We are working on our own custom app based on MM2. If we use electron for desktop do we have to change any of the higher level code? I think at least we would need to change the structure of files since MM2 is at some level, a Cordova project itself.

Has anyone tried building for desktop with electron? I would also like to know if it's possible to build for desktop with Cordova.

Thanks in advance.

In reply to Farzin Khalilzadeh

Re: How to build mobile app project for desktop

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

Hi,

here is our documentation about Moodle Desktop: https://docs.moodle.org/dev/Moodle_Desktop

Regards, Juan