API Level and GDPR update


#1

Hello users,

We are releasing updates to address the API Level requirements of the Play Store and GDPR in the Cocoon plugins issues.

Maintenance will start at 09:00 UTC, 2018-08-21

Many of you will need to make a few changes to your projects, so keep reading to learn about the details.


The issue of the API Level requirements of the Play Store comes with a new version of cocoonio: 3.0.0. During the first days this version will be labelled as 3.0.0-beta and latest won’t grab it yet. You need to specifically select it in your project settings.

cocoonio@3.0.0 uses cordova-android@7.1.1 and you should read this announcement about its breaking changes. Some plugins you might be using at the moment will not work because of this, so be aware of which ones are prepared for this new version.

Cocoon plugins will receive updates at the same time the new cocoonio is deployed, but this updates are not backward compatible. If you intend to use a version of cocoonio different from cocoonio@3.0.0 you must install a specific version of our plugins rather than using latest. You can find the list of plugins and the version you must install at the end of this post. If a cocoonio plugin you are using is not on the list, then it’s safe to use latest.


GDPR updates are not ready for every ad network. We are going to release them in batches and the first batch is AdMob.

AdMob and its adapters will arrive with cocoonio@3.0.0 to Android and iOS. But the Android version will only work in cocoonio@3.0.0.

At the same time, they have some breaking changes. Read the documentation to learn how to configure them, and how to notify the networks about the consent from the user to be targeted by personalized ads.

Also, you can now request rewarded videos from AdMob itself and any of their adapters that support them.

If you want to use the old plugins you can find the list of plugins and the version you must install at the end of this post.


List of plugins if you don’t use cocoonio@3.0.0

<plugin name="cocoon-plugin-ads-android-adcolony" spec="1.0.4"/>`
<plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/>`
<plugin name="cocoon-plugin-ads-android-admob-adcolony" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-admob-applovin" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-admob-chartboost" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-admob-unityads" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-applovin" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-android-chartboost" spec="1.0.7"/>`
<plugin name="cocoon-plugin-ads-android-common" spec="1.0.5"/>`
<plugin name="cocoon-plugin-ads-android-heyzap" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-heyzap-adcolony" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-heyzap-chartboost" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-heyzap-unityads" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-mopub" spec="1.0.6"/>`
<plugin name="cocoon-plugin-ads-android-mopub-adcolony" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-android-mopub-admob" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-android-mopub-chartboost" spec="1.0.5"/>`
<plugin name="cocoon-plugin-ads-android-mopub-greystripe" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-android-mopub-inmobi" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-android-mopub-millennialmedia" spec="1.0.6"/>`
<plugin name="cocoon-plugin-ads-android-unityads" spec="1.0.3"/>`
<plugin name="cocoon-plugin-inapps-android-amazon" spec="1.0.4"/>`
<plugin name="cocoon-plugin-inapps-android-googleplay" spec="1.0.3"/>`
<plugin name="cocoon-plugin-multiplayer-android-googleplaygames" spec="1.0.4"/>`
<plugin name="cocoon-plugin-notifications-android-local" spec="1.0.5"/>`
<plugin name="cocoon-plugin-notifications-android-parse" spec="1.0.9"/>`
<plugin name="cocoon-plugin-social-android-googleplaygames" spec="1.1.5"/>`
<plugin name="cocoon-plugin-social-android-facebook" spec="1.1.5"/>`

List of plugins if you don’t use the new ads plugins

