Hi everybody, I have a question:
After a year of this feedback,can use it now ?
Or there are other ways to do his. thanksÂ
Hi everybody, I have a question:
After a year of this feedback,can use it now ?
Or there are other ways to do his. thanksÂ
When the OS suspends your app, there isn’t anything Corona SDK can do. Apple only supports certain features to backgrounded apps and this isn’t one of the reasons. Some people have had luck getting these special modes to work, but we don’t support it and it’s subject to change in a way that it wouldn’t work. It doesn’t work at all on Android.
What you can do is either use local notifications to set events to happen in the future. Or you can cancel the timer when the app suspends and save how much time is left and them on resume, fire the timer off again with the remaining time.
Rob
thanks Rob.
cheers
When the OS suspends your app, there isn’t anything Corona SDK can do. Apple only supports certain features to backgrounded apps and this isn’t one of the reasons. Some people have had luck getting these special modes to work, but we don’t support it and it’s subject to change in a way that it wouldn’t work. It doesn’t work at all on Android.
What you can do is either use local notifications to set events to happen in the future. Or you can cancel the timer when the app suspends and save how much time is left and them on resume, fire the timer off again with the remaining time.
Rob
thanks Rob.
cheers