[TIMOB-14114] BlackBerry: We get two background events when the app is automatically put in background by another app & again brought to foreground
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-05T23:36:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.1 |
Components | BlackBerry |
Labels | analytics, qe-3.1.1, qe-nfc, qe-testadded |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-06-05T00:45:14.000+0000 |
Updated | 2014-02-12T04:14:29.000+0000 |
Description
Description:
1. Create an app & replace the app.js with the app.js for analytics test in feature test repo
2. Follow the instructions for rightscale from this wiki page: https://wiki.appcelerator.org/display/tp/Analytics+Test+Plan
3. Build & run the app on BB device
4. The app will launch automatically
5. Now with the app launched install another app from the studio
6. The above step will automatically background the app & launch the new app
7. Now close the newly launched app & bring the original app in for ground
Actual Result:
1. We see 2 background events & one foreground events
Expected Results:
1. We should see one background & one foreground event
Backport to 3.1.x https://github.com/appcelerator/titanium_mobile_blackberry/pull/79
We still see the 2 background events but according to russ as the two background events have different id's & seq nos, they are not duplicate & its the proper behaviour for BB. Thus closing. Environment: Ti Studio : 3.1.1.201306041657 Ti BB SDK : 3.1.1.v20130606121419 Mac OSX : 10.8.3 Alloy : 1.1.3-cr CLI - 3.1.1-cr win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88