{"action":"created","issue":{"url":"https://api.github.com/repos/AArnott/PCLCrypto/issues/45","labels_url":"https://api.github.com/repos/AArnott/PCLCrypto/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/AArnott/PCLCrypto/issues/45/comments","events_url":"https://api.github.com/repos/AArnott/PCLCrypto/issues/45/events","html_url":"https://github.com/AArnott/PCLCrypto/pull/45","id":114187447,"number":45,"title":"Added a component definition and a sample app","user":{"login":"mattleibow","id":1096616,"avatar_url":"https://avatars.githubusercontent.com/u/1096616?v=3","gravatar_id":"","url":"https://api.github.com/users/mattleibow","html_url":"https://github.com/mattleibow","followers_url":"https://api.github.com/users/mattleibow/followers","following_url":"https://api.github.com/users/mattleibow/following{/other_user}","gists_url":"https://api.github.com/users/mattleibow/gists{/gist_id}","starred_url":"https://api.github.com/users/mattleibow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattleibow/subscriptions","organizations_url":"https://api.github.com/users/mattleibow/orgs","repos_url":"https://api.github.com/users/mattleibow/repos","events_url":"https://api.github.com/users/mattleibow/events{/privacy}","received_events_url":"https://api.github.com/users/mattleibow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T02:29:40Z","updated_at":"2015-10-30T05:48:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AArnott/PCLCrypto/pulls/45","html_url":"https://github.com/AArnott/PCLCrypto/pull/45","diff_url":"https://github.com/AArnott/PCLCrypto/pull/45.diff","patch_url":"https://github.com/AArnott/PCLCrypto/pull/45.patch"},"body":"Hey Andrew,\r\n\r\nI just added the bits for a Xamarin Component. I hope you merge as this is a very good library.\r\nThe component will allow for promotion and more exposure to other devs, especially this is used in app security.\r\n\r\nI created a component definition and the MSBuild file to create it. This just downloads and runs the xamarin-component tool. The component has an icon, which you could use in the NuGet as well. The MSBuild file looks to be alright, but you may want to check to see that I kept to the rest of the repo style. One note on this is that when running the last bit, the `xamarin-component.exe`, it may fail due to an invalid version number. This is \"expected\" as the build uses the NuGet version number, but when running it locally, it includes a hash. I see your NuGet don't have this, so I wasn't sure how you did it. The component version uses the version number on [line 92][1]. Components currently don't support preview versioning like NuGet, so it may not be a problem when release stable versions.\r\n\r\nI had to create a sample, in the `src/samples` folder, for the component. This sample will demonstrate to users how to \"use\" the library. It is more a requirement by the component store than anything else.\r\n\r\nI hope this gets merged as it would be great to see this on the component store. If you have any questions, just leave a comment, send an email (matthew.leibowitz@xamarin.com) or get me on twitter ([@mattleibow][2]).\r\n\r\n[1]: https://github.com/mattleibow/PCLCrypto/blob/xamarin-component/src/component/PCLCrypto.proj#L92\r\n[2]: https://twitter.com/mattleibow"},"comment":{"url":"https://api.github.com/repos/AArnott/PCLCrypto/issues/comments/152431190","html_url":"https://github.com/AArnott/PCLCrypto/pull/45#issuecomment-152431190","issue_url":"https://api.github.com/repos/AArnott/PCLCrypto/issues/45","id":152431190,"user":{"login":"AArnott","id":3548,"avatar_url":"https://avatars.githubusercontent.com/u/3548?v=3","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T05:48:21Z","updated_at":"2015-10-30T05:48:21Z","body":"I've been looking over the samples. The Components node for each of the projects appear to be empty. Is this really a sample of how to consume the component?"}}