{"action":"created","issue":{"url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/18","repository_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android","labels_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/18/comments","events_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/18/events","html_url":"https://github.com/SkygearIO/skygear-SDK-Android/issues/18","id":162890188,"number":18,"title":"Unable to complete Sign Up procedure","user":{"login":"cpryanpang","id":17264728,"avatar_url":"https://avatars.githubusercontent.com/u/17264728?v=3","gravatar_id":"","url":"https://api.github.com/users/cpryanpang","html_url":"https://github.com/cpryanpang","followers_url":"https://api.github.com/users/cpryanpang/followers","following_url":"https://api.github.com/users/cpryanpang/following{/other_user}","gists_url":"https://api.github.com/users/cpryanpang/gists{/gist_id}","starred_url":"https://api.github.com/users/cpryanpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpryanpang/subscriptions","organizations_url":"https://api.github.com/users/cpryanpang/orgs","repos_url":"https://api.github.com/users/cpryanpang/repos","events_url":"https://api.github.com/users/cpryanpang/events{/privacy}","received_events_url":"https://api.github.com/users/cpryanpang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-29T10:17:38Z","updated_at":"2016-07-05T06:22:24Z","closed_at":null,"body":"At Sign Up procedure, SDK invoked onAuthFail callback while a user record is created on server DB.\r\nFrom logcat, such error message appears after android fire a web service request:\r\n\r\n```\r\n06-29 17:22:56.714 11386-11386/io.skygear.skygear_example I/dalvikvm: DexOpt: illegal method access (call Lcom/android/volley/Request;.finish (Ljava/lang/String;)V from Lio/skygear/skygear/RequestManager$JsonRequest;)\r\n06-29 17:22:56.714 11386-11386/io.skygear.skygear_example I/dalvikvm: Could not find method com.android.volley.Request.finish, referenced from method io.skygear.skygear.RequestManager$JsonRequest.access$super\r\n```\r\n\r\n### Steps to reproduce:\r\n\r\n1. Clone this repo and open the project using Android Studio\r\n1. At `io.skygear.skygear_example.MyApplication`, specify the correct Endpoint and API Key.\r\n1. Build and launch the app into an android phone\r\n1. On the phone, click into `SignupActivity`, fill the username and password.\r\n1. After a while, the above error messages appear (at logcat console) and the app displayed a dialog, with message (tracing the code reveal that the dialog is displayed from `SignupActivity#doSignup`, at the `onAuthFail` callback):\r\n```\r\nSignup failed\r\nFail with reason\r\nnull\r\n```\r\n\r\n### Server DB Data\r\nHowever, when I log into server's postgresql, I see that the user record with my username was created.\r\nI am not sure whether the SDK really faced some (network) error\r\n\r\n### Control Trial\r\nThe same outcome would occur even I created a new Android Studio project and import the SDK via gradle:\r\n```\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n    testCompile 'junit:junit:4.12'\r\n    compile 'com.android.support:appcompat-v7:23.4.0'\r\n\r\n    compile 'io.skygear:skygear:0.0.1'\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/comments/230396173","html_url":"https://github.com/SkygearIO/skygear-SDK-Android/issues/18#issuecomment-230396173","issue_url":"https://api.github.com/repos/SkygearIO/skygear-SDK-Android/issues/18","id":230396173,"user":{"login":"rickmak","id":62677,"avatar_url":"https://avatars.githubusercontent.com/u/62677?v=3","gravatar_id":"","url":"https://api.github.com/users/rickmak","html_url":"https://github.com/rickmak","followers_url":"https://api.github.com/users/rickmak/followers","following_url":"https://api.github.com/users/rickmak/following{/other_user}","gists_url":"https://api.github.com/users/rickmak/gists{/gist_id}","starred_url":"https://api.github.com/users/rickmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickmak/subscriptions","organizations_url":"https://api.github.com/users/rickmak/orgs","repos_url":"https://api.github.com/users/rickmak/repos","events_url":"https://api.github.com/users/rickmak/events{/privacy}","received_events_url":"https://api.github.com/users/rickmak/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T06:22:24Z","updated_at":"2016-07-05T06:22:24Z","body":"Let add a standard way to set the time out in coming release first. For retry, I think it will better to handle by application code? I believe the application will want to prompt for user that the internet have some problem and we are retrying."}}
{"actor":{"display_login":"rickmak"}}