Hi Sid, Mendix hybrid apps that employ push notifications can no longer be built directly using the Phonegap Build flow in the Mendix Developer Portal. If you need push then you to build locally.
If you don't need push, then you can still use the Phonegap Build workflow and disable the push notifications. See https://docs.mendix.com/releasenotes/mobile/hybrid-app#january-6th-2019-4-0-0-4-0-0
I've been running into the same error, and created an issue on GitHub. For now, you can comment the line in your config.xml.mustache file on line 209:
<!-- <resource-file src="build-extras.gradle" target="build-extras.gradle" /> -->
After that, create a new build and you're good to go. Obviously this is a workaround
Follow my issue here:
Hi Sid,
did you use the manual on GitHub?
https://github.com/mendix/hybrid-app-template/blob/master/README.md#build-on-phonegap
If you think it is a Mendix bug, you can create a example project and create a bug report to the Mendix.
Thanks. Is there some place where the local build process for iOS and Android are throughly documented? I’ve been using the build process outlined here: https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html and https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html
The problem with the cordova build process is that I’m having to manually replace several files (config.xml, index.html, entry.js and PNGs) to correctly build the app. This process is unfortunately prone to human-error and is not scalable (broken build if I forget to replace index.html) – can someone point me to a link/resource to get started with automating the local build process completely? TIA.