Hi Fabian, I've been building apps with push support locally using the advanced flow as described here:
Just viewing the presentation of Mendix 8, Jan promised that native apps, as opposed to hybrid apps, do implement push notifications using the native UI's messaging. It sounds like that is the best way to go.
Hi Fabian,
You're not going to like this, but Wilfried is right. Yes it is a bit more work the first time around, but once you get used to the npm commands, I find it is actually way faster to do it this way. Quick step list should be something like this:
Once you have done this, any subsequent build for this app should just be ‘npm install’ to download all the dependencies and you can make your changes, and create the zip with ‘npm run package’ again. Easy as that :)
Hi Fabian,
Are you sure your files are actually in your config folder. You can delete your build and contents of the dist folder, to make sure you don't conflict the folders. This is my folder content of my phonegap package:
root:
/Config (with the Push files)
the build-extras.gradle gave me an error as well, so I had to comment it in config.xml.mustache:
{{#permissions.push}}
<resource-file src="google-services.json" target="app/google-services.json" />
<!-- <resource-file src="build-extras.gradle" target="build-extras.gradle" /> -->
{{/permissions.push}}
//edit: I just saw your edited post.. You shouldn't get an issue on those files anymore after this right?
//edit2: According to the hybrid template release notes, this should be fixed btw, but the URL in the config.xml.mustache is slightly different: