floatinghotpot / cordova-plugin-flurry

Cordova plugin to support Flurry (analytics and advertisement)
MIT License
19 stars 13 forks source link

Native ads for iOS not working #35

Open matte5031 opened 8 years ago

matte5031 commented 8 years ago

Native ads are working good in Android. I'm now trying them out in a iOS 9.3 device, building for iOS 8+ using cli 5.1.1 and the Intel XDK. I'm also using isTesting: true in defaultOptions. Banner ads are working fine in all devices tried, including iOS. The problem for iOS and native ads seems to be when the code calls FlurryAds.createNativeAd(adid.native) the eventListener below is never being called when using native ads and in iOS only.

document.addEventListener('onAdLoaded', function(data){ });

Dont know what more to try, therefore if anyone has any input about how this can be solved or what might be causing this, please let me know! All help is highly appreciated, thanks

jwenzler commented 7 years ago

Correct me if I'm wrong, but it looks like there is no code in the iOS src to actually create a native ad. Please let us know if this is the case and if there is a plan to add this. Thank you so much for the plugins, they are fantastic.