Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.12 KB

File metadata and controls

45 lines (26 loc) · 1.12 KB
title description ms.date
Set SMS Declarations
Set SMS declarations
04/20/2017

Set SMS declarations

SMS device capability declaration in package manifest

A UWP app that uses SMS must declare SMS capability in its package manifest in Visual Studio.

Example package.appxmanifest:

  <Capabilities>
    <DeviceCapability Name="sms" />
  </Capabilities>

For more information, see App capability declarations (UWP apps).

SMS app declaration in device metadata

The mobile broadband device can determine which apps it trusts to send and receive SMS messages. To do so, it adds the package name that it trusts in the Service metadata, as shown in the following entry:

\Package\SoftwareInformation\SoftwareInfo.xml

<PrivilegedApplications>
  <Package>
    <Identity Name="Microsoft.SDKSamples.SMSSendReceive.JS" Version="1.0.0.0" Publisher="CN=Contoso Corporation, O=Contoso Corporation, L=Redmond, S=Washington, C=US" />
  </Package>

Related topics

Developing SMS apps