Browse Source

Merge branch 'master' of github.com:katzer/cordova-plugin-local-notifications

Sebastián Katzer 11 năm trước cách đây
mục cha
commit
2691112e0a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -220,7 +220,7 @@ window.plugin.notification.local.onadd = function (id, state, json) {};
 window.plugin.notification.local.add({
     id:         1,
     message:    'I love BlackBerry!',
-    json:       { test: 123 }
+    json:       JSON.stringify({ test: 123 })
 });
 
 window.plugin.notification.local.onclick = function (id, state, json) {