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

Android: Module "AndroidManifest.xml" <uses> elements overwrites "tiapp.xml" elements

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 8.0.0
    • Component/s: Android
    • Environment:

      module version: ti.map v(2.3.8)
      Appc CLI 5.2.2
      Ti SDK: 5.2.2
      Android 6 and earlier version

    • Story Points:
      5

      Description

      description

      If I include the ti.map module in my project, and then define one or more <uses-feature> elements in the tiapp.xml, the first <uses-feature> element will not be added to the AndroidManifest.

      Steps to reproduce:
      • create a new classic mobile app project
      • add the following to tiapp.xml:

        <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> 
        <uses-feature android:name="android.hardware.camera" android:required="false"/> 
        

      • build the app. Both <uses-feature> elements will be in the AndroidManifest.
      • now add ti.map to the project
      • build the app. android.hardware.camera.autofocus will not be in the AndroidManifest

      Please see the AndroidManifest file for both.

      Cause

      See Michael Gangolf explanation here. He has isolated the issue. (Thanks Michael!)

      Note

      This needs to be fixed so that we can solve another "ti.map" issue here: MOD-2467

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ybanev Yordan Banev
                Reporter:
                morahman Motiur Rahman
                Reviewer:
                Joshua Quick
                Tester:
                Lokesh Choudhary
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code