Description
When using the proximity sensor APIs introduced in TIMOB-19926, I would expect the corresponding capability (Proximity) to be added to the appxmanifest but it is not. It appears that it is not in the list
Steps to reproduce
Add Ti.App.setProximityDetection(true); to your app.js and make sure you have no capabilities specified in your tiapp.xml
Build using appc run -p windows -T wp-emulator
Check \build\windows\win10.x86\package.appxmanifest
Actual result
Proximity capability is not set
Expected result
Proximity capability should be set
master: https://github.com/appcelerator/titanium_mobile_windows/pull/840
Verified fixed, proximity capability is set in the
\package.appxmanifest*Environment*<Capabilities> <Capability Name="internetClient" /> <DeviceCapability Name="proximity" /> </Capabilities>Operating System Name = Microsoft Windows 10 Pro Version = 10.0.14393 Architecture = 64bit # CPUs = 4 Memory = 17034395648 Node.js Node.js Version = 4.4.4 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.10 Titanium SDK SDK Version = 6.1.0.v20161207121046Further environment information.