Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14114] BlackBerry: We get two background events when the app is automatically put in background by another app & again brought to foreground

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-06-05T23:36:10.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.1
ComponentsBlackBerry
Labelsanalytics, qe-3.1.1, qe-nfc, qe-testadded
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-06-05T00:45:14.000+0000
Updated2014-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

Comments

  1. Pedro Enrique 2013-06-05

    Backport to 3.1.x https://github.com/appcelerator/titanium_mobile_blackberry/pull/79
  2. Lokesh Choudhary 2013-06-06

    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

JSON Source