Android Question FirebaseAdMob and User Consent - Language

Pendrush

Well-Known Member
Licensed User
Longtime User
Does anyone know how can I change language of FirebaseAdMob and User Consent?
EU GDPR law request to show form on app domestic language, currently I can see only English, no matter on which language is device.
 

Pendrush

Well-Known Member
Licensed User
Longtime User
I have found "solution". I have to delete file consentform.html from GoogleConsent.aar and add modified (translated) file with #CustomBuildAction, but can we have some better solution for this?

Edit:
Modified file from Files folder (in case of original GoogleConsent.aar) is overwritten by same file from lib. I have try #CustomBuildAction: 1, and 2, but without success.
 
Upvote 0

Pendrush

Well-Known Member
Licensed User
Longtime User
I have 6 languages for now, but will be expanded on other still don't know what will be future languages.
Bulgaria, Czech, France, Serbia, Romania, Turkey. More to come in near future.

consentform.html is file inside GoogleConsent.aar I have extract that file and copied to Files folder and modify file to my needs (translation on foreign language), File is overwritten with original file inside GoogleConsent.aar. I have also try to use #CustomBuildAction to try to overwrite file copied from GoogleConsent.aar.
 
Upvote 0
Top