Admob is not working anymore and crashes apps.

0 favourites
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

    Well I guess that's a no to both since the plug isn't supported on Phonegap officially.

    As always if you want it fixed, better make a bug report, as Ashley's not likely to fix anything he doesn't know about.

  • > It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

    >

    Please, where I can download that ?.

    It's in the official manual https://www.scirra.com/manual/184/admob

    [quote:1bojojdn]Name: AdMob Plugin

    Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob

    Well I guess that's a no to both since the plug isn't supported on Phonegap officially.

    It is officially on Scirra. There's nothing to report IMO. The problem is when you use C2 plugin and JS which is NOT officially supported by C2. So I doubt Ashley would consider fixing it... especially when the code itself is a third-party library.

    So to wrap up:

    Case 1

    C2 official AdMob plugin + cranberry Cordova AdMob plugin (JS) - gives problems sometimes

    Case 2

    C2 official AdMob plugin + cranberry Phonegap AdMob plugin (JS) - works fine

    Case 3

    Cranberry C2 Cordova Admob plugin + cranberry Cordova AdMob plugin (JS) - should work fine (haven't test it myself yet

    Officially only Case 2 is supported and I didn't have any issues with such combination.

  • >

    > > It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

    > >

    >

    > Please, where I can download that ?.

    >

    It's in the official manual https://www.scirra.com/manual/184/admob

    [quote:1oz1s0i6]Name: AdMob Plugin

    Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob

    Well I guess that's a no to both since the plug isn't supported on Phonegap officially.

    It is officially on Scirra. There's nothing to report IMO. The problem is when you use C2 plugin and JS which is NOT officially supported by C2. So I doubt Ashley would consider fixing it... especially when the code itself is a third-party library.

    So to wrap up:

    Case 1

    C2 official AdMob plugin + cranberry Cordova AdMob plugin (JS) - gives problems sometimes

    Case 2

    C2 official AdMob plugin + cranberry Phonegap AdMob plugin (JS) - works fine

    Case 3

    Cranberry C2 Cordova Admob plugin + cranberry Cordova AdMob plugin (JS) - should work fine (haven't test it myself yet

    Officially only Case 2 is supported and I didn't have any issues with such combination.

    So what you mean is that if the ID laying in the manual is used, the plugin works correctly?.

    Thanks for the info <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Why do you need to use both the official, and Cranberry Admob plugs?

  • C2 official plugin doesn't work by itself. You need to attach the JS library. By default (I mean according to manual instruction) it's supported with cranberry phonegap JS. But this library is not attached by itself, you have to add it manually.

  • Thanks

    and

    After I added the Cranberrygame Admob plugin, I am unable to build my game at all! And strangely the XDK log doesnt mention anything about Admob. It says duplicate reference for "com.google.android.gms" , which when I googld I found it refers to "Google Play Services"

    And notice in the below error log there are two google[lay references. Not sure if this is the issue. I had the same setup with official Admob plugin but never got any build error. BTW I switched to cranberrygame plugin becuase on iOS when an Ad is clicked and user comes back, the game restarts! I was hoping this issue is not present in Cordova plugin [quote:m8216155]

    Building a Cordova 5.1.1 application.

    Building with cordova-android 4.1.1.

    The application name is "Last of the Survivors"

    The package name is "com.gamessolidrock.lastofthesurvivors"

    Preference android-signed set to false. Application will not be signed.

    Using Crosswalk Embedded 15

    Plugin "cordova-plugin-splashscreen" (2.1.0) installed.

    Plugin "cordova-plugin-device" (1.0.1) installed.

    Plugin "cordova-plugin-device-motion" (1.1.1) installed.

    Plugin "cordova-plugin-payment-iap" (2.0.39) installed.

    Plugin "cordova-plugin-ad-adcolony" (1.0.40) installed.

    Plugin "cordova-plugin-ad-chartboost" (1.0.75) installed.

    Plugin "cordova-plugin-inappbrowser" (1.0.1) installed.

    Plugin "android.support.v4" (1.0.0) installed.

    Plugin "com.google.playservices" (21.0.0) installed.

    Plugin "cordova-plugin-game" (1.0.105) installed.

    Plugin "cordova-plugin-extras-google-play-services" (1.0.3) installed.

    Plugin "cordova-plugin-ad-admobsdk" (1.0.31) installed.

    Plugin "cordova-plugin-ad-admob" (1.0.106) installed.

    Plugin "cordova-plugin-legacy-whitelist" (1.1.0) installed.

    Plugin "cordova-plugin-crosswalk-webview" (1.4.0) installed.

    App name updated to [Last of the Survivors]

    Updated "minSdkVersion" with "16"

    Updated "targetSdkVersion" with "19"

    Updated "installLocation" to "auto"

    Added "screenOrientation" to "landscape"

    Updated "versionCode" to "20050"

    Updated "versionName" to "0.5"

    Added "debuggable" to "false"

    Error: A build error occurred. Check the build log.

  • I will do some tests today, and let you know how it works for me.

  • SamRock - I'm sorry but I am currently not using admob and can't test it right now. But maybe the others can help you.

  • I just built my game with C2 AdMob plugin + phonegap JS (as manual describes). No issues at all.

  • Here's a simpler and more lucrative option if you're having a hard time...

    https://www.scirra.com/tutorials/4896/s ... arning-ads

  • Well more lucrative for anyone using a referral link at least.

    http://www.appodeal.com/

  • was able to build C2 official plugin + https://github.com/cranberrygame/cordov ... n-ad-admob on intel xdk:

    works fine on android with crosswalk, but build fails on ios.

    can anyone help with the ios?

  • The latest version of XDK/AdMob Combi is a DISASTER.

    http://imgur.com/7YJyhXA

    I also have to disable WKWebView because it is causing all kinds of compilation errors with the latest version of the XDK.

    I am so going to NEVER USE XDK again after this project, I am SICK and TIRED of them CONSTANTLY .... just CONSTANTLY breaking their own software.

    Check out their LATEST FUCK YOU stunt:

    Using EXACTLY the version they want you to use and still says please use the version that you have already selected.

    It is like the bully that ask why are you hitting yourself.

    Public Service: Build 2866 of Intel XDK STILL WORKS WITH AdMob and iOS, QUICKLY DOWNLOAD THIS EARLIER BUILD WHILE IT IS STILL WORKING!!!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • thnx for the update mate

    bought the http://cranberrygame.github.io/ plugins thought it would help with the admob and intel xdk problem well it didn't, moreover their admob plugin has this stunt

    http://imgur.com/cVQ7FBt

    never was so angry and what a waste of money.

    never mind that, tried to build with coocon.io with phonegap plugin, ios works great but android fails and got these:

    Failed to fetch plugin cordova-plugin-googleplayservicesjob@19.0.0 via registry.

    any idea how to fix this?

  • is anybody find solution for the admob+ios+xdk?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)