What is the purpose of the CertifyBuild.sh script in the -post-package build step?

Hi Corona,

 

What is the purpose of the following step in the build.xml? I’m curious to know so I can understand exactly what is happening in the build. What does it mean to certify the built apk?

\<!-- This certifies the built APK before digitally signing it. --\> \<target name="-post-package"\> \<exec executable="${CoronaEnterpriseDir}/Corona/mac/bin/CertifyBuild.sh" failonerror="true"\> \<env key="CORONA\_APK\_PATH" value="${out.packaged.file}"/\> \<env key="CORONA\_RESOURCE\_CAR\_PATH" value="${basedir}/assets"/\> \</exec\> \</target\>

Thanks!

This build step applies a Corona proprietary digital signature to your app’s “resource.car” file, which is a Corona file containing all of your compiled Lua scripts.  Corona checks this signature at runtime to double check that you are using a valid Corona Enterprise license.  Without this step, Corona will refuse to load your compiled Lua project.

Ah okay, thanks Joshua!

This build step applies a Corona proprietary digital signature to your app’s “resource.car” file, which is a Corona file containing all of your compiled Lua scripts.  Corona checks this signature at runtime to double check that you are using a valid Corona Enterprise license.  Without this step, Corona will refuse to load your compiled Lua project.

Ah okay, thanks Joshua!