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

Android: Alert window does not appear with remote security policy when device is offline

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Duplicate
    • Affects Version/s: Release 6.1.0, Release 6.0.4, Release 6.2.2
    • Fix Version/s: Release 7.0.0
    • Component/s: Android
    • Environment:

      Node Version: 6.10.3
      NPM Version: 3.10.10
      Mac OS: 10.13
      Appc CLI: 6.2.4
      Appc CLI NPM: 4.2.9
      Titanium SDK version: 6.0.4 - 6.2.2
      Appcelerator Studio vers 4.10.0
      Android 4.1.2, 6.0.0, 7.1.2

    • Story Points:
      5
    • Sprint:
      2017 Sprint 21 SDK

      Description

      Description
      An app built with remote security policy is expected to pop up an alert when the device is offline. This used to work for SDK < 6.0.4. However, for SDK versions 6.0.4 - 6.2.2 (current GA), the alert does not pop up and stays on the splash screen. This is a regression.

      Steps to reproduce
      1. Create a default classic app.
      2. Add this to tiapp.xml:

      <property name="appc-sourcecode-encryption-policy" type="string">remote</property>
      

      3. Set up the test device to have no network connectivity.
      4. Build and launch the app to an Android device.

      Actual Results
      For the affected versions, the app stays at the launch screen, and the expected pop up alert does not pop up.

      Expected Results
      An alert should pop up.

      Note:
      Documentation for this feature can be found here...
      https://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-src-29004921_tiapp.xmlandtimodule.xmlReference-appc-sourcecode-encryption-policy

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                amukherjee Abir Mukherjee
                Tester:
                Abir Mukherjee
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code