Does inMobi advertising work with appMobi/xdk apps? I tried putting it in my app the same way as seen here
var inmobi_conf = { siteid : "4028cba631d63df10131e1d3191d00cb", slot : "15", test: true, manual: true, onError : function(code) { alert(code); // do something else. call to other ad network or logic to display in-house ads, etc. } };
function loadAdd(){
_inmobi.getNewAd(document.getElementById('screen'));
};
With this in my html
<div style = "background-color: red; position: absolute; top: 0;" id="screen"> </div>
<button style = "background-color: red; position: absolute; top: 0;" id="btn1" onClick="loadAdd()">Load Ad</button>
Every time it will request an ad, turn my div white instead of the red, but show no ad. It will also alert "nfr" meaning no fill response every time. Ive tried in the Intel XDK browser emulator, the Intels Applab app that makes the app run on your device (iPhone), and by actually pushing it and downloading it as an android build. Ive also tried it with both the test ID and an actual ID I registered with my app on the site, neither worked.