I am a software developer specialized in mobile apps. About a decade ago I started my career as a web developer, but I soon moved into Android native development; however for the last few years I've been building hybrid apps with Flutter. I consider myself a passionate programmer, I enjoy writing clean and scalable code. In addition to developing apps, I also have knowledge of backend services development, web development, installation and maintenance of servers, marketing applied to the growth of web applications... among other things. I also like to create video games in my free time and write about topics that interest me in the technology world: the last tech trends, experiments that I do, and topics regarding user privacy. You can find more about me, my articles and my projects on my website: davidserrano.io
Nothing here yet.
Hi Ricardo Valins . The Google library is designed to timeout if it fails to connect to its servers, that should give you a response and the loading should finish. This can take quite a few seconds. If that is not the case, you can always implement a timeout mechanism yourself and consider that you have not been able to initialize the library.
Cliff : For the implementation as such, only google_mobile_ads is needed. Now, to do EXACTLY the same thing I do here, I explain how to do it with async_preferences, but there are other ways. Regarding the admob_consent_dialog, that is not a dependency, it is the test application that I am creating. Look at: import 'package:admob_consent_dialog/initialization_helper.dart'; Here, "initialization_helper.dart" is a class that I myself explain how to create in this tutorial. In short, with what I explain in this tutorial you have everything you need to do the implementation.
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: https://developers.google.com/admob/flutter/eu-consent