Can not build AdMob plugin with Corona Enterprise

There are a few things I see in your code:

  1. In your adListener in admob.lua you set local adsResponse = event.response
    event.response is most of the time nil, which will most likely cause issues in your call to this:dispatchEvent.
     
  2. In your main.lua you call ads.prepare(). I assume it should be admob.prepare().

After looking more closely at your code in admob.lua, you should change:

local adsResponse = event.response

to

local adsResponse = event.phase 

My problem is somehow the same :frowning: i believe there were no errors logged. I am stumped :((

[Device] libMobileGestalt MobileGestaltSupport.m:153: pid 1703 (Xoomi) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled

[Device] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)

[Device] Platform: iPhone / iPhone9,4 / 10.3.2 / Apple A10 GPU / OpenGL ES 2.0 Metal - 39.9 / 2017.3076 / en-PH | PH | en_PH | en

using CoronaSDK Version 2017.3076 (2017.4.25) with XCode 8.3 on MacOS Sierra, iOS SDK 10.3.

TIA :slight_smile: