applicationResume Bug in v1106?

Hello everyone,

i found a very weird condition…

so in the first, my application is working very well when I’m using Corona SDK v996.

But after I updated my version to v1106, I suddenly found that my  “applicationResume” event is not working…

so I decided to make a very simple code, with only 1 file main.lua to make a research…

here is the code

local facebook = require("facebook"); local onSystem = function( event ) print("THIS IS ON SYSTEM, EVENT = " .. event.type); native.showAlert( "THIS IS ON SYSTEM,", "EVENT = " .. event.type, { "OK" }); if event.type == "applicationStart" then elseif event.type == "applicationExit" then elseif event.type == "applicationSuspend" then print("APP SUSPEND") native.showAlert( "THIS IS ON SYSTEM,", "EVENT = SUSPEND", { "OK" }); elseif event.type == "applicationResume" then print("APP RESUME") native.showAlert( "THIS IS ON SYSTEM,", "EVENT = RESUME", { "OK" }); end end Runtime:addEventListener( "system", onSystem ) 

But the weird thing is, when I comment the Facebook thing,

--local facebook = require("facebook");

everything is working!

Anybody facing the same problem with me? it just me? or the bug from corona v1106??

wish to hear from Corona staff, or someone who faced the same problem before, soon :slight_smile:

Hi DragonGameStudio, I’m not sure if this is related, but things changed after Corona updated the Facebook SDK to the latest, and if you haven’t already done this, you might want to take a look at:

http://docs.coronalabs.com/daily/guide/social/setupFacebook/index.html#iosbuild

It may have nothing to do with your problem, but if you haven’t updated your build.settings, you’d want to do that.

Naomi

thx Naomi, will check it now! :slight_smile:

Hi DragonGameStudio, I’m not sure if this is related, but things changed after Corona updated the Facebook SDK to the latest, and if you haven’t already done this, you might want to take a look at:

http://docs.coronalabs.com/daily/guide/social/setupFacebook/index.html#iosbuild

It may have nothing to do with your problem, but if you haven’t updated your build.settings, you’d want to do that.

Naomi

its working! sory for the late reply

adding FacebookAppID = “MY_FB_APP_ID” in build.settings solved my problem :smiley:

thx Naomi, will check it now! :slight_smile:

its working! sory for the late reply

adding FacebookAppID = “MY_FB_APP_ID” in build.settings solved my problem :smiley: