Rob, here is the log :
12-06 16:45:05.057 32142 32162 I Corona : Platform: PLK-L01 / ARM Neon / 6.0 / Mali-T624 / OpenGL ES 3.1 v1.r8p0-01dev0.4078cee201e a91f87ad24a89593523d2 / 2016.2997 / français | FR | fr\_FR | fr 12-06 16:45:05.166 32142 32162 I Corona : WARNING: Asset file "resources/streaks\_003.png" does not exist. 12-06 16:45:05.173 32142 32162 I Corona : WARNING: Asset file "resources/button\_002\_01.png" does not exist. 12-06 16:45:05.180 32142 32162 I Corona : WARNING: Asset file "resources/button\_002\_01.png" does not exist. 12-06 16:45:05.184 32142 32162 I Corona : WARNING: Asset file "resources/icons.png" does not exist. 12-06 16:45:05.193 32142 32162 I Corona : [menu.showWill] 12-06 16:45:05.194 32142 32162 I Corona : [menu.onSystemEvent] applicationStart 12-06 16:45:05.195 32142 32162 I Corona : [menu.showDid] 12-06 16:45:06.974 32142 32162 I Corona : [menu.onSystemEvent] applicationSuspend 12-06 16:45:07.301 32142 32142 I Corona : [menu.onSystemEvent] applicationExit 12-06 16:45:08.370 32142 32342 I Corona : Platform: PLK-L01 / ARM Neon / 6.0 / Mali-T624 / OpenGL ES 3.1 v1.r8p0-01dev0.4078cee201e a91f87ad24a89593523d2 / 2016.2997 / français | FR | fr\_FR | fr 12-06 16:45:08.429 32142 32342 I Corona : WARNING: Asset file "resources/streaks\_003.png" does not exist. 12-06 16:45:08.439 32142 32342 I Corona : WARNING: Asset file "resources/button\_002\_01.png" does not exist. 12-06 16:45:08.443 32142 32342 I Corona : WARNING: Asset file "resources/button\_002\_01.png" does not exist. 12-06 16:45:08.445 32142 32342 I Corona : WARNING: Asset file "resources/icons.png" does not exist. 12-06 16:45:08.454 32142 32342 I Corona : [menu.showWill] 12-06 16:45:08.454 32142 32342 I Corona : [menu.onSystemEvent] applicationStart 12-06 16:45:08.455 32142 32342 I Corona : [menu.showDid] 12-06 16:45:09.696 32142 32342 I Corona : [menu.onSystemEvent] applicationSuspend 12-06 16:45:10.034 32142 32142 I Corona : [menu.onSystemEvent] applicationExit
My project structure is like this :
Project/src/main.lua
Project/src/scene/menu.lua
Project/src/resources/icons.png (and other image files)
My project uses composer to navigate from one screen to another.
main.lua navigates to scene/menu.lua which is my main screen and embeds the resources which appear as warning in the log.
I don’t know why they appear as warning, because the display is correct.
I also put some debug lines at the beginning of some “crucial” parts of code. So you can see in menu.lua that show.will and show.did phases exist. I catched system events too and you can see 3 of them.
In my show.will code I only add listeners to graphical objects and system events. This is why applicationStart appear after menu.showWill and not before (as expected I guess). Note that if I disable all my app’s debug logs, the result is the same (in case writing into the log before applicationStart could cause some issue).
Here you get the synchronization loop, the app suspends and exits and immediately after, starts again.