floatinghotpot / cordova-plugin-facebookads

Cordova/PhoneGap plugin for Facebook Audience Network Ads
64 stars 71 forks source link

native ad image not showing in test #75

Closed hodaifa82 closed 6 years ago

hodaifa82 commented 6 years ago

the image of the ad in test mode is not showing but the click area and the ad text is ok also banner and interstitial is showing the the image

floatinghotpot commented 6 years ago

Did you add this line into your html file?

<meta 
http-equiv="Content-Security-Policy" 
content="default-src * gap://ready file:; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src * 'unsafe-inline' 'unsafe-eval'">

Not sure if you implemented it properly or not. Try using this demo file for a testing. https://github.com/floatinghotpot/cordova-plugin-facebookads/blob/master/test/index.html

hodaifa82 commented 6 years ago

@floatinghotpot itry to use the file its not working , the banner working , the interstitial working , but the native worked only when the banner is there and i have to remove and create again ?????? else i have this image

screen shot 2017-09-10 at 10 03 10 am