{"action":"created","issue":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/425","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/425/comments","events_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/425/events","html_url":"https://github.com/eclipsesource/tabris-js/issues/425","id":71877106,"number":425,"title":"Cordova Plugins","user":{"login":"ruarch","id":1880750,"avatar_url":"https://avatars.githubusercontent.com/u/1880750?v=3","gravatar_id":"","url":"https://api.github.com/users/ruarch","html_url":"https://github.com/ruarch","followers_url":"https://api.github.com/users/ruarch/followers","following_url":"https://api.github.com/users/ruarch/following{/other_user}","gists_url":"https://api.github.com/users/ruarch/gists{/gist_id}","starred_url":"https://api.github.com/users/ruarch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruarch/subscriptions","organizations_url":"https://api.github.com/users/ruarch/orgs","repos_url":"https://api.github.com/users/ruarch/repos","events_url":"https://api.github.com/users/ruarch/events{/privacy}","received_events_url":"https://api.github.com/users/ruarch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/question","name":"question","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T13:34:00Z","updated_at":"2015-04-29T15:17:36Z","closed_at":null,"body":"How do I link to a plugin like the badge.\r\n\r\nvar PluginPage = require(\"./PluginPage\");\r\n\r\nfrom the example does not work.\r\n\r\nShould I use ./plugins/de.appplant.cordova.plugin.badge? (that does not work either)"},"comment":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/comments/97463782","html_url":"https://github.com/eclipsesource/tabris-js/issues/425#issuecomment-97463782","issue_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/425","id":97463782,"user":{"login":"tbuschto","id":527303,"avatar_url":"https://avatars.githubusercontent.com/u/527303?v=3","gravatar_id":"","url":"https://api.github.com/users/tbuschto","html_url":"https://github.com/tbuschto","followers_url":"https://api.github.com/users/tbuschto/followers","following_url":"https://api.github.com/users/tbuschto/following{/other_user}","gists_url":"https://api.github.com/users/tbuschto/gists{/gist_id}","starred_url":"https://api.github.com/users/tbuschto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbuschto/subscriptions","organizations_url":"https://api.github.com/users/tbuschto/orgs","repos_url":"https://api.github.com/users/tbuschto/repos","events_url":"https://api.github.com/users/tbuschto/events{/privacy}","received_events_url":"https://api.github.com/users/tbuschto/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T15:17:36Z","updated_at":"2015-04-29T15:17:36Z","body":"I'm not sure I understand the question. Perhaps this will clarify:\r\n\r\n- \"PluginPage\" is a module that belongs to the cordova example app. It's not relevant to using cordova in tabris.js\r\n\r\n- The \"badge\" plug-in can be used like this `cordova.plugins.notification.badge.set(\"42\");`, as demonstrated [here](https://github.com/eclipsesource/tabris-js/blob/master/examples/cordova/modules/BadgePage.js) in the cordova example app, and documented [here](https://github.com/katzer/cordova-plugin-badge/tree/223ec28#set-the-badge-number) in the plug-ins documentation.\r\n\r\n- The \"link\" feature in the cordova demo is implemented using a WebView, as shown [here](https://github.com/eclipsesource/tabris-js/blob/master/examples/cordova/modules/PluginPage.js). It's also got nothing directly to do with cordova.\r\n\r\n\r\n\r\n\r\n"}}