[TIMOB-20582] Android: Pause and Resume events are not working on the app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 5.2.0 |
Fix Version/s | n/a |
Components | Android |
Labels | android, engTriage |
Reporter | Ramesh RAMAMURTHY |
Assignee | Unknown |
Created | 2016-03-13T23:36:35.000+0000 |
Updated | 2019-12-06T21:55:33.000+0000 |
Description
I have a new issue, In ANDROID, resume and pause event are not working. is there a work around for this
if ( Ti.Platform.name === 'android')
Ti.Android.currentActivity.addEventListener("resume", Resumed);
else
Ti.App.addEventListener("resumed",Resumed);
this code can be put in any application function resumed will not be called when the app is resumed.
I am using SDK 5.2.0 GA
Reproducible. SDK 8.3.0.GA.