Git Product home page Git Product logo

Comments (13)

thomasmso avatar thomasmso commented on July 17, 2024

What do you mean you "can't connect to applovin" anymore? There's usually no good reason to downgrade our SDK.

from applovin-max-sdk-android.

leon6003 avatar leon6003 commented on July 17, 2024

Hi,
I meant that it was not possible to initiate. It was however only with virtual phones on Android studio.
With real phones it almost worked. I did not crash during init but once running it had problems showing ads.

I used Applovins test setup on the webpage and with the setting facebook test it worked fine but when i changed to Applovin it only worked ~1 out 20 tries.

I am using the latest Flutter plugin as further information and i am in contact with Baris Gezer (AppLovin Monetization Support) but its not solved yet.

Reason why I want to downgrade is that it worked fine with 10.3.4 and we are in the process of releasing so if you have any clue why it wont use 10.3.4 when i write implementation("com.applovin:applovin-sdk:10.3.4") in gradle.build i will be very happy!

Best regards
Lennart

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

It seems like you're having multiple issues - and we are very motivated to resolve this. 10.3.5 should have no difference with 10.3.4 functionally.

Could you reproduce the issue with our SDK's verbose logs enabled? And then try displaying ads in the Mediation Debugger.

from applovin-max-sdk-android.

leon6003 avatar leon6003 commented on July 17, 2024

Hi,
I have already done a verbose log with the app using a real phone instead of VM. It gave some surprising results (see complete mail to get full picture).
I am using the flutter plugin for Applovin Max so Mediation debugger didnt work (At least I could not start it).
I add the log files I created here plus the mail chain with support.

mail to support.pdf
Crash Verbose VM.txt
Crash VM.txt
Verbose Applovin ads two attempts with real phone.txt

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

Here are my findings:

  1. The Flutter plugin is not integrating our SDK correctly by not initializing with an Activity context. That will cause some mediated networks to not initialize properly as THEY need an Activity context as well.

  2. It looks like the permission <uses-permission android:name="com.google.android.gms.permission.AD_ID"/> is missing for emulator builds even though it is originally declared in our SDK's Android Manifest file. Because the permission is missing, our SDK tries to automatically show the Mediation Debugger but another issue with the Flutter plugin is causing that action to crash:

    Process: com.remint2.app, PID: 10476
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources$Theme android.content.Context.getTheme()' on a null object reference
        at android.app.AlertDialog.resolveDialogTheme(AlertDialog.java:227)
        at android.app.AlertDialog$Builder.<init>(AlertDialog.java:469)
        at com.applovin.impl.mediation.debugger.a$2.run(Unknown Source:16)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

I can't tell why you're not able to get ads, b/c the logs are showing that ads are loading correctly - this leads me to believe that the Flutter plugin has integrated our SDK incorrectly here as well. May I ask where you got the plugin from? We're pretty stacked at the moment, but I will personally write the Flutter plugin for you by end of the year - give this repo a follow for updates.

from applovin-max-sdk-android.

leon6003 avatar leon6003 commented on July 17, 2024

Thx a lot for your effort!
I got the plugin from https://pub.dev/packages/flutter_applovin_max/ latest version

Reply to 1. OK .... however it was working with previous version even though the error was there.
But of course you are right

  1. My logs showed two tries one fail and one working. I am just guessing that the failed one is the same as when I dont get any at all. See log attached if you missed it before.

"I will personally write the Flutter plugin for you by end of the year "
Awesome !! Looking forward to it!

Still no one told me why I cant downgrade ....is it not possible ?

Cut verbose.txt

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

It should be possible to downgrade. I think you have to update the build.gradle file in the plugin to specify the specific version, like:

implementation 'com.applovin:applovin-sdk:10.3.4'

from applovin-max-sdk-android.

leon6003 avatar leon6003 commented on July 17, 2024

This is what I did!
Flutter clean, plus the above and then it still shows 10.3.5 in the log!

Anyway ...looking forward to your flutter plugin! Thx for your support!

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

Ah ok, sorry I couldn't help you further, that's why it's best for companies to provide (and maintain/support) official plugins. But yea, I will notify you when it's released!

from applovin-max-sdk-android.

leon6003 avatar leon6003 commented on July 17, 2024

Hi again!
Sorry to disturb you again !
I would just like to know the time frame for the flutter plugin !?
Best regards
Lennart

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

Hi @leon6003 - we've unfortunately had higher priority items related to our MoPub acquisition and will put the official Flutter plugin off for later development (est. Feb - Mar). Sorry for the inconvenience this might have caused.

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

Also, @leon6003 - please subscribe to our Flutter repo for updates, as this repo is mainly for our Android-SDK specific issues.

from applovin-max-sdk-android.

thomasmso avatar thomasmso commented on July 17, 2024

I am pleased to announce that we have released a Flutter plugin with support for interstitials, rewarded videos, banners (programmatic & widget), and MRECs (programmatic & widget).

Here are some valuable resources:

Docs
https://dash.applovin.com/documentation/mediation/flutter/getting-started/integration

GitHub
https://github.com/AppLovin/AppLovin-MAX-Flutter

from applovin-max-sdk-android.

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.