Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-12939

Android: Developer option "do not keep activities" cause Titanium apps to close

    Details

      Description

      Expected behavior: App remains open and maintains focus after first activity is loaded regardless of Developer Options settings.

      Current behavior: Activating the "Don't keep activities" option in Developer Options on devices causes Titanium apps to close after the first activity is loaded.

      This is a major difference between Titanium apps and native Android apps as this option may be checked unbeknownst to the client and thus seen as a bug in the app. Seeing as though users are being instructed to turn this setting on to improve the performance of their devices this becomes a very large problem for those of us developing apps whose success hinges on user confidence.

        Issue Links

          Activity

          Hide
          Ingo Muschenetz added a comment -

          Darren Haligas It should already be in the nightly builds for 3.1.X. Ping Wang Anything special he needs to do to take advantage of it?

          Show
          Ingo Muschenetz added a comment - Darren Haligas It should already be in the nightly builds for 3.1.X. Ping Wang Anything special he needs to do to take advantage of it?
          Hide
          Ping Wang added a comment -

          I don't think anything special required for using this. But just keep in mind, the app which works fine when this developer option is disabled is not guaranteed to work the same way when this option is enabled because of the reason I described in this comment.

          Show
          Ping Wang added a comment - I don't think anything special required for using this. But just keep in mind, the app which works fine when this developer option is disabled is not guaranteed to work the same way when this option is enabled because of the reason I described in this comment .
          Hide
          Darren Haligas added a comment -

          Understood. Our client's app won't run when this is enabled currently. They have over 100k installs so getting users in is very important.

          When will this be GA?

          On a side note testing this build I have lost my itemclick event in my ListView. Any changes there?

          Show
          Darren Haligas added a comment - Understood. Our client's app won't run when this is enabled currently. They have over 100k installs so getting users in is very important. When will this be GA? On a side note testing this build I have lost my itemclick event in my ListView. Any changes there?
          Hide
          Ingo Muschenetz added a comment -

          Darren Haligas GA for 3.1.2 is mid-August.

          Show
          Ingo Muschenetz added a comment - Darren Haligas GA for 3.1.2 is mid-August.
          Hide
          Olga Romero added a comment -

          Tested KS with and without the "Don't keep activities" option enabled with:
          Titanium Studio, build: 3.1.2.201308091617
          Titanium SDK, build: 3.1.2.v20130814124556
          Alloy: 1.2.0-beta
          CLI: 3.1.2-alpha
          Device:
          GalaxyS4 Android version 4.2.2

          Verified behavior, described in comment - 12/Jul/13 12:56 PM

          Show
          Olga Romero added a comment - Tested KS with and without the "Don't keep activities" option enabled with: Titanium Studio, build: 3.1.2.201308091617 Titanium SDK, build: 3.1.2.v20130814124556 Alloy: 1.2.0-beta CLI: 3.1.2-alpha Device: GalaxyS4 Android version 4.2.2 Verified behavior, described in comment - 12/Jul/13 12:56 PM

            People

            • Assignee:
              Ping Wang
              Reporter:
              Carter Lathrop
              Reviewer:
              Hieu Pham
            • Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development