Lock screen notifications
OEMs can preload apps that support lock screen notifications. Notifications alert the user to new content or updates in that app. They can take the form of a number (to indicate the number of changes) or a text preview.
OEMs can also preset one notification in the fifth slot on the lock screen. This notification displays an icon for a single app plus the number of notifications for that app.
Limitations and restrictions:
The default count notification mappings must not be changed.
The default text notification mapping must not be changed.
Notification icons provided by the app and displayed on the lock screen must be monochromatic, with a white foreground color and a transparent background color.
After first boot, apps can only be assigned as a lock screen notification by the user; apps must not automatically use a notification slot.
Users can delete apps that support notifications, and they can also select alternate notification mappings.
To preload and specify the app that supports lock screen notifications:
Create a customization answer file using the contents shown in the following code sample.
<?xml version="1.0" encoding="utf-8" ?> <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate" Name="LockScreenNotifications" Description="Use to preload an app that supports lock screen notifications and set the app to use the 5th slot on the lock screen." Owner="" OwnerType="OEM"> <Static> <Applications> <Application Source="" License="" ProvXML="" /> </Applications> <Settings Path="LockScreen"> <Setting Name="LockNotificationAppID" Value="" /> <Setting Name="LockNotificationAppTile" Value="default" /> </Settings> </Static> </ImageCustomizations>
Preload the app that supports lock screen notifications by specifying these settings:
Sourceto the path and name of the app's .xap file.
Licenseto the path and name of the app's license file.
ProvXMLto the path and name of the app's PROVXML file.
Valueto correspond to your app' s app ID or GUID.
Valueto match the TokenID value that was in your app manifest file. If you do not have a TokenID specified, set the
Flash an image that contains this customization to a device.
Go to Settings > Lock screen.
Scroll down and verify that your lock screen notification app now shows as the default app in fifth slot under Choose apps to show quick status.