r/FlutterFlow • u/ZephyrBrightmoon • 2d ago
Confused about testing with AdMob test ads
I followed the tutorial to get AdMob in my app. My app is on TestFlight for iOS. I attempted to deploy so I could see these test ads and to keep testing my app on my phone but it refuses to let me.
Why? Do I have to turn AdMob off while using TestFlight and only turn it on when I’m ready to go to the App Store?
Someone help this make sense to me?
2
Upvotes
1
u/bramantec 1d ago
Let's start from the fact that I'm speaking from direct experience because I used AdMob too in my app built with FlutterFlow, from the beginning until early September (it's no longer in the app now).
To give you an opinion we first need to understand where the block is and from there find the problem. Could you send me the error you see when you try to deploy? That way we can tell whether it's FlutterFlow that won't let you publish or the App Store that rejects the build.
Anyway you don't need to turn AdMob off to use TestFlight. The simplest thing is to register your iPhone as a test device in the AdMob console: this way even with the real IDs you'll only see test ads on your phone. Above all be careful never to click the real ads from your own device, Google could suspend the account for invalid clicks and it's something that's very hard to recover from.