Y yiankos1 Well-Known Member Licensed User Longtime User Sep 8, 2020 #1 Hello, I am using Erel's tutorial in order to show EU User Consent Form. As i read here: To update consent text of the Google-rendered consent form, modify the consentform.html file included in the Consent SDK as required. Click to expand... According here, i have to put my edited consentform.html at assets folder and the default one will be overridden. But keeps showing the default one. Any ideas? Thank you for your time.
Hello, I am using Erel's tutorial in order to show EU User Consent Form. As i read here: To update consent text of the Google-rendered consent form, modify the consentform.html file included in the Consent SDK as required. Click to expand... According here, i have to put my edited consentform.html at assets folder and the default one will be overridden. But keeps showing the default one. Any ideas? Thank you for your time.
DonManfred Expert Licensed User Longtime User Sep 8, 2020 #2 As i am extecting you use AndroidX: Did you replace them in both jars? the jar itself and the jetified one. Upvote 0
As i am extecting you use AndroidX: Did you replace them in both jars? the jar itself and the jetified one.
P Pendrush Well-Known Member Licensed User Longtime User Sep 8, 2020 #3 Find "GoogleConsent.aar" in internal lib folder in my case: c:\Program Files (x86)\Anywhere Software\Basic4android\Libraries\GoogleConsent.aar Change .aar to .zip Inside zip is "assets" folder and in that folder is file "consentform.html". Delete "consentform.html" file from "assets" folder Change .zip back to .aar Your "consentform.html" should be in B4a assets (Files) folder. Add this to Main: #DebuggerForceStandardAssets: True Last edited: Sep 8, 2020 Upvote 0
Find "GoogleConsent.aar" in internal lib folder in my case: c:\Program Files (x86)\Anywhere Software\Basic4android\Libraries\GoogleConsent.aar Change .aar to .zip Inside zip is "assets" folder and in that folder is file "consentform.html". Delete "consentform.html" file from "assets" folder Change .zip back to .aar Your "consentform.html" should be in B4a assets (Files) folder. Add this to Main: #DebuggerForceStandardAssets: True
Rubsanpe Active Member Licensed User Sep 8, 2020 #4 Hi. You can use this too https://www.b4x.com/android/forum/threads/admob-consents-with-own-dialog.93777/ Rubén Upvote 0
Hi. You can use this too https://www.b4x.com/android/forum/threads/admob-consents-with-own-dialog.93777/ Rubén
P Pendrush Well-Known Member Licensed User Longtime User Sep 8, 2020 #5 PS. You need to delete "consentform.html" from "GoogleConsent.aar" on every B4a update. Upvote 0
Y yiankos1 Well-Known Member Licensed User Longtime User Sep 8, 2020 #6 Pendrush said: Find "GoogleConsent.aar" in internal lib folder in my case: c:\Program Files (x86)\Anywhere Software\Basic4android\Libraries\GoogleConsent.aar Change .aar to .zip Inside zip is "assets" folder and in that folder is file "consentform.html". Delete "consentform.html" file from "assets" folder Your "consentform.html" should be in B4a assets (Files) folder. Add this to Main: #DebuggerForceStandardAssets: True Click to expand... Indeed! It worked! One last step is to rename again from .zip to .aar Upvote 0
Pendrush said: Find "GoogleConsent.aar" in internal lib folder in my case: c:\Program Files (x86)\Anywhere Software\Basic4android\Libraries\GoogleConsent.aar Change .aar to .zip Inside zip is "assets" folder and in that folder is file "consentform.html". Delete "consentform.html" file from "assets" folder Your "consentform.html" should be in B4a assets (Files) folder. Add this to Main: #DebuggerForceStandardAssets: True Click to expand... Indeed! It worked! One last step is to rename again from .zip to .aar