{"action":"created","issue":{"url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes/issues/12","repository_url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes","labels_url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes/issues/12/comments","events_url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes/issues/12/events","html_url":"https://github.com/mathieudutour/cordova-plugin-hotpushes/issues/12","id":163534212,"number":12,"title":"version.json in the bundle","user":{"login":"determinator","id":7940759,"avatar_url":"https://avatars.githubusercontent.com/u/7940759?v=3","gravatar_id":"","url":"https://api.github.com/users/determinator","html_url":"https://github.com/determinator","followers_url":"https://api.github.com/users/determinator/followers","following_url":"https://api.github.com/users/determinator/following{/other_user}","gists_url":"https://api.github.com/users/determinator/gists{/gist_id}","starred_url":"https://api.github.com/users/determinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/determinator/subscriptions","organizations_url":"https://api.github.com/users/determinator/orgs","repos_url":"https://api.github.com/users/determinator/repos","events_url":"https://api.github.com/users/determinator/events{/privacy}","received_events_url":"https://api.github.com/users/determinator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-02T20:21:04Z","updated_at":"2016-07-02T21:52:04Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to integrate this plugin in my cordova project but with no success as for now. The server part looks clear and following the examples I did it. It's not clear, however, what should be the content of version.json in the application bundle. Initially, I put the same file as on the server (certainly this is not the idea). The file is in www directory i.e. where index.html is and then:\r\n\r\nTypeError: Cannot read property '_getLocalVersion' of undefined ...\r\nat file:///android_asset/www/plugins/cordova-plugin-hotpushes/www/index.js:570:9\r\nat HotPush.loadLocalFiles (file:///android_asset/www/plugins/cordova-plugin-hotpushes/www/index.js:569:10)\r\n\r\nIs there any information about version.json in the app bundle?\r\nCould we have a sample project with the plugin setup and working as someone else already asked? That would certainly help anybody exploring this plugin.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes/issues/comments/230123706","html_url":"https://github.com/mathieudutour/cordova-plugin-hotpushes/issues/12#issuecomment-230123706","issue_url":"https://api.github.com/repos/mathieudutour/cordova-plugin-hotpushes/issues/12","id":230123706,"user":{"login":"determinator","id":7940759,"avatar_url":"https://avatars.githubusercontent.com/u/7940759?v=3","gravatar_id":"","url":"https://api.github.com/users/determinator","html_url":"https://github.com/determinator","followers_url":"https://api.github.com/users/determinator/followers","following_url":"https://api.github.com/users/determinator/following{/other_user}","gists_url":"https://api.github.com/users/determinator/gists{/gist_id}","starred_url":"https://api.github.com/users/determinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/determinator/subscriptions","organizations_url":"https://api.github.com/users/determinator/orgs","repos_url":"https://api.github.com/users/determinator/repos","events_url":"https://api.github.com/users/determinator/events{/privacy}","received_events_url":"https://api.github.com/users/determinator/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T21:52:04Z","updated_at":"2016-07-02T21:52:04Z","body":"thank you for your answer, mnewmedia. But my focus is windows app as for now and I saw your link does not mention it works for windows while this project here eventually does. "}}
{"actor":{"display_login":"determinator"}}