Status bar showing over Admob Interstitial on iPhone.

Rob - I am using inneractive with full screen ad but the ad is not showing when the status bar is showing. Inneractive is only initialized.

I think in general it is showing the status bar no matter what only not over the splash screen because of that line in build.settings.

I will see if I can use one of the corona samples to reproduce that. But you guys can do the same.

My build.settings:

settings = 

{

    orientation = 

    {

        default = “landscapeRight”,

        content = “landscapeRight”,

        supported = 

            {

                “landscapeLeft”, 

                “landscapeRight”,

            },

                

    },

    

     plugins =

    {

        – key is the name passed to Lua’s ‘require()’

        [“CoronaProvider.ads.inneractive”] =

        {

            – required

            publisherId = “com.inner-active”,

        },

    }, 

    android =

    {

            versionCode = “10” – for version 1.0

    },

    androidPermissions =

    {

            “android.permission.INTERNET”,

            “android.permission.WRITE_EXTERNAL_STORAGE”, --to save screenshots to photo library

    },

    

    iphone =

    {

        plist =

        {

            CFBundleIconFiles = 

            {

                “Icon.png” , 

                “Icon@2x.png” , 

                “Icon-72.png” , 

                “Icon-Small.png”,

                “Icon-Small@2x.png”,

                “Icon-Small-50.png”,

                “iTunesArtwork”,

            },

            

            UIPrerenderedIcon = true,

            

            UIStatusBarHidden = true,

            

            UIApplicationExitsOnSuspend = true, --forces app to relaunch from start after suspend

            

            CFBundleDisplayName = “my app name”, --sets name under the icon

            

            CFBundleVersion = “1.0”,

                     

        },

        

    },

}

my config.lua is the one you recommend using:

–calculate the aspect ratio of the device

local aspectRatio = display.pixelHeight / display.pixelWidth

application = {

   content = {

      width = aspectRatio > 1.5 and 800 or math.ceil( 1200 / aspectRatio ),

      height = aspectRatio < 1.5 and 1200 or math.ceil( 800 * aspectRatio ),

      scale = “letterBox”,

      fps = 30,

      imageSuffix = {

         ["@2x"] = 1.3,

      },

   },

}

Brent asked that you file a bug report.  You do that with the link at the top of the page “Report a Bug”.  Take the files, including build.settings and config.lua and zip them up and include them as your upload file when you’re ready to submit the bug report.

Thanks

Rob

Rob, I need to correct something I said…

The status bar does not appear UNTIL the first full screen ad appears and when I close the ad the status bar stays visible for the rest of the time.

I think something in the ads.show command is  making the status bar visible again.

I will try to find some time to reproduce in a corona sample game.

Rob, I managed to reproduce the bug with the corona clock sample project by adding the plugin for the ads in build.settings and some code in main to show the ads after 10 seconds.

You will see that until before the ad starts loading the status bar is hidden. Then it appears and stays even after closing the ad.

I will do a bug report right now. 

I also found out that when using banner ad if the banner is not overlapping the status bar the bug doesn’t happen.

Bug report Case 30809

Thanks

Rob, any update on this from the debug team? thanks.

No updates on this yet.

Any updates?

No updates.  Right now we are working to get the next public build out and then the team will get back to their normal bug hunting.

Rob

I understand but this could be fixed for this next public release too.

The engineers think it’s in the plugin and plugins are not tied to public builds and can be fixed aftewards and you still get the benefit from it.  

Rob

Great Rob, thanks. A ads related question that maybe you can answer:  is it possible to use ads.show to place the ad off visible screen (say y=-200) and then at a certain point slide the on to a visible area of the screen ?

The ad vendors would not want you to do that.  People would just show ads and the app user would never see them.  The ad code will force the ad on screen.

I’ve seen this effect in some apps, in Flappy Bird for example. The ad banner slides from the top after every time you lose. How do they do that? 

Dunno.  Maybe if you put it off screen it slides in.

Something has changed in the ads-status bar bug with the new public release (or something in the plugin). Now the status-bar appears when the full page ad in on but disappears again when closing the ad.

Actually, this has been happening to me in older builds. I’m using 2152. 

I am not sure if this the right place to post this but as it is an weird interaction of the ads (inneractive) with something else I will post it here as a start.

I load a webpage using newWebView out of screen view. When a button is pressed that page comes into view and when a “submit” button is pressed on the page itself it moves out of view again.

All works well as many times as needed UNTIL a fullscreen ad is loaded.

After closing the ad and pressing the button to bring that page into view, it does come into view but the “submit” type button on the html doesn’t work anymore and if I touch on a screen area where there is a button underneath, the button is pressed (this doesn’t happen before the ad is loaded).

The ad plugin is leaving some weird trace after the ad is closed.

Rob, others, have you seen this happen?

Hi all,

The engineers made some tweaks to the AdMob plugin. Can you all please test the status bar issue and report back your results?

Thanks,

Brent

Hi Brent,

my problem is with the Inneractive ads. I mentioned it in my posts above and in the bug report I submitted.