When creating a new mobile app in Wappler ( at least on a MAC ), it quickly becomes necessary to upgrade gradle. The process today is to find 4.10.3 in the wappler project, and replace it with an updated version (today for example I used 6.1.1).
It would be great if there was a better way to manage this within Wappler.
It’s not a Wappler issue Ken it is an OS environmental variable controlled by the OS itself. Wappler uses the Gradle version your OS is providing. You need to update Gradle at an OS level, this will then reflect within your Wappler project.
I build the project in Android Studio and all is well.
I go back to Wappler and try to build, but cannot because it still wants 4.10.3. If I replace all the 4.10.3 with 6.1.1…build in Wappler is good and I’m off to actually developing.
I’d imagine you have rebooted? Could try opening the Android Project settings using the little cog button at the bottom, and saving. Maybe running the System Check tool too, might be better to do this first? Just quick ideas straight off the bat… Worth a go? Then shut down fully and open Wappler again…
Was a total pain in the arse on Windows. Need to build in Wappler first to update the Platform/Application folder with any changes before opening in Android Studio otherwise changes won’t be reflected when you build in Android Studio. Could certainly do with some updates in the Mobile area but all seems to be concentrated on Node right now so imagine we’ll have to wait a while Ken, and figure it out ourselves for now. See if the above helps and I’ll keep my fingers crossed for you!
Thanks for the ideas. Luckily it doesn’t stop me from working since I can manually get 'er going, I’m just highlighting here as a feature request. They’ll get to it–they always do.
We have so many workarounds to get the job done. I’m sure they’ll be some updates in the future. Feels like we have been waiting for a while. Can understand other things being implemented but the mobile app side really does need an update desperately. Manage certificates, sort out the Gradle issues, more control over plugins, maybe include a few of the basics like local storage, Firebase support, Push Notifications, allow for adding domains to the security policy etc. To us this has been slowly learned through trial and error but for others… Must be difficult!
I completely agree with you. Just don’t forget about improving the integration of Fw7. What we have now is difficult to call reasonable. With better integration, the speed of work on the project can be increased several times compared to the current one. Working with Fw7 in Wappler today is more like working with code ordinary. It’s like using some VS Code instead of a super efficient development environment with a visual interface called Wappler…
Yes, Cordova affects all projects. In this regard, the Capacitor is much more flexible. It is added to a specific project and there may be several projects with different versions of the capacitor. Perhaps in the future, Wappler will add support for the Capacitor.