{"action":"opened","issue":{"url":"https://api.github.com/repos/tapglue/android_sdk/issues/36","repository_url":"https://api.github.com/repos/tapglue/android_sdk","labels_url":"https://api.github.com/repos/tapglue/android_sdk/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/tapglue/android_sdk/issues/36/comments","events_url":"https://api.github.com/repos/tapglue/android_sdk/issues/36/events","html_url":"https://github.com/tapglue/android_sdk/issues/36","id":137969486,"number":36,"title":"SDK Enhancements","user":{"login":"onurakpolat","id":1712926,"avatar_url":"https://avatars.githubusercontent.com/u/1712926?v=3","gravatar_id":"","url":"https://api.github.com/users/onurakpolat","html_url":"https://github.com/onurakpolat","followers_url":"https://api.github.com/users/onurakpolat/followers","following_url":"https://api.github.com/users/onurakpolat/following{/other_user}","gists_url":"https://api.github.com/users/onurakpolat/gists{/gist_id}","starred_url":"https://api.github.com/users/onurakpolat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onurakpolat/subscriptions","organizations_url":"https://api.github.com/users/onurakpolat/orgs","repos_url":"https://api.github.com/users/onurakpolat/repos","events_url":"https://api.github.com/users/onurakpolat/events{/privacy}","received_events_url":"https://api.github.com/users/onurakpolat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tapglue/android_sdk/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"nilsen340","id":1147834,"avatar_url":"https://avatars.githubusercontent.com/u/1147834?v=3","gravatar_id":"","url":"https://api.github.com/users/nilsen340","html_url":"https://github.com/nilsen340","followers_url":"https://api.github.com/users/nilsen340/followers","following_url":"https://api.github.com/users/nilsen340/following{/other_user}","gists_url":"https://api.github.com/users/nilsen340/gists{/gist_id}","starred_url":"https://api.github.com/users/nilsen340/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilsen340/subscriptions","organizations_url":"https://api.github.com/users/nilsen340/orgs","repos_url":"https://api.github.com/users/nilsen340/repos","events_url":"https://api.github.com/users/nilsen340/events{/privacy}","received_events_url":"https://api.github.com/users/nilsen340/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/tapglue/android_sdk/milestones/1","html_url":"https://github.com/tapglue/android_sdk/milestones/SDK%20Update%201.1","labels_url":"https://api.github.com/repos/tapglue/android_sdk/milestones/1/labels","id":1485010,"number":1,"title":"SDK Update 1.1","description":"- UGC API with Posts, Comments & Likes\r\n- New Feed API with Newsfeed, Posts Feed & Events Feed\r\n- New Connections API with Friends Confirmation\r\n- Queries for all Feeds\r\n- Multi-User Search (by Email & SocialIds)\r\n- Add tests for new methods\r\n- Add new functions to sample app (posts & comments only)","creator":{"login":"onurakpolat","id":1712926,"avatar_url":"https://avatars.githubusercontent.com/u/1712926?v=3","gravatar_id":"","url":"https://api.github.com/users/onurakpolat","html_url":"https://github.com/onurakpolat","followers_url":"https://api.github.com/users/onurakpolat/followers","following_url":"https://api.github.com/users/onurakpolat/following{/other_user}","gists_url":"https://api.github.com/users/onurakpolat/gists{/gist_id}","starred_url":"https://api.github.com/users/onurakpolat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onurakpolat/subscriptions","organizations_url":"https://api.github.com/users/onurakpolat/orgs","repos_url":"https://api.github.com/users/onurakpolat/repos","events_url":"https://api.github.com/users/onurakpolat/events{/privacy}","received_events_url":"https://api.github.com/users/onurakpolat/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":7,"state":"open","created_at":"2016-01-05T14:47:14Z","updated_at":"2016-03-02T19:33:39Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-02T19:33:39Z","updated_at":"2016-03-02T19:33:39Z","closed_at":null,"body":"1.    For every callback example in documentation Boolean type parameter is used (new TGRequestCallback<Boolean>() ) although in most cases there should be another type parameter.\r\n2.    Create user. Documentation states “Our SDK provides three convenient ways to create users “ but it gives an example of only createAndLoginUser method.\r\n3.    Search users. Social ids section provides example with searchWithEmails method.\r\n4.    Send events section states “In the first section of the Android Guide you can learn more about configuring the flush settings.”  but there is  no such information in the fist section.\r\n5.    Create post. Documentation fails to describe the process of creation of TGAttachment object. Some information on at least required fields would be nice.\r\n6.    There is a call for the static method post() in Documentation, but the actual method is posts().\r\n7.    As Documentation describes SDK only in broad strokes and doesn't provide details on many SDK methods and objects it would be nice to have detailed JavaDoc.\r\n\r\nSDK ver 1.1.6\r\n\r\n1.    posts().getPost() method always returns TGPost object with isLiked field set to false. As there is no setter for isLiked field the only way to get an updated post is to retrieve all the posts and parse through.\r\n2.    createdAt() is always null for all applicable objects.\r\n3.    It would be nice to have separate field in TGUser object for an userpic url.\r\n4.    TGAttachment object requires TGCacheObjectType but there is no documentation for which one should be used.\r\n5.    Attachment type is string and it isn't clear is it checked server side as Documentation states “An attachments of a post can currently be of type text or a url”."}}