Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20185] Windows: Documention on custom capabilities

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-02-24T01:37:04.000+0000
Affected Version/sRelease 5.1.1
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsdocumentation
ReporterKota Iguchi
AssigneeGary Mathews
Created2016-01-04T00:26:51.000+0000
Updated2016-05-24T16:44:37.000+0000

Description

Since Windows Phone requires explicit permission to enable some API, we'll need to document about how to enable additional capabilities in *tiapp.xml*.

i.e. how to enable user account information (TIMOB-20173)

<windows>
  <Capabilities>
    <uap:Capability Name="userAccountInformation" />
  </Capabilities>
<windows>
h5 i.e. how to allow background audio (TIMOB-20035)
<windows>
  <manifest>
    <Extensions>
      <Extension Category="windows.backgroundTasks" EntryPoint="TitaniumWindows_Media.AudioBackground">
        <BackgroundTasks>
          <Task Type="audio" />
        </BackgroundTasks>
      </Extension>
    </Extensions>
  </manifest>
</windows>

Comments

  1. Gary Mathews 2016-02-18

    https://wiki.appcelerator.org/display/guides2/tiapp.xml+and+timodule.xml+Reference#tiapp.xmlandtimodule.xmlReference-AddCapabilities
  2. Harry Bryant 2016-05-17

    Verified as fixed *Closing Ticket.*
  3. Ewan Harris 2016-05-24

    Removed documentation regarding userAccountInformation from linked wiki page as it is no longer needed

JSON Source