Closed freakBoy008 closed 7 years ago
Hi, I think we already have the fix for this in the works. Hope we can release it next week.
Hey,
thanks for the quick response, i am facing two other Problems too; if using the latest MobFox SDK 3.2.8b i can't get any test ads by using the test hash. Logcat tells me "no ad" and if i activate the smart banner, it tells me "smart banner supports 50, 90 heights" although all my banners have this heights. The problem is only with the latest release.
Second one is an another problem with custom events(not only Facebook), i don't enable smart banner but i always get full width custom event ads in my second activity. But MobFox test ads are appearing correctly in it. I'm using the sizes 320x50 and 728x90(for tablets).
Thank you again, freakBoy008
Hi, Can you please paste here your integration code and layout xml? We'll try to reproduce this.
Thanks
Hey, of course:
banner = (Banner) findViewById(R.id.banner); banner.setInventoryHash("fe96717d9875b9da4339ea5367eff1ec"); banner.setRefresh(30); banner.load(); banner2 = (Banner) findViewById(R.id.banner2);
this part is in the second activity:
banner2.setInventoryHash("fe96717d9875b9da4339ea5367eff1ec"); banner2.setRefresh(30); banner2.load();
xml: <RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.6" android:layout_marginRight="64dp" android:layout_marginEnd="64dp">
<com.mobfox.sdk.bannerads.Banner
android:layout_height="50dp"
android:layout_width="320dp"
android:id="@+id/banner"
mobfox:smart="true"
android:layout_centerHorizontal="true">
</com.mobfox.sdk.bannerads.Banner>
` <RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.2" android:orientation="vertical" android:layout_gravity="start">
<com.mobfox.sdk.bannerads.Banner
android:layout_height="90dp"
android:layout_width="728dp"
android:id="@+id/banner2"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true">
</com.mobfox.sdk.bannerads.Banner>
`
Can you please try the following jar and let us know if it solves the issue:
http://static.starbolt.io/MobFox-Android-SDK-Core-3.2.8b_fix.jar
Hey,
thanks, the problem with Facebook is solved now, no more crashes with the new adapter i received.
The second problem is solved too. I can receive MobFox test ads with and without enabling smart banner.
The last one is still existing, sometimes it appears as expected without enabling smart banner and sometimes it shows a full width banner. Smart banner is not enabled in both cases. Problem occurs in both portrait/landscape mode. But only my second activity is affected by this. Banners in the first activity are appearing correctly. I've done cleans/rebuild, no success. Also i completely uninstalled the app on the test devices and reinstalled it, no success.
Best regards, freakBoy008
Does that happen when when you use mobfox banner implementation or facebook adapter? Is your code implementation different between activity's? if you are using mobfox banner can you please send us a screenshot?
Hey,
thanks for the response, my implementation is the same as i posted above, it's releated to all custom events not only Facebook. Here is the one with Amazon test ad:
But it should appear like this:
I could get it work now, it's not placed in the middle like second screenshot above but i'm satisfied with this:
Thanks a lot for the support! It was my mistake please excuse me for the trouble.
Best regards, freakBoy008
Happy to help. We still need to formally release all the corrections and examine our custom events in this context.
You can now use latest release 3.2.8c and new facebook adapter.
Dear MobFox-Github-Team,
MobFox is my base network, i want to use Facebook as a mediation network. Everything is fine and i can get Facebook Ads. But right after my app shows the Facebook Ad it crashes immediately. According to this stackoverflow issue: https://stackoverflow.com/questions/46022404/facebook-audience-sdk-causing-crash it's an adapter problem. I get this similar error on logcat:
I tried different versions of Facebook Audience SDK and MobFox SDK it didn't help me. It would be great, if this could be solved.
Thanks, freakBoy008