How Sample Application Work - SamitaMShephertz/App42-WNS-Sample GitHub Wiki

Steps to display Secondary Tile notification through Sample

Once you successfully able to run the sample, you will be able to see the screen as shown below:

App Home

  • Click on Pin Start Secondary tile button to configure your app for receiving secondary tile notification
  • Once the above process done, click on Send Secondary tile button to receive push as secondary tile notification
  • Same you can do for toast notification

Steps to display Secondary Tile notification through AppHQ management Console

  • Login to AppHQ management Console from here
  • Click on Unified Notification -> Push -> Users to see the list of devices registered for Push
  • Click on Manage button -> Click on Send push, Send Push form will be open same as shown in below image:

Send Push

Enter the message which you want to show and put below keys and their values to show secondary tile notification:

Key:Value

secondaryTile: true,

squareTemplate: TileSquarePeekImageAndText04,

squareText1: squareText1,

squareText2: squareText2,

wideTemplate: TileWideImageAndText02,

wideText1: wideText1,

squareImage: square image url,

wideImage: wide image url,

wideText2: wideText2,

_App42Convert: true,

tileId: tileId

  • Click on Submit and done, you will be able to see notification on device side.