In version before B4A v9.0 I have deleted file \assets\consentform.html inside GoogleConsent.aar and provide my own translated html, in French language for example.
In B4A v9.0 (Beta 1) if I delete file consentform.html, I'm getting this error on project loading:
I have multiple project where I need to provide different consentform.html file with different language. I need solution for this issue.
Thank you in advance.
In previous version of B4A this file will be overwritten with file inside GoogleConsent.aar, so I need to remove it from the lib, but in B4A v9.0 file from CustomBuildAction will be file copied and use by app.
The only change I made is related to the error. It shouldn't happen.
The behavior you rely on here depends on the behavior of AAPT tool. At this point it is better to delete the file from the AAR and provide your own file.