Mendix PhoneGap / Cordova hybrid app base package
This repository contains the core files needed to build a Phonegap package for your Mendix application. It consists of two main parts:
- The core source files for the hybrid app
- The webpack configuration that is used during the build process
You should not use this package directly. Instead, refer to the Mendix PhoneGap / Cordova hybrid app template for instructions on how to customize and build your Mendix hybrid mobile app.
Building a templated Phonegap Build package
This project can be used to create a templated Phonegap Build package, as used within the Mobile Publish flow of the Mendix Portal.
Node.js. This code was tested with version 18. You can check by running
- To customize the runtime behavior, include the following configuration: Set com.mendix.core.SameSiteCookies to
Nonein Studio Pro.
- Deploy and test the application using HTTPS.
$ npm install # install dependencies
$ npm run appbase # create templated PGB package in `dist`
Mendix-specific forks of Cordova/Phonegap plugins
Mendix hybrid apps include a number of plugins by default. These plugins have been created by the Cordova/Phonegap community. For some of these plugins, we have created Mendix-specific forks. The reason for creating a fork varies per plugin. The list below outlines the details per forked plugin.
We implemented XHR request handling using native code, while keeping support for cookies.
We included the SQLite native libraries.
We added support for cordova-android 7+.
We unpinned the version of the Android support v13 library.
We added support for Android 10