Ok. I’m feeling real dumb now. My app is being declined in the Apple Store for Tracking Transparency. I am using AdMob.
I copied copied the callback from the example.
In my main menu script, I have this code in the init:
if admob then
admob.set_callback(admob_callback)
admob.set_privacy_settings(true)
if sys.get_sys_info().system_name == ‘iPhone OS’ then
admob.request_idfa()
end
admob.initialize()
end
I then set the self.interstitial_ad_unit) to the appropriate ad unit
As I show the splash screen, I have this code:
if admob then
admob.load_interstitial(self.interstitial_ad_unit)
end
When my play game button is hit, I have this code:
if admob and admob.is_interstitial_loaded() then
admob.show_interstitial()
end
What am I doing wrong? I’m going crazy.
Thanks in advance,
Joe