[TIMOB-20185] Windows: Documention on custom capabilities
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-02-24T01:37:04.000+0000 |
Affected Version/s | Release 5.1.1 |
Fix Version/s | Release 5.3.0 |
Components | Windows |
Labels | documentation |
Reporter | Kota Iguchi |
Assignee | Gary Mathews |
Created | 2016-01-04T00:26:51.000+0000 |
Updated | 2016-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>
https://wiki.appcelerator.org/display/guides2/tiapp.xml+and+timodule.xml+Reference#tiapp.xmlandtimodule.xmlReference-AddCapabilities
Verified as fixed *Closing Ticket.*
Removed documentation regarding userAccountInformation from linked wiki page as it is no longer needed