If on your task manager you see svchost taking much physical memory
1 On your task manager
powered by JombApps.com
var admobid = {}; | |
if( /(android)/i.test(navigator.userAgent) ) { | |
admobid = { // for Android | |
banner: 'ca-app-pub-youradmobcode', | |
interstitial: 'ca-app-pub-youradmobcode' | |
}; | |
} else if(/(ipod|iphone|ipad)/i.test(navigator.userAgent)) { | |
admobid = { // for iOS | |
banner: 'ca-app-pub-youradmobcode', | |
interstitial: 'ca-app-pub-youradmobcode' | |
}; | |
} else { | |
admobid = { // for Windows Phone | |
banner: 'ca-app-pub-youradmobcode', | |
interstitial: 'ca-app-pub-youradmobcode' | |
}; | |
} | |
if(( /(ipad|iphone|ipod|android|windows phone)/i.test(navigator.userAgent) )) { | |
document.addEventListener('deviceready', initApp, false); | |
} else { | |
initApp(); | |
} | |
function initApp() { | |
if (! AdMob ) { alert( 'admob plugin not ready' ); return; } | |
AdMob.createBanner( { | |
adId: admobid.banner, | |
isTesting: true, | |
overlap: false, | |
offsetTopBar: false, | |
position: AdMob.AD_POSITION.BOTTOM_CENTER, | |
bgColor: 'black' | |
} ); | |
AdMob.prepareInterstitial({ | |
adId: admobid.interstitial, | |
autoShow: true | |
}); | |
} | |
Any time this iss If on your task manager you see svchost taking much physical memory 1 On your task manager ...