Is anybody out there working on a user-contributed Admob-plugin for Phonegap Build?
I'm looking at this page https://build.phonegap.com/plugins frequently wishing it will show up ;-)
I'm looking at this page https://build.phonegap.com/plugins frequently wishing it will show up ;-)
- 7 Posts
- 0 Reply Likes
Posted 7 years ago
- 22 Posts
- 3 Reply Likes
Last week I did a quick version, compatible Phonegap 3.0 CLI :
https://github.com/aliokan/cordova-pl...
Before to proposing on Phonegap Build, I need more tests.
https://github.com/aliokan/cordova-pl...
Before to proposing on Phonegap Build, I need more tests.
- 39 Posts
- 0 Reply Likes
What?! Google killed it when they took it over and I went to www.leadbolt.com
None of them supported HTML5 mobile?! which was shocking and approaching rude if not stupid.
I rolled my own like everything else it seems.
Finally www.leadbolt.com said they supported my/our vision (of the to be honest still far off future) but what I had seems broken now for the moment and I've not looked into it since.
Ironically when I started I said the first thing you must do is built a route to monitization (apparently manually in my phonegap case a year ago), now after a year of battling the HTML5 dream (aka nightmare especially compared to AS3, which was awesome), I find it's still something I'll do again (and defer to later) when the darn app is working well enough.
Good Luck.
None of them supported HTML5 mobile?! which was shocking and approaching rude if not stupid.
I rolled my own like everything else it seems.
Finally www.leadbolt.com said they supported my/our vision (of the to be honest still far off future) but what I had seems broken now for the moment and I've not looked into it since.
Ironically when I started I said the first thing you must do is built a route to monitization (apparently manually in my phonegap case a year ago), now after a year of battling the HTML5 dream (aka nightmare especially compared to AS3, which was awesome), I find it's still something I'll do again (and defer to later) when the darn app is working well enough.
Good Luck.
- 3 Posts
- 0 Reply Likes
Hi Gotta, May I know what monetize technique at the moment we can use it with phonegap?? I am literally searching for 1 month for monetization but none seems to work.i too worked with leadbolt support team for almost 2 weeks only to found out that Phonegap 3.0.0 is not supported.
- 39 Posts
- 0 Reply Likes
Like I said I (ultimately hacked them) and rolled my own.
Basically in the end all you want is a banner and a link. All these SDKs is overkill in my opinion, and to not provide a simpler legacy solution, really further only legitimizes some sods gig and not really good design for a simple ad network.
It was how Google killed AdMod that was shocking and evil, so I'm certainly surprised to see them return and allow House Ads again!... I think?, which I was just trying to check up on but like I say I'm going to have to leave it until later.
To answer your question I built my own system to essentially do House Ads as a priority, which should be so in demand (and a default/given) but surprisingly they're not!?... we are all just subject to control-freaks and not true "service" providers without them I feel.
Honestly if phonegap isn't the way of the future, I'm missing something.
Why the ad-viders aren't providing an HTML5 JavaScript solution is ridiculous and a massive over-site as well as extremely annoying for sure, if not preposterous.
I guess I'm saying I've changed my origin theory that the ads come first and then the app. Just take a year or two to build a great app and the performance and ads will likely be sorted by then. If your ready today start rolling your own ad system if there's nothing doing it for you.
Part of the AdSense mentality problem relating also to the not having House Ads theory's issue is you need to prove awesomeness first (chicken and the egg). Without ads why build an app? but the default logic is Without a popular App why worry about Ads. They won't let you post or join anyway, hence the brilliance of HouseAds. In the end the ad SDKs are changing and updated so much its dumb to do Ads first and on second hand it's dumb to use them at all, but you have to (or you're kind of being foolish). So conclusively without PhoneGap support, [which is just web on mobile (something apparently beyond their comprehension ~ mobile SDK mongers),] your better off monetizing in a different way (not on the free version), or using native (with overkill SDKs, how's great features are getting banned more everyday [cause their design by evil marketers pushing and popping to much crud]).
A final further Irony for all to consider is that in the future I believe JavaScript (and all others) will write to bytecodes so you'll basically build native to all platforms from any language. Still then I suppose JavaScript will prevail in that notion (because it's deeply and fully functioning in the browsers and that's key to majority access/people alright anyway).
Don't fear to roll your own. Hacking those guys was a bitch but it's always possible.
Basically in the end all you want is a banner and a link. All these SDKs is overkill in my opinion, and to not provide a simpler legacy solution, really further only legitimizes some sods gig and not really good design for a simple ad network.
It was how Google killed AdMod that was shocking and evil, so I'm certainly surprised to see them return and allow House Ads again!... I think?, which I was just trying to check up on but like I say I'm going to have to leave it until later.
To answer your question I built my own system to essentially do House Ads as a priority, which should be so in demand (and a default/given) but surprisingly they're not!?... we are all just subject to control-freaks and not true "service" providers without them I feel.
Honestly if phonegap isn't the way of the future, I'm missing something.
Why the ad-viders aren't providing an HTML5 JavaScript solution is ridiculous and a massive over-site as well as extremely annoying for sure, if not preposterous.
I guess I'm saying I've changed my origin theory that the ads come first and then the app. Just take a year or two to build a great app and the performance and ads will likely be sorted by then. If your ready today start rolling your own ad system if there's nothing doing it for you.
Part of the AdSense mentality problem relating also to the not having House Ads theory's issue is you need to prove awesomeness first (chicken and the egg). Without ads why build an app? but the default logic is Without a popular App why worry about Ads. They won't let you post or join anyway, hence the brilliance of HouseAds. In the end the ad SDKs are changing and updated so much its dumb to do Ads first and on second hand it's dumb to use them at all, but you have to (or you're kind of being foolish). So conclusively without PhoneGap support, [which is just web on mobile (something apparently beyond their comprehension ~ mobile SDK mongers),] your better off monetizing in a different way (not on the free version), or using native (with overkill SDKs, how's great features are getting banned more everyday [cause their design by evil marketers pushing and popping to much crud]).
A final further Irony for all to consider is that in the future I believe JavaScript (and all others) will write to bytecodes so you'll basically build native to all platforms from any language. Still then I suppose JavaScript will prevail in that notion (because it's deeply and fully functioning in the browsers and that's key to majority access/people alright anyway).
Don't fear to roll your own. Hacking those guys was a bitch but it's always possible.
- 3 Posts
- 0 Reply Likes
Ohkz thank you for your kind rpl.I will definiatly try to do that but at the moment I do not have much time to go in that much deep.
Yes I do have published app in Google Play. Here is the link to my android
WWE Quiz Game https://play.google.com/store/apps/de...
After rplying you I just thought of give it a last try and search again for ad monetize and I found one.Its not much impressive and only paid you per installs but something to have than nothing in hand so I integrated it.Yes it fully support Phonegap 3.0.0 here is the link for it,
http://sdk.revmobmobileadnetwork.com/...
Thanks again.
Yes I do have published app in Google Play. Here is the link to my android
WWE Quiz Game https://play.google.com/store/apps/de...
After rplying you I just thought of give it a last try and search again for ad monetize and I found one.Its not much impressive and only paid you per installs but something to have than nothing in hand so I integrated it.Yes it fully support Phonegap 3.0.0 here is the link for it,
http://sdk.revmobmobileadnetwork.com/...
Thanks again.
- 8 Posts
- 0 Reply Likes
Just wondering. If we are using remote JSON calls (cross-domain) to our own web service server and we store encrypted data locally, is it wise to use this AD service from a security perspective? If there are no issues, what is the recommended config steps we should follow to ensure a secure solution?
Thanks for the advice.
Thanks for the advice.
- 11 Posts
- 0 Reply Likes
Laurent, I added your Admob phonegap plugin to my Android app. When I changed to adsize from admob.AD_SIZE.BANNER to admob.AD_SIZE.SMART_BANNER, my app crashed. Here's the debug log:
10-21 16:18:16.579: W/AdMobPlugin(1406): executeCreateBannerView OK
10-21 16:18:16.579: W/AdMobPlugin(1406): createBannerView
10-21 16:18:16.590: W/AdMobPlugin(1406): run
10-21 16:18:16.599: W/ResourceType(1406): No package identifier when getting name for resource number 0x00000064
10-21 16:18:16.599: W/AdMobPlugin(1406): org.apache.cordova.CordovaWebView{41d54508 VFEDH.CL .F...... 0,0-768,1134 #64}
10-21 16:18:16.599: D/AndroidRuntime(1406): Shutting down VM
10-21 16:18:16.599: W/dalvikvm(1406): threadid=1: thread exiting with uncaught exception (group=0x41465700)
10-21 16:18:16.640: E/AndroidRuntime(1406): FATAL EXCEPTION: main
10-21 16:18:16.640: E/AndroidRuntime(1406): java.lang.UnsupportedOperationException: Ad size was not set before getWidth() was called.
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.google.ads.AdSize.getWidth(SourceFile:226)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.google.ads.AdSize.toString(SourceFile:284)
10-21 16:18:16.640: E/AndroidRuntime(1406): at java.lang.StringBuilder.append(StringBuilder.java:202)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.google.cordova.plugin.AdMobPlugin$1.run(AdMobPlugin.java:126)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.os.Handler.handleCallback(Handler.java:730)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.os.Handler.dispatchMessage(Handler.java:92)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.os.Looper.loop(Looper.java:137)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.app.ActivityThread.main(ActivityThread.java:5103)
10-21 16:18:16.640: E/AndroidRuntime(1406): at java.lang.reflect.Method.invokeNative(Native Method)
10-21 16:18:16.640: E/AndroidRuntime(1406): at java.lang.reflect.Method.invoke(Method.java:525)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
10-21 16:18:16.640: E/AndroidRuntime(1406): at dalvik.system.NativeStart.main(Native Method)
10-21 16:18:16.710: W/ActivityManager(286): Force finishing activity com.vn42.craving/.CRAVING
10-21 16:18:16.579: W/AdMobPlugin(1406): executeCreateBannerView OK
10-21 16:18:16.579: W/AdMobPlugin(1406): createBannerView
10-21 16:18:16.590: W/AdMobPlugin(1406): run
10-21 16:18:16.599: W/ResourceType(1406): No package identifier when getting name for resource number 0x00000064
10-21 16:18:16.599: W/AdMobPlugin(1406): org.apache.cordova.CordovaWebView{41d54508 VFEDH.CL .F...... 0,0-768,1134 #64}
10-21 16:18:16.599: D/AndroidRuntime(1406): Shutting down VM
10-21 16:18:16.599: W/dalvikvm(1406): threadid=1: thread exiting with uncaught exception (group=0x41465700)
10-21 16:18:16.640: E/AndroidRuntime(1406): FATAL EXCEPTION: main
10-21 16:18:16.640: E/AndroidRuntime(1406): java.lang.UnsupportedOperationException: Ad size was not set before getWidth() was called.
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.google.ads.AdSize.getWidth(SourceFile:226)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.google.ads.AdSize.toString(SourceFile:284)
10-21 16:18:16.640: E/AndroidRuntime(1406): at java.lang.StringBuilder.append(StringBuilder.java:202)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.google.cordova.plugin.AdMobPlugin$1.run(AdMobPlugin.java:126)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.os.Handler.handleCallback(Handler.java:730)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.os.Handler.dispatchMessage(Handler.java:92)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.os.Looper.loop(Looper.java:137)
10-21 16:18:16.640: E/AndroidRuntime(1406): at android.app.ActivityThread.main(ActivityThread.java:5103)
10-21 16:18:16.640: E/AndroidRuntime(1406): at java.lang.reflect.Method.invokeNative(Native Method)
10-21 16:18:16.640: E/AndroidRuntime(1406): at java.lang.reflect.Method.invoke(Method.java:525)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
10-21 16:18:16.640: E/AndroidRuntime(1406): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
10-21 16:18:16.640: E/AndroidRuntime(1406): at dalvik.system.NativeStart.main(Native Method)
10-21 16:18:16.710: W/ActivityManager(286): Force finishing activity com.vn42.craving/.CRAVING
- 22 Posts
- 3 Reply Likes
It's fixed now. Thx to Kris Erickson his fix!
- 3500 Posts
- 40 Reply Likes
Hi All,
This issue is now closed.
Create a new issue if you wish to bring up your current situation or have any other problem with PhoneGap Build.
Thanks
This issue is now closed.
Create a new issue if you wish to bring up your current situation or have any other problem with PhoneGap Build.
Thanks
This conversation is no longer open for comments or replies.
This conversation is no longer open for comments or replies.
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers





durvesh naik
Dominion Knight
Laurent Deketelaere
Orestis Papageorgiou
Laurent Deketelaere
In conclusion, no solution to use Admob on a Phonegap Build project, today...
Dominion Knight
Ove Rune Driveklepp
Laurent Deketelaere
Ove Rune Driveklepp
Laurent Deketelaere
Louis R