After recent updates to SalesforceMobile SDK for Android to utilize Gradle's Kotlin DSL, the module-level includes used by the Cordova templates apps no longer function. MSDK expects to build consistently in its own Gradle workspace at all times rather than being included al la carte module by module.
This updates the bundled version of MSDK plus adapts the update.sh and postinstall-android.sh in such a way that the test suite used in CI will pass all of the Cordova hybrid apps again.
🎸 Ready For Review 🥁
After recent updates to SalesforceMobile SDK for Android to utilize Gradle's Kotlin DSL, the module-level includes used by the Cordova templates apps no longer function. MSDK expects to build consistently in its own Gradle workspace at all times rather than being included al la carte module by module.
This updates the bundled version of MSDK plus adapts the
update.sh
andpostinstall-android.sh
in such a way that the test suite used in CI will pass all of the Cordova hybrid apps again../test/test_force.js --exit-on-failure --cli=forcehybrid --os=android --no-plugin-update
I'll add a little more commentary in the changes. I'm new to all of these scripts, so don't be shy in providing guidance 🙏🏻 Thanks!