<plugin name="cocoon-plugin-ads-android-adcolony" spec="1.0.4"/>`
<plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/>`
<plugin name="cocoon-plugin-ads-android-admob-adcolony" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-admob-applovin" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-admob-chartboost" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-admob-unityads" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-android-applovin" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-android-chartboost" spec="1.0.7"/>`
<plugin name="cocoon-plugin-ads-android-common" spec="1.0.5"/>`
<plugin name="cocoon-plugin-ads-android-heyzap" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-heyzap-adcolony" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-heyzap-chartboost" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-heyzap-unityads" spec="1.1.1"/>`
<plugin name="cocoon-plugin-ads-android-mopub" spec="1.0.6"/>`
<plugin name="cocoon-plugin-ads-android-mopub-adcolony" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-android-mopub-admob" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-android-mopub-chartboost" spec="1.0.5"/>`
<plugin name="cocoon-plugin-ads-android-mopub-greystripe" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-android-mopub-inmobi" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-android-mopub-millennialmedia" spec="1.0.6"/>`
<plugin name="cocoon-plugin-ads-android-unityads" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-ios-adcolony" spec="1.0.4"/>`
<plugin name="cocoon-plugin-ads-ios-admob" spec="1.0.8"/>`
<plugin name="cocoon-plugin-ads-ios-admob-adcolony" spec="1.0.4"/>`
<plugin name="cocoon-plugin-ads-ios-admob-applovin" spec="1.0.3"/>`
<plugin name="cocoon-plugin-ads-ios-admob-inmobi" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-ios-admob-unityads" spec="1.0.2"/>`
<plugin name="cocoon-plugin-ads-ios-applovin" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-ios-common" spec="1.0.5"/>`
<plugin name="cocoon-plugin-ads-ios-inmobi" spec="1.0.1"/>`
<plugin name="cocoon-plugin-ads-ios-unityads" spec="1.0.3"/>`

As you can observe, every version is some kind of 1.x.x. And the new versions are 2.x.x. That way it is recommended to install them using the string ^1.0.0 rather than the specific version shown above.

<plugin name="cocoon-plugin-xxx-xxx-xxx" spec="^1.0.0"/>


#2

#3

#4

Will you share update changes about cocoonio@3.0.0 ?

I hope sound problem fixed and all others will fixed.

We need update for Construct plugins too.
Regards.


#5

Yes we need updated construct 2 plugins with rewarded ads feature, is it coming? please tell


#6

can you tell me , where is the new plugin for admob ads reward? and is that need to install in construct 2? @Blue_Sialia


#7

@Blue_Sialia permission to play sounds after build com cocoon does not appear and for this reason the music does not play in cocon to android 4.4


#8

Thank you so so much… <3


#9

please cek your icons, because the icons error


#10

