Code Monkey home page Code Monkey logo

Comments (10)

InterestingTime avatar InterestingTime commented on August 28, 2024

In file MoPubNativeAdapter.java.

Caused by:

protected void loadNativeAd(@NonNull Activity activity, @NonNull CustomEventNativeListener customEventNativeListener, @NonNull Map<String, Object> localExtras, @NonNull Map<String, String> serverExtras) {

in MoPub 4.11 it uses Context, not Activity:

protected void loadNativeAd(@NonNull Context context, @NonNull CustomEventNativeListener customEventNativeListener, @NonNull Map<String, Object> localExtras, @NonNull Map<String, String> serverExtras) {

from mobfox-android-sdk.

nabriski avatar nabriski commented on August 28, 2024

Hi,
We will upload a fix on Sunday. As I know this code was tested, I wonder how this bug has crept in.

from mobfox-android-sdk.

InterestingTime avatar InterestingTime commented on August 28, 2024

If possible it would also be good to rename the file slightly, only reason being, I have already included the current version in my latest APK and I had to disable MobFox network in MoPub to stop the crashes. When I upload a new APK and re-enable the network in MoPub, anybody on my older APK will continue to get crashes as it will reference the old MoPubNativeAdapter.java file still. If not I may be able to target only my newer APK.

from mobfox-android-sdk.

nabriski avatar nabriski commented on August 28, 2024

Sure, we will rename it.

from mobfox-android-sdk.

InterestingTime avatar InterestingTime commented on August 28, 2024

Great! Thank you

from mobfox-android-sdk.

asafgaber avatar asafgaber commented on August 28, 2024

Hi,
fixed the issue. the fixed adapter is in latest release 3.1.5.
fixed adapter native class 'MoPubNativeAdAdapter' - dont forget to change in mopub custom network.

from mobfox-android-sdk.

InterestingTime avatar InterestingTime commented on August 28, 2024

Thanks, I can't find the latest MobFox-Android-MoPub-Adapter.jar though? In e518d92 it shows the adMob adapter being changed but not the MoPub?

from mobfox-android-sdk.

InterestingTime avatar InterestingTime commented on August 28, 2024

Yeah, looks like you might of uploaded the AdMob adapter by accident?

from mobfox-android-sdk.

asafgaber avatar asafgaber commented on August 28, 2024

youre right. my bad. the fix in 3.1.6

from mobfox-android-sdk.

InterestingTime avatar InterestingTime commented on August 28, 2024

no problem :) thanks

from mobfox-android-sdk.

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.