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

Android: Ti.Media.vibrate required permission not being added to androidManifest.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Component/s: CLI
    • Environment:

      Description

      Expectations

      Required permissions for Ti modules to be inserted into androidManifest.xml on build

      Reality

      Required permissions are NOT being inserted into androidManifest.xml on build.

      Replicate

      Throw Ti.Media.vibrate into any project, build, check generated androidManifest, fail to find permission.

      Expect to find:

      <uses-permission android:name="android.permission.VIBRATE"/>
      

      Current Workaround

      add require permission manually to tiapp.xml

      Note: this is a regression, but I'm not sure when it last worked. Not a function we use on a regular basis.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              sfeather Stephen Feather
              Reviewer:
              Allen Yeung
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code