I can not compile my game from construct 2
`COMPILER ERROR:

/workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Could not resolve all dependencies for configuration ‘:_armv7DebugApkCopy’.
Could not find com.google.android.gms:play-services-ads:15.0.1.
Searched in the following locations:
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

CORDOVA LOG:

e[36m20180826T132643 [DEBUG] AndroidBuilder -e[39m [prepare] cordova restore platforms
e[36m20180826T132643 [DEBUG] AndroidBuilder -e[39m [prepare] adding engine android@6.2.3
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Subproject Path: CordovaLib
(node:30357) [DEP0016] DeprecationWarning: ‘root’ is deprecated, use ‘global’
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] cordova restore plugins
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin @dpogue/cordova-plugin-crosswalk-webview@*
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin cocoon-plugin-ads-android-admob@*
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.canvasplus.android@2.6.0
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.defaultres.android@1.0.1
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.installlocation.android@1.0.0
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.splash.android@1.1.0
e[36m20180826T132712 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.usericon.android@1.0.1
e[36m20180826T132713 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.webviewplus.ios@1.1.4
e[36m20180826T132713 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin cordova-plugin-file@*
e[36m20180826T132713 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin cordova-plugin-httpd@*
e[36m20180826T132713 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin cordova-plugin-whitelist@*
e[36m20180826T132713 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin https://github.com/CocoonIO/cocoon-plugin-android-architecture.git
Subproject Path: CordovaLib
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

skipping existing file: architecture.gradle
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

e[36m20180826T132715 [DEBUG] AndroidBuilder -e[39m [build]
Warning: File /.android/repositories.cfg could not be loaded.
e[36m20180826T132717 [DEBUG] AndroidBuilder -e[39m [build] create certs folder
e[36m20180826T132717 [DEBUG] AndroidBuilder -e[39m [build] keystore
e[36m20180826T132717 [DEBUG] AndroidBuilder -e[39m [build] create build.json
e[36m20180826T132717 [DEBUG] AndroidBuilder -e[39m [build] call cordova
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

skipping existing file: architecture.gradle
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux
JAVA_HOME=/usr/lib/jvm/default-java
Subproject Path: CordovaLib
embedded
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_8xuch0vcq23b0o0l4ds0dkf9w.run(/workspace/platforms/android/build.gradle:140)
org.xwalk:xwalk_core_library:15+
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Could not resolve all dependencies for configuration ‘:_armv7DebugApkCopy’.
Could not find com.google.android.gms:play-services-ads:15.0.1.
Searched in the following locations:
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.608 secs
e[91m20180826T132724 [ERROR] AndroidBuilder -e[39m { Error: /workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Could not resolve all dependencies for configuration ‘:_armv7DebugApkCopy’.
Could not find com.google.android.gms:play-services-ads:15.0.1.
Searched in the following locations:
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom
file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar
Required by:
project :

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/workspace/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:961:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
    stderr:
    ‘\nFAILURE: Build failed with an exception.\n\n* What went wrong:\nA problem occurred configuring root project ‘android’.\n> Could not resolve all dependencies for configuration ‘:_armv7DebugApkCopy’.\n > Could not find com.google.android.gms:play-services-ads:15.0.1.\n Searched in the following locations:\n file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom\n file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/google/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar\n file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar\n file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.pom\n file:/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux/extras/android/m2repository/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar\n file:/workspace/platforms/android/sdk-manager/com/google/android/gms/play-services-ads/15.0.1/play-services-ads-15.0.1.jar\n Required by:\n project :\n\n* Try:\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\n’,
    stdout:
    ‘embedded\nThe Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.\n\tat build_8xuch0vcq23b0o0l4ds0dkf9w.run(/workspace/platforms/android/build.gradle:140)\norg.xwalk:xwalk_core_library:15+\nThe JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.\nIncremental java compilation is an incubating feature.\nThe TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.\n\nBUILD FAILED\n\nTotal time: 2.608 secs\n’,
    code: 1 }`

#11

same issue here
Waiting for a fix


#12

Solution problems with cocoon: (Traslate it)

http://comunidadid.foroactivo.com/t1397-tutorial-construct-2-solucion-al-problema-de-compilacion-y-publicacion-de-cocoon-io#11177


#13

1 Solution problems with cocoon: (Traslate)

http://comunidadid.foroactivo.com/t1397-tutorial-construct-2-solucion-al-problema-de-compilacion-y-publicacion-de-cocoon-io#11177


#14

@zero_3112 can you just paste it here? because to see that thread, we need to register first


#15

I’ve just pasted the solution @zero_3112 has posted. Though I can understand Spanish, I will not attempt to translate it to avoid translating something wrong, but even if you don’t understand spanish you can follow the logic just by looking at the pictures. I have not tried this solution yet.

"Solución al problema de compilación de cocoon por actualizaciones de Google y alternativa a los plugins de cocoon para agregar admob a sus proyectos. (Esto es una mezcla de varios tutoriales diferentes que vi mientras solucionaba este error y quise hacer un aporte en esta comunidad pues me han ayudado bastante).

Hola amigos actualmente a la mayoría de usuarios que usan los plugins de cocoon y compilan por ese medio se les ha hecho imposible compilar en esta página y quienes logran compilar suelen dar con errores como el bloqueo al iniciar la aplicación, otro es que los anuncios no funcionan y lo peor es que si logras compilar luego no puedes subir el juego a Google play porque estos exigen el SDK 26 y cocoon actualmente solo llega hasta el SDK 23. Y hace meses que dicen que actualizaran y no lo hacen.Por tanto a continuación les explicare como poner sus anuncios en sus juegos sin usar los plugins de “cocoon ads” y a la misma vez como poder compilar en cocoon para que Google developers o Google play (no sé cómo le diga cada quien) crea que compilaste con el SDK 26.

