Software Archive
Read-only legacy content
17061 Discussions

Plugin Admod cut app footer

Hamilton_Tenório_da_
Valued Contributor I
754 Views

I am using by first time the plugin Admod. I added the plugin existing at the panel Projects. It works OK, but the ad cover the footer (overlap).

I checked the .js and the configuration is OK:  overlap: false, // set to true, to allow banner overlap webview

Is there a way to change it in XDK?

0 Kudos
6 Replies
PaulF_IntelCorp
Employee
754 Views

The AdMob plugins work by overlaying a native view on top of the webview that contains your app. So I suspect what it tries to do is "resize" the webview, making it shorter by the size of the AdMob view. This implies there is a resize event you might have to watch for and use to readjust your app's layout. I'm not really sure, I've not worked with those plugins that much. Or, the overlap feature of the plugin may not be working correctly.

I recommend you look at the samples provided by the various AdMob providers and check their issue lists on their respective GitHub repos. The AdMob authors will be your best source of information for the behavior of those plugins.

Remember that when you are working in the XDK you are working in Cordova. So if they say "I don't know what the XDK does" you can reply with "it is a standard Cordova app, the XDK does not do anything special, it uses standard Cordova."

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
754 Views

@Paul> after a lot of tests, I realize that the issue is with resize of panel. See https://software.intel.com/en-us/forums/topic/560882.

In this case, when the plugin resize the panel to show the ads, the footer is not repositioned. The same situation with change orientation.

Do you have any idea how to force the repositioning?

0 Kudos
PaulF_IntelCorp
Employee
754 Views

I'll see if I can get our App Designer expert to look at your issue. Note that we have a three day holiday weekend coming up, so coverage will be very thin until Monday.

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
754 Views

@Paul> Have you any return about this question? I need this to put ads in my APP. Thank you.

0 Kudos
PaulF_IntelCorp
Employee
754 Views

I've pinged the engineer who might be able to help.

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
754 Views

Thank you!

I need to earn some money with my App "Speak to WhatsApp", made with Intel XDK. It is receveing a lot of new user day-by-day (more than 10.000 downloads in less of 2 months). For me, it is a great success.

0 Kudos
Reply