[Discontinued] Admob Ads for Android/Crosswalk/iOS

Post your work in progress addons and get feedback

Post » Sat Aug 16, 2014 1:40 pm

then at some exciting moment do "Show full screen Ad" to show the ad.
Wait for the user to dismiss the ad in "On dismiss full screen Ad".

How are you doing this part in C2? thanks
B
9
S
2
Posts: 104
Reputation: 1,098

Post » Sun Aug 17, 2014 8:03 am

@Remmy112 The "Show full screen Ad" is an action that you can put e.g. when your level is about to end. The user then look at the ad and dismiss it. To know when to continue you then put an event "On dismiss full screen Ad" and in that event you can change layout or show an end game scene.
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Tue Aug 19, 2014 1:45 pm

Hi, is there a problem with the repo or something?
My project was compiling fine this morning when suddenly the XDK gives me this:

Error: Plugin failed to install: Admob com.admob.admobplugin (https://github.com/gooogleadmob/phonegap-admob-plugin/)
B
16
S
7
G
1
Posts: 161
Reputation: 3,131

Post » Tue Aug 19, 2014 3:30 pm

pirx wrote:Hi, is there a problem with the repo or something?
My project was compiling fine this morning when suddenly the XDK gives me this:

Error: Plugin failed to install: Admob com.admob.admobplugin (https://github.com/gooogleadmob/phonegap-admob-plugin/)


Yes, the plugin has been removed from github. Just one day after I managed to show banners and interstitials with it... The C2 monetization nightmare continues :?
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Tue Aug 19, 2014 4:02 pm

omg. so can we or can't be monetize C2 apps ? I see all these posts, anything official?
B
9
S
2
Posts: 104
Reputation: 1,098

Post » Tue Aug 19, 2014 4:03 pm

As @Knifegrinder said : It's a nightmare.
B
35
S
9
G
3
Posts: 493
Reputation: 4,092

Post » Tue Aug 19, 2014 4:58 pm

Seems it has been removed. However I am trying out another one that also will do banners.
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Tue Aug 19, 2014 5:29 pm

Maybe just a name change, try this one: https://github.com/googleadmob/admob-phonegap
B
18
S
7
Posts: 88
Reputation: 1,424

Post » Tue Aug 19, 2014 7:05 pm

Arne wrote:Maybe just a name change, try this one: https://github.com/googleadmob/admob-phonegap


Nope, this new repo crashes may phone...

08-19 20:55:48.959 30643-30643/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.NullPointerException
at com.admob.cordova.plugin.AdmobAdPlugin$3.run(AdmobAdPlugin.java:134)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5306)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)

I'm trying some other plugins calling their functions with the browser object but nothing has been successful till now.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Tue Aug 19, 2014 7:10 pm

Ok, thats strange, just tested with this build log:
Code: Select all
The App ID is "se.frostyelk.hellofrosty"
The App Name is "HelloFrosty"
Crosswalk Version: Beta (7.36.154.12)
Plugin installed: com.admob.admobplugin (https://github.com/googleadmob/admob-phonegap)
Updated "minSdkVersion" with "14"
Updated "targetSdkVersion" with "19"
Updated "installLocation" to "auto"
Updated "versionCode" to "60044"
Updated "versionName" to "0.0.1.2


And it works.

Edit Note: The plugin names looks very similar, check the path and plugin id again.
B
18
S
7
Posts: 88
Reputation: 1,424

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests