Feature wish: modify scripts for Cordova configs in compile

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
hoerbie
Posts: 148
Joined: Sun Mar 17, 2019 5:51 pm
Location: DE/BY/MUC

Feature wish: modify scripts for Cordova configs in compile

Post by hoerbie »

Hi @Fred,

in the thread viewtopic.php?p=11336#p11336 you mentioned the possibility of using SBs after_prepare.js script for modifying config etc. in Cordova compile.

I really want to thank you for this tipp, because getting better and bigger with my apps, I'm now using this for needed changes to Cordovas .xml configs.
But at the moment this is not a comfortable way, because I need different changes for different apps, and with every new SB Beta or real new version I also need to remember to copy "my" after_prepare.js over the one delivered with SB, and I have to check that you didn't change something in SBs part.

So, is there any chance, that you integrate the Cordova hooks logic to SBs "Create App" window and save such settings in the individual .sb file of each app, so that one can integrate there an own hook script per app?
And thinking further: at the moment like you for SB I also only need the hook for "after prepare", but maybe there will be additional need for using other Cordova hooks or multiple of them in the future?

I would be happy to donate € for such a feature, if you are interested, we can discuss it here or by PM.

Greets, hoerbie