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

Custom AndroidManifest.xml is being overwritten

    Details

      Description

      In SDK version 3.2.0, every build replaces the AndroidManifest.xml entries. Even if we delete any 'permission' in the manifest which we don't require for example:

      <service android:name="org.appcelerator.titanium.analytics.TiAnalyticsService" android:exported="false"/>
      <!-- OR-->
      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
      

      It again shows in the AndroidManifest.xml.

      Steps To Reproduce

      1. Create a Titanium project and build it for android device.

      2. Copy the AndroidManifest.xml from build folder and paste it under /platform/android folder.

      3. Delete any permission let say

      {<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>}

      .

      4. Again build the project and see that the deleted entry has regenerated again in the custom AndroidManifest.xml again.

      Expected Behavior : If we want to disable any of the permissions, we could do it by making custom androidManifest.xml as we did before SDK version 3.2.0

      Note : In 3.1.3, Custom AndoidManifest.xml is not being overwritten. Everything works fine as expected.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              mpathak Meenakshi Pathak
              Reviewer:
              Allen Yeung
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code