My FeedDiscussionsHeadless
Sign in
Log inSign up
David Serrano

11 likes

·

1.5K reads

8 comments

Unai Ayo
Unai Ayo
Nov 24, 2023

Hi, thanks for the post. Is it possible to implement the same, but for the "IDFA explainer" message? Could it also be done with the Flutter package google_mobile_ads? I know that you can use the app_tracking_transparency package to launch the ATT message, but with this you do not use the "IDFA explainer" provided by Google Admob. Thank you

·
·7 replies
David Serrano
David Serrano
Author
·Nov 24, 2023

Yes, you do not need to use the app_tracking_transparency plugin, the google_mobile_ads plugin itself already contains the necessary logic to display an informative message. You can create the ATT tracking message from the AdMob interface, in the same section where you create the GDPR message.

·
Unai Ayo
Unai Ayo
Nov 24, 2023

David Serrano Thank you very much for the quick answer. I have already created the ATT message in the Admob interface. The problem is that I would like to know how to call that message from Flutter. The function you created "_loadConsentForm()" works to call the "GDPR" form, but what would be the equivalent to call the "IDFA explainer" form?

·
David Serrano
David Serrano
Author
·Nov 27, 2023

Unai Ayo You don't have to call the ATT dialog, the google_mobile_ads library takes care of it automatically. The only thing you have to have is the message configured in AdMob. If you already have it, you should see the ATT prompt right after the GDPR dialog.

·
Unai Ayo
Unai Ayo
Nov 28, 2023

David Serrano Sorry for continuing with the same thing. But I have done countless tests and the IDFA message still does not appear. I have followed all the steps: Create the IDFA message on the Admob page, enter my app (which is already in release) in this message. Configure info.plist. Bind AppTrackingTransparency in Xcode. I have tried with the code from the official Mobile Ads SDK (Flutter) page, also with that from your page; but nothing works, you only see the GDPR message and then the IDFA message does not appear. I've read that many Flutter developers have the same problem.

·
David Serrano
David Serrano
Author
·Nov 28, 2023

Unai Ayo I'm sorry to see that you are still having problems. Please note that this article does not cover the case of the ATT dialog, it is necessary to perform some extra steps in iOS for this. This is the official documentation that I have based it on, if you follow these steps it should work for you: developers.google.com/admob/flutter/eu-cons..

·
Unai Ayo
Unai Ayo
Nov 29, 2023

David Serrano Thank you very much for your instructions. It would be great if one day you made a tutorial on how to implement both Google Admob messages: GDPR and IDFA in the same code. I think it would be a great help to the Flutter community.

·
David Serrano
David Serrano
Author
·Nov 29, 2023

Unai Ayo Thanks for the feedback! I will certainly take it into account if time allows.

·