Giter VIP home page Giter VIP logo

Comments (7)

deckameron avatar deckameron commented on July 17, 2024 1

Thank you @Astrovic !
I will look into it asap.

from ti.android.admob.

Astrovic avatar Astrovic commented on July 17, 2024

The problem seems to be in ti.playservices. It only works if you set the ti.playservices version to 11.0.40 in tiapp.xml.
I've tried all the other new 16.x versions (from 16.1.0 to 16.5.0), and it doesn't work with any of them.
@deckameron have you done a test, or could you do it?

from ti.android.admob.

Astrovic avatar Astrovic commented on July 17, 2024

Did you have time to do any tests?

from ti.android.admob.

deckameron avatar deckameron commented on July 17, 2024

Hi @Astrovic I have done a few tests and could get it working with 16.1.4.
Could you test this version, please?

from ti.android.admob.

Astrovic avatar Astrovic commented on July 17, 2024

Hi @deckameron thanks for your tests.
I tried your 5.1.2 version with ti.playservices 16.1.4, but it still doesn't work.
I'm trying with TiSDK 8.2.0.GA.

This is the example code I use:
https://gist.github.com/Astrovic/2be16544a9f905fd5d68e8983daec6ea

These are the errors:

rewarded error:

[ERROR] [android, 9, 192.168.232.2] {
  "sourceName": null,
  "title": "Runtime Error",
  "message": "Uncaught Error: Failed resolution of: Lcom/google/android/gms/ads/internal/zzc;",
  "line": 56,
  "lineSource": "            rewarded.loadRewardedAd();",
  "lineOffset": 22
}

banner error:

[ERROR] [android, 9, 192.168.232.2] {
  "sourceName": null,
  "title": "Runtime Error",
  "message": "Failed resolution of: Lcom/google/android/gms/ads/internal/zzc;",
  "line": 0,
  "lineSource": null,
  "lineOffset": 0
}

from ti.android.admob.

Astrovic avatar Astrovic commented on July 17, 2024

Hi @deckameron,

I noticed that the error appears only in the emulator, I was doing tests on an emulator without Google Play!

I've tested it on an emulator with Google Play, but there's another problem. If in the window I add the banner, the rewarded will not work. While if I add only the rewarded, it works correctly.
If you have made some changes to version 5.1.2, could you kindly add them to the master branch or to another branch of the repository? So maybe I can also do tests, or integrate your module with the official ti.admob.

Thanks a lot.

from ti.android.admob.

deckameron avatar deckameron commented on July 17, 2024

Hi @Astrovic
I haven't made any substantial changes, but only tested different PlayServices versions and with other updated libs.

I have been trying to reproduce the error regarding the two types of ads in the same window and I can't do it. I have an in production running this exact scenario. I don't know what could be going on. :-(

One thing you could try is to add the Banner Ad in a scrollview inside the Window.
Window -> Rewarded
|------> Scrollview -> Banner

Did you have any luck with that?

from ti.android.admob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.