ERROR with Revmob integration help!

Hi,

I was trying test revmob in the sample of bullet but I get this error:

File: …cations/CoronaSDK/SampleCode/Physics/Bullet/main.lua

Line: 13

Attempt to index global ‘RevMob’ (a nil value)

stack traceback:

    [C]: ?

    …cations/CoronaSDK/SampleCode/Physics/Bullet/main.lua:13: in main chun

 

 

The code is the same that bullet example of corona only with this modifications:

 

First: Move revmob.lua to windows of bullet example.

Line 1 & 2:

local REVMOB_IDS = { [“iPhone OS”] = “my app id…” }

RevMob.startSession(REVMOB_IDS)

In local function start() this:

RevMob.showFullscreen()

Do you know where is the error?

Thanks in advance!

okay the problem was not add this line: local RevMob = require(“revmob”)

But Revmob test not show in my app in simulator

okay the problem was not add this line: local RevMob = require(“revmob”)

But Revmob test not show in my app in simulator