ads.init() stop application inmobi

Hi!

i have some problem,

in createScene:

    local ads = require ("ads") local background = display.newImage("\_img/background.jpg", 382, 510);     runner = display.newImage("\_img/runner.png", 0, ground);          ads.init( "inmobi", "myNumber")     ads.show( "banner320x48", { x=100, y=500, interval=60, testMode=false } ) some more code

Where myNumber is from:

24n4r2u.png

when i run app on device i can see only background and runner but after ads i have many other objects

my build.settings:

    androidPermissions = {           "android.permission.INTERNET",         "android.permission.ACCESS\_NETWORK\_STATE",         "android.permission.READ\_PHONE\_STATE",       },

i have no idea how i can do wrong :frowning:

i must download or include to project folder ads.lua? Where i can find this file?

Thanks in advice

You added this lines on build settings?

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.ads.inmobi"] = { -- required publisherId = "com.coronalabs", }, }, }

:slight_smile: thanks a lot!

You added this lines on build settings?

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.ads.inmobi"] = { -- required publisherId = "com.coronalabs", }, }, }

:slight_smile: thanks a lot!