App paused and app stop bug


(Philipp Lang) #1

Hello i use the blocks when app stops , when app resum and when app paused for online status. If i use the gallerie picker booth blocks are do her job. The app stop and paused in the same momeent. This cannot be right if i go into gallerie picker or take the cam booth blocks do their job and make online user minus 1. But all booth do that so you have miinus 2. If you take you picture or made the picture the block when app resume do their job and add plus 1 to the online users. It works only if i delete when app pause block. But so you have this feature less.Is this a bug or normal?


#2

Try to learn the lifecycle:


(Philipp Lang) #3

thanks for this picture this helps, i work like this and this works but i i put in when app pause than you have minus 2. If i understand that picture right, will the block, when app pause each time work with when app stop when you go into the camera or the image picker , or if you put the app in the background. But if we have booth of this blocks, why do we have them bc all two blocks go to work if you leave the app in a way like i told above. What is the different, when will only the block when ap pause work and when the other one. Bc in all my tries, booth blocks did their jobs. Can someone explain me when it is good to use the pause block and when to use the on stop block,


#4

Use just one of the events. And not the two together.
As example only resume and pause