Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9831

Android: background services stop when the app is closed via the BACK button

    Details

      Description

      Problem description

      A background service in Android stops running when the user exits the app using the BACK button. The same service works fine if the app is in foreground or in background (clicking the HOME button).

      Steps to reproduce

      After that, there are 3 cases:
      1. Keep the app running: every 10 seconds a notification is shown (OK).
      2. Put the app in background by clicking the HOME button: notifications keep showing (OK)
      3. Click the BACK button (this closes the app): the background service is stopped and no more notifications are shown (BUG)

      Expected behavior

      Also in case #3, the notifications should keep running every 10 seconds.

      Customer ticket

      http://support.appcelerator.com/tickets/APP-829749

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                billdawson Bill Dawson
                Reporter:
                dcassenti Davide Cassenti
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-13944
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code