Vungle ads produce black screen with latest public build

Still getting the same problem…

I get the default.png displayed and then blank screen.

May 31 09:39:02 homes-iPad Hippo,NO![1732] <Warning>: Runtime error

ERROR: Could not load provider (vungle) due to the following reason: module ‘CoronaProvider.ads.vungle’ not found:resource (CoronaProvider.ads.vungle.lu) does not exist in archive

no field package.preload[‘CoronaProvider.ads.vungle’]

no file ‘/var/mobile/Applications/FC52ED27-2B81-4B7C-B9C8-C0EF43BB518C/Hippo,NO!.app/CoronaProvider.ads.vungle.lua’

no file ‘/var/mobile/Applications/FC52ED27-2B81-4B7C-B9C8-C0EF43BB518C/Hippo,NO!.app/CoronaProvider.ads.vungle.lua’

no file ‘./CoronaProvider.ads.vungle.so’

no file ‘/var/mobile/Applications/FC52ED27-2B81-4B7C-B9C8-C0EF43BB518C/Hippo,NO!.app/CoronaProvider.ads.vungle.so’

no file ‘./CoronaProvider.so’

no file '/var/mobile/Applications/FC52ED27-2B81-4B7C-B9C8-C0EF43BB518C/Hippo,NO!.app/CoronaProvider.so’CoronaProvider.ads.vungle.

stack traceback:

[C]: in function ‘assert’

?: in function ‘requireProvider’

?: in function ‘setCurrentProvider’

?: in function ‘init’

?: in main chunk

Can you check your build.settings to make sure everything is fine there?  I just built an app of mine that use Vungle and installed it on my iPad and it runs as expected.

Here’s my build settings…

 settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" } }, iphone = { plist= { UIApplicationExitsOnSuspend = false, UIHiddenStatusBar="YES", CFBundleIconFile="Icon.png", UIAppFonts = {"JINKY.ttf", "EraserRegular.ttf", "PUSAB\_\_\_.otf", "ARCADE\_R.TTF"}, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", }, }, plugins = { ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, }, }, }

Try this:

settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" } }, iphone = { plist= { UIApplicationExitsOnSuspend = false, UIHiddenStatusBar="YES", CFBundleIconFile="Icon.png", UIAppFonts = { "JINKY.ttf", "EraserRegular.ttf", "PUSAB\_\_\_.otf", "ARCADE\_R.TTF" }, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png", }, }, }, plugins = { ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, }, }

Your plugins was inside the plist table instead of being inside the settings table.

That’s brilliant Rob.  many thanks!.  Having never used any plugins before I wasn’t aware it was wrong.
Any idea on my other question?  Is there some kind of listener so you can tell if an ad has finished playing?

Ads are initialised in my main.lua, but called in my game over.lua

Linky to thread