Closed trungnt2910 closed 3 years ago
ToastNotification.Uno
has just released its 0.1.0 beta and this issue can be fixed immediately.
Note that ToastNotification is the only way to join classes now on non-WPF platforms, as we've just discovered a serious bug in Autojoin in #9.
We've unified the API of ToastNotification.Uno with the UWP community tookit's api, so sending a toast with actions is as simple as:
new ToastContentBuilder()
.AddArgument("conversationId", 9813)
.AddText("Some text")
.AddButton(new ToastButton()
.SetContent("Archive")
.AddArgument("action", "archive")
.SetBackgroundActivation());
For more details see the Demo App.
Fixed, check the latest builds.
Now that notifications are working, we should add some buttons to allow joining from notifications!
These buttons should look like the buttons in the red box above.