Elementos necesarios.
1-Preparar sus banner o anuncios de intersticial en la página de Admob ( https://apps.admob.com/signup )
2-Ir a la parte de monetización e incluir el Complemento de Admob ads que trae construct 2 integrado. (Olvídense de los plugins de cocoon).
3. Cuenta de Cocoon.io para compilar como siempre ( https://cocoon.io/home ).

Paso 1 - Insertar nuevo objeto
Haga doble clic en cualquier lugar y cuando aparezca el panel de inserción, busque Admob Ads. : Dentro de la carpeta Tipos de objetos y seleccione admob (como se ve en la imagen siguiente).


- Inserte el complemento admob

Paso 2 : Configurar Admob Ads

Importante: donde dice “Test Mode” poner en: false .

Tambien recuerden poner el ID de admob tanto del interticial como de los banner.
Paso 3: Crear eventos para mostrar tus anuncios: Asi es como los tengo configurados. (Cada quien use la forma que le parezca mejor).

Paso 4: G uarda tu proyecto!
Paso 5: Exportar su proyecto

  • Archivo> Exportar proyecto
    Paso 6: - Elija una plataforma para exportar a
  • Seleccione Mobile / Cordova

    Paso 7: Opciones de exportación
    - Cree una nueva carpeta para exportar
  • Deseleccione minify script

Paso 8: Opciones de Cordova

  • Utilice el nuevo formato de proyecto Intel XDK (Sé que es para cocoon, pero créanme que así es como funciona).

    Paso 9: Abrir carpeta de destino
  • Guardar solo la carpeta www
  • Eliminar todos los archivos adicionales

Paso 10: Comprimir la carpeta www a www.zip
Paso 11: Arrastrar y soltar a cocoon.io/home> Crear proyecto

Paso 12: Configurar los ajustes del proyecto.
(Asumo que los que están viendo este instructivo ya saben compilar en cocoon).

Aquí la parte importante para que en Google developers o Google play les dejen publicar su aplicación.

+ minSDKVersion: Ponganlo en 20
+ targetSDKVersion: Ponganlo en 23

Luego deben de hacer lo siguiente para que esto quede completo:
Van a la config.xml en su proyecto y cambien estos valores:
El minsdk versión déjenlo igual.
El tarjetsdk versión pónganlo a 26.
Como en esta imagen.

Paso 13 - Instalar Admob Custom Plugin (No se les escape sin esto no funcionarian los anuncios).
- Insertar URL de Git: https://github.com/cranberrygame/cordova-plugin-ad-admob.git

Poner este link en Plugings/ Custom/ Git Url como se ve en la imagen de abajo. Luego le dan clic a install.

Paso 14 - ¡Guardar proyecto!
Paso 15 - Construir su proyecto y descargar APK !

Ya con esto su juego queda listo para publicar en Google Play con los anuncios funcionando de forma normal.

Si quieren pueden mirar mi juego y comprobar que los anuncios funcionan:
https://play.google.com/store/apps/details?id=com.Isitachicken.myapp"


#16

I do not understand what you mean, because I do not usually use this forum. I just wanted to help with this problem because those of us who use cocoon are left with no place to compile and since I solve it, I want to help others.


#17

Does this solution worked for someone ?


#18

I’ve tried this solution myself now, although the AdMobs plug-in mentioned does not cover Rewarded Ads, but it did not work for me. I still have the same errors pop-up when compiling.

I’ll try again making some adjustments and will post my progress if anything works. Trying this solution was actually fast, so I encourage people to try for themselves and see if they manage to get any results.

Let us work together to try and find solutions while we wait for any response from Cocoon team.


#19

Hello, I wanted to tell you that the solution you publish really works, but you should think that any different configuration of your project can alter things if you want to give me a capx example of how you tines the ads to help you. I already won 0.18 in admob after fixing this. All good.


#20

Thank you for offering this kind of help, I really appreciate the gesture. However, the error was during compilation, so changing the behaviors and triggers on construct would not have an impact on that. Also,my game was already available and working at the Play Store, so I just adapted the triggers that have been working according to the posted solution, and still it did not work.

It seems people are having different issues with the last update, so I imagine some solutions would work better for some than others.