Coder Social home page Coder Social logo

Comments (5)

marstr avatar marstr commented on September 26, 2024 2

To work around this bug until we're able to publish a fix, folks can add the header themselves manually in the following way:

Notification myNotification = Notifiation.createWindowsNotification("<toast launch=\"test_launch\">/* my toast body */</toast>");
Map<String, String> myNotificationHeaders = myNotification.getHeaders();
myNotificationHeaders.put("X-WNS-Type", "wns/toast");
myNotification.setHeaders(myNotificationHeaders);

from azure-notificationhubs-java-backend.

Druffl3 avatar Druffl3 commented on September 26, 2024 2

Yes, and that is what fixed for us as well. I had already raised an issue here: MicrosoftDocs/azure-docs#58779

from azure-notificationhubs-java-backend.

Druffl3 avatar Druffl3 commented on September 26, 2024

Yeah, Even after adding the X-WNS-Type header as wns/toast, the notification is not received by the UWP application.

from azure-notificationhubs-java-backend.

marstr avatar marstr commented on September 26, 2024

Thanks for filing this, @rustem08! Looks like a good bug.

@Druffl3, I believe your issue is an independent one. If you can pare down your situation to a specific SDK related problem, please file a new issue. Otherwise, take a look at our other support options: https://azure.microsoft.com/en-us/support/options/#overview

from azure-notificationhubs-java-backend.

marstr avatar marstr commented on September 26, 2024

Next time we release (can't promise timeline right at the moment) this will be fixed for you.

from azure-notificationhubs-java-backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.