Build ionic5 app (moodle)

Hi,

I want to build the moodle app (GitHub - moodlehq/moodleapp: The Moodle App) using AppFlow. It uses ionic5 (cordova).

It fails to do so, because the app needs node 14, which does not seem to be available. I tried to override the node version using an environment, but this ends up with:

[WARNING] Node version 14 is not available: using default version

My Idea would be to run the ionic build on my gitlab CI, push that to a custom repo and let AppFlow somehow build on this. Is this possible?

Other suggestions welcome :slight_smile:

Be sure to choose a Build Stack that has Node 14 installed on it along with setting it as an environment variable.

A separate note. If at all possible, I highly recommend updating Node support for the app. Node 20 is currently LTS and Node 14 is no longer supported. The longer you wait to upgrade, the more difficult it will be. I know that’s not always easy to do, but worth noting.

Thanks for your answer

Luckily the moodle app started to integrate ionic7 which I was able to use with AppFlow (with some hacks) and node 18. Thanks, again!