The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
ScheduledToastNotification in Windows Phone Silverlight 8.1 RRS feed

  • Question

  • I have submitted an app which has scheduled toast notification feature using ScheduledToastNotification class. App is created using Window Phone Silverlight 8.1. On submitting the app for certification on Windows Phone Store it got rejected because of following error.

      • Error Found: The supported APIs test detected the following errors:
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ScheduledToastNotification. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ScheduledToastNotification..ctor. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ScheduledToastNotification.get_Id. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ScheduledToastNotification.put_Id. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotificationManager. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotificationManager.CreateToastNotifier. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotificationManager.GetTemplateContent. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotifier. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotifier.AddToSchedule. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotifier.GetScheduledToastNotifications. Module=. File=DemoApp.dll.
        • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastNotifier.RemoveFromSchedule. Module=. File=DemoApp.dll.
      • This API is not supported for this application type - Api=Windows.UI.Notifications.ToastTemplateType. Module=. File=DemoApp.dll

    But as per MSDN documentation of ScheduledToastNotification, the class is supported in Windows Phone Silverlight 8.1 and Windows Phone Runtime apps.

    http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.scheduledtoastnotification

    I have tested the app with ScheduledToastNotification on emulator and device and it is working correctly. So can't understand above errors? Do I have to use some other assembly for Windows Phone Silverlight 8.1?


    Gaurav Khanna | Microsoft VB.NET MVP | Microsoft Community Contributor

    Thursday, July 31, 2014 7:38 PM

Answers

All replies

  • No, not as far as I know. I recommend that you open a Store Publishing support case to get to the bottom of this.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, August 1, 2014 12:52 PM
  • Already done that, but this being a technical issue they suggested asking on Windows Phone Forum or Developer Technical Support.


    Gaurav Khanna | Microsoft VB.NET MVP | Microsoft Community Contributor

    Friday, August 1, 2014 6:38 PM
  • Hi !

    I have the same issue today, if i try to submit my app.

    This API is not supported for this application type...

    On Emulator and Phone it works, but i can not submit it.

    Any news here ?

    Monday, August 4, 2014 9:04 AM
  • Khanna - who did you talk to? Please email me directly msmall.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, August 4, 2014 11:39 AM
  • I am working on this.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, August 4, 2014 7:23 PM
  • Any News here?
    Wednesday, August 13, 2014 8:56 AM
  • I am still working on this.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Wednesday, August 13, 2014 1:02 PM
  • Finally found solution to the problem. In WMAppManifest.xml instead of MPN, WNS should be selected in "Notification Service" combobox. More information available in following link

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/e5d06fe8-e9d9-45dd-961b-eb6f10f16400/windowsuinotificationstoastnotification-api-not-supported-in-windows-phone-silverlight-81?forum=wpsubmit


    Gaurav Khanna | Microsoft VB.NET MVP | Microsoft Community Contributor

    Thursday, August 14, 2014 6:17 AM
  • Great job...  someone told me about this just yesterday.  I'll file a bug to get the documentation updated.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, August 14, 2014 12:09 PM