CB-2541 notification.confirm native side buttonLabels takes string[] or s,t,r,i,n,g
diff --git a/templates/standalone/Plugins/Notification.cs b/templates/standalone/Plugins/Notification.cs
index 4089e3e..58aaf43 100644
--- a/templates/standalone/Plugins/Notification.cs
+++ b/templates/standalone/Plugins/Notification.cs
@@ -143,7 +143,12 @@
notifyBox.PageTitle.Text = alertOpts.title;
notifyBox.SubTitle.Text = alertOpts.message;
- string[] labels = alertOpts.buttonLabel.Split(',');
+ string[] labels = JSON.JsonHelper.Deserialize<string[]>(alertOpts.buttonLabel);
+
+ if (labels == null)
+ {
+ labels = alertOpts.buttonLabel.Split(',');
+ }
for (int n = 0; n < labels.Length; n++)
{
Button btn = new Button();