Releases: mendix/hybrid-app-template
Releases · mendix/hybrid-app-template
FCM support
v4.0.0 4.0.0
Do no create initial copies of the loader snippets
v3.0.5 3.0.5
Fix failing installation related to CocoaPods
v3.0.4 3.0.4
Improve local setup
- Remove conflicting 'prepare' command from npm scripts
- Add phonegap as local dependency, instead of requiring it as global dependency
- Remove initialization code related to global phonegap dependency
Facilitate upgrade of hybrid-app-base
v3.0.2 Bump version number to 3.0.2
Move to @mendix org
v3.0.1 Bump version number to 3.0.1
Support Phonegap 8 and upgrade all plugins
The goal of this release is to upgrade all major dependencies to their latest versions, including the PhoneGap/Cordova framework and all plugins. See below for an overview of all old and new versions.
Changes
- We upgraded the PhoneGap/Cordova framework and plugins (for details, see Version Upgrades below)
- Android builds now target Android SDK level 28 by default (the minimally supported SDK level remains 19)
For Locally Compiled Apps Only
- When you install the dependencies of the hybrid app (by running
npm install
), we check the version of the globally installedphonegap
package. We lifted the requirement that this version needs to exactly match thephonegap-cli
version specified in theconfig.xml
file. Instead, we now accept any newer version as well, within the major version specified. For example, if yourconfig.xml
definesphonegap-cli
level 8.1.1, we also accept PhoneGap version 8.2.2. - We removed all references to the
cordova-android-support-gradle-release
andcordova-android-play-services-gradle-release
plugins, as they are no longer needed. - We added additional NPM scripts (and improved existing ones) to make it easier to build your hybrid app and interact with the PhoneGap CLI.
Version Upgrades
Framework
Name | Old Version | New Version |
---|---|---|
PhoneGap CLI | 7.1.0 | 8.1.1 |
Cordova Android | 6.3.0 | 7.1.2 |
Cordova iOS | 4.5.4 | 4.5.5 |
Plugins
Name | Old Version | New Version | Comments |
---|---|---|---|
com.crosswalk.cookies |
No version specified | No version specified | |
com.darktalker.cordova.screenshot |
0.1.6 | 0.1.6 | |
com.telerik.plugins.nativepagetransitions |
0.6.5 | 0.6.5 | |
cordova-build-architecture |
1.0.3 | 1.0.4 | |
cordova-plugin-actionsheet |
2.3.3 | 2.3.3 | |
cordova-plugin-android-permissions |
0.10.0 | 0.11.0 | |
cordova-android-support-gradle-release |
1.2.0 | Removed | |
cordova-plugin-app-version |
0.1.8 | 0.1.9 | |
cordova-plugin-battery-status |
1.1.2 | 2.0.2 | |
cordova-plugin-calendar |
4.5.5 | 5.1.2 | |
cordova-plugin-camera |
2.4.0 | 4.0.3 | |
cordova-plugin-contacts |
1.4.2 | 3.0.2 | |
cordova-plugin-cookieemperor |
No version specified | No version specified | |
cordova-plugin-crosswalk-webview |
2.3.0 | 2.4.0 | |
cordova-plugin-device |
1.1.2 | 2.0.2 | |
cordova-plugin-device-motion |
1.2.1 | 2.0.1 | |
cordova-plugin-device-orientation |
1.0.3 | 2.0.1 | |
cordova-plugin-dialogs |
1.2.1 | 2.0.1 | |
cordova-plugin-file |
4.2.0 | 6.0.1 | |
cordova-plugin-file-opener2 |
2.0.19 | 2.0.19 | |
cordova-plugin-geolocation |
2.2.0 | 4.0.1 | |
cordova-plugin-globalization |
1.0.3 | 1.11.0 | |
cordova-plugin-inappbrowser |
3.0.0 | 3.0.0 | |
cordova-plugin-media |
2.3.0 | 5.0.2 | |
cordova-plugin-media-capture |
1.4.2 | 3.0.2 | |
cordova-plugin-network-information |
1.2.1 | 2.0.1 | |
cordova-plugin-secure-storage |
2.4.0 | 2.6.8 | |
cordova-plugin-spinner |
1.1.0 | 1.1.0 | |
cordova-plugin-splashscreen |
4.1.0 | 5.0.2 | |
cordova-plugin-statusbar |
2.3.0 | 2.4.2 | |
cordova-plugin-vibration |
2.1.1 | 3.1.0 | |
cordova-plugin-x-socialsharing |
5.0.11 | 5.4.0 | |
cordova-plugin-zip |
3.1.0 | 3.1.0 | |
cordova-plugin-whitelist |
1.2.2 | 1.3.3 | |
cordova-plugin-wkwebview-engine-mx |
1.1.0 | 1.0.1-mx.1.2.0 | Old version number was incorrect |
@mendix/cordova-sqlite-storage |
No version specified | 2.0.4-mx.1.1.0 | Renamed from cordova-sqlite-storage-pgb |
@mendix/phonegap-plugin-push |
1.5.3 | 1.11.1-mx.1.0.0 | Renamed from phonegap-plugin-push |
@mendix/uk.co.workingedge.phonegap.plugin.launchnavigator |
2.9.11 | 4.2.2-mx.1.0.0 | Renamed from uk.co.workingedge.phonegap.plugin.launchnavigator |
We have tested extensively against real-life projects and commonly used widgets from the Mendix App Store.
Fix Android build
- Fix misbehaving Phonegap plugins during npm prepare step
- Revert accidentally added yalc reference
Theming
Feature: Support for custom theming
- The error image can be configured by adding/replacing
error.png
- The colors (background/foreground/text) of the error dialog, the login screen, and the pin screen can be configured by adjusting
parameters.json
- The HTML and CSS of the loading screen can be configured by adjusting
loader.html.snippet
andloader.css.snippet
This is a major release because it is not fully compatible with older versions of hybrid-app-base.
Phonegap no longer a local dependency
- We fixed an issue where NPM updates would fail consistently. The issue was related to the recently added local phonegap dependency. This local dependency is now removed. Phonegap should be installed globally, and it should match the cli version configured in the config.xml (e.g. npm install -g [email protected]). During NPM install/update, there will be feedback in the console regarding the current and required versions.
- Example files for the config.xml.mustache and the index.html.mustache files are now created during NPM install/update.
- We removed obsolete dependencies related to Webpack.