Comments (8)
I was able to get the plugin to display ads, unfortunately it would crash on orientation change. I saw someone else fixed this issue and I have sent a request to PhoneGap Build to update the plugin with the new code. I have posted the Javascript code that works for me, with the orientation change crash, here: https://github.com/rjbruneel/cordova-plugin-iad/blob/master/test/index.html Give that a try and let me know if it works for you.
from cordova-plugin-iad.
I solved that crash issue on orientation change. Its because the cordova 2.4 has a bug in it on screen orientation change. If you upgrade your cordova it won't crash on screen orientation change.
from cordova-plugin-iad.
I am using cordova 3.0 with PhoneGap Build. Adobe accepted the new code I submitted for the iAd PhoneGap Build plugin. There are now two iAd plugins available for PhoneGap Build. com.kickstand is the version I submitted. I have not had a chance to test it yet. I didn't actually write the code so I am not sure if it will work.
from cordova-plugin-iad.
ok
from cordova-plugin-iad.
Thanks @rjbrunee, but your code is really a hack on this. I mean you're using a timeout longer than prepare to show the ads, instead of the event listeners.
Is there any any working plugin from events? Thanks.
from cordova-plugin-iad.
I didn't actually write the code. I just copied over the fix for the old plugin and submitted it to PhoneGap Build. It looked to me like someone fixed the other version of the iAd plugin and submitted it to PhoneGap. I have not tried it yet though.
from cordova-plugin-iad.
Thanks. What other version?
from cordova-plugin-iad.
This one: https://build.phonegap.com/plugins/680
Thanks,
RJ Bruneel
On Tue, Apr 22, 2014 at 10:32 AM, manuelpaulo [email protected]:
Thanks. What other version?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-41046662
.
from cordova-plugin-iad.
Related Issues (20)
- Orientation change despite UIInterfaceOrientationPortrait HOT 1
- Rotating while ad open breaks view HOT 1
- Compiling with PhoneGap build HOT 5
- Any plan to support interstitial ads? HOT 1
- Problem with iOS6 statusbar HOT 9
- Version issue in Phonegap Build HOT 1
- Not working HOT 4
- Probleme in landscape HOT 2
- Events not working HOT 3
- IAD/AdMob/Flurry precedence and priority. (fallback solutions) HOT 6
- no ads showing? HOT 2
- AdSupport.framework is not needed and should be removed from plugin.xml HOT 1
- Reference Error: Can't find variable iAd HOT 9
- wrong webview height HOT 1
- writeJavascript deprecated HOT 5
- Ad pushing webview up HOT 8
- Hide iAd HOT 9
- How's this plugin?
- Blank Banner view HOT 9
- Events failing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-iad.