{"action":"created","issue":{"url":"https://api.github.com/repos/cloudinary/cloudinary_android/issues/51","repository_url":"https://api.github.com/repos/cloudinary/cloudinary_android","labels_url":"https://api.github.com/repos/cloudinary/cloudinary_android/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/cloudinary/cloudinary_android/issues/51/comments","events_url":"https://api.github.com/repos/cloudinary/cloudinary_android/issues/51/events","html_url":"https://github.com/cloudinary/cloudinary_android/issues/51","id":294116062,"number":51,"title":"Tacking somuch time to upload","user":{"login":"yateeshkota","id":28441177,"avatar_url":"https://avatars2.githubusercontent.com/u/28441177?v=4","gravatar_id":"","url":"https://api.github.com/users/yateeshkota","html_url":"https://github.com/yateeshkota","followers_url":"https://api.github.com/users/yateeshkota/followers","following_url":"https://api.github.com/users/yateeshkota/following{/other_user}","gists_url":"https://api.github.com/users/yateeshkota/gists{/gist_id}","starred_url":"https://api.github.com/users/yateeshkota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yateeshkota/subscriptions","organizations_url":"https://api.github.com/users/yateeshkota/orgs","repos_url":"https://api.github.com/users/yateeshkota/repos","events_url":"https://api.github.com/users/yateeshkota/events{/privacy}","received_events_url":"https://api.github.com/users/yateeshkota/received_events","type":"User","site_admin":false},"labels":[{"id":35866113,"url":"https://api.github.com/repos/cloudinary/cloudinary_android/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"yakirp","id":7693247,"avatar_url":"https://avatars0.githubusercontent.com/u/7693247?v=4","gravatar_id":"","url":"https://api.github.com/users/yakirp","html_url":"https://github.com/yakirp","followers_url":"https://api.github.com/users/yakirp/followers","following_url":"https://api.github.com/users/yakirp/following{/other_user}","gists_url":"https://api.github.com/users/yakirp/gists{/gist_id}","starred_url":"https://api.github.com/users/yakirp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakirp/subscriptions","organizations_url":"https://api.github.com/users/yakirp/orgs","repos_url":"https://api.github.com/users/yakirp/repos","events_url":"https://api.github.com/users/yakirp/events{/privacy}","received_events_url":"https://api.github.com/users/yakirp/received_events","type":"User","site_admin":false},"assignees":[{"login":"yakirp","id":7693247,"avatar_url":"https://avatars0.githubusercontent.com/u/7693247?v=4","gravatar_id":"","url":"https://api.github.com/users/yakirp","html_url":"https://github.com/yakirp","followers_url":"https://api.github.com/users/yakirp/followers","following_url":"https://api.github.com/users/yakirp/following{/other_user}","gists_url":"https://api.github.com/users/yakirp/gists{/gist_id}","starred_url":"https://api.github.com/users/yakirp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakirp/subscriptions","organizations_url":"https://api.github.com/users/yakirp/orgs","repos_url":"https://api.github.com/users/yakirp/repos","events_url":"https://api.github.com/users/yakirp/events{/privacy}","received_events_url":"https://api.github.com/users/yakirp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-02-03T14:45:16Z","updated_at":"2018-04-24T13:02:45Z","closed_at":null,"author_association":"NONE","body":"Hi, I used cloundinary android sdk in my application. I face two problems  -\r\n1.  when I used upload the image or video using unsinged method in like below code\r\n\r\nString requestId = MediaManager.get().upload(uri).unsigned(\"test\").option(\"public_id\", uniqueId)\r\n        .callback(new UploadCallback() {\r\n    @Override\r\n    public void onStart(String requestId) {\r\n\r\n        if ((ProgressBar) findViewById(R.id.progressBarHorizontal) != null) {\r\n            isPostUploading = true;\r\n            ((ImageView) findViewById(R.id.img_video_icon)).setVisibility(View.GONE);\r\n            ((RelativeLayout) findViewById(R.id.progressBarDialog)).setVisibility(View.VISIBLE);\r\n            ((ImageView) findViewById(R.id.imgPreview)).setImageBitmap(bitmap);\r\n            ((ImageView) findViewById(R.id.imgPreview)).setVisibility(View.VISIBLE);\r\n            ((ProgressBar) findViewById(R.id.progressBarHorizontal)).setProgress(0);\r\n        }\r\n    }\r\n    @Override\r\n    public void onProgress(String requestId, long bytes, long totalBytes) {\r\n    }\r\n    @Override\r\n    public void onSuccess(String requestId, Map resultData) {\r\n        String img3 = uniqueId + \".jpg\";\r\n        String url = MediaManager.get().url().generate(img3);\r\n        new PublishPostTask().execute(desc, role_id, \"image\", uniqueId, url);\r\n        Log.d(\"msg\", \"role_id : \" + role_id);\r\n    }\r\n    @Override\r\n    public void onError(String requestId, ErrorInfo error) {\r\n        String er = String.valueOf(error);\r\n        Toast.makeText(HomeActivity.this, \"error : \" + er, Toast.LENGTH_LONG).show();\r\n    }\r\n    @Override\r\n    public void onReschedule(String requestId, ErrorInfo error) {\r\n    }\r\n}).dispatch()\r\n\r\nit will take too much time to upload I found a reason on debug time staring the request id to onStart method of call black it will take 2-3 mint then onStart to onSuccess it will upload in 15-20 second, why this problem is occur.\r\nand I mention that I have some transformation set on unsinged methodso that can take time for uploading\r\n\r\n2. after upload video I call web service and get the transformation url and play on toroplayer in recyclerview. I found null NullPointerException  in logcat . after 1-2 mint refresh the view and again I use the same url it will work. so that mean transformation take time and i asked u how much it will take time"},"comment":{"url":"https://api.github.com/repos/cloudinary/cloudinary_android/issues/comments/383922021","html_url":"https://github.com/cloudinary/cloudinary_android/issues/51#issuecomment-383922021","issue_url":"https://api.github.com/repos/cloudinary/cloudinary_android/issues/51","id":383922021,"user":{"login":"yakirp","id":7693247,"avatar_url":"https://avatars0.githubusercontent.com/u/7693247?v=4","gravatar_id":"","url":"https://api.github.com/users/yakirp","html_url":"https://github.com/yakirp","followers_url":"https://api.github.com/users/yakirp/followers","following_url":"https://api.github.com/users/yakirp/following{/other_user}","gists_url":"https://api.github.com/users/yakirp/gists{/gist_id}","starred_url":"https://api.github.com/users/yakirp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakirp/subscriptions","organizations_url":"https://api.github.com/users/yakirp/orgs","repos_url":"https://api.github.com/users/yakirp/repos","events_url":"https://api.github.com/users/yakirp/events{/privacy}","received_events_url":"https://api.github.com/users/yakirp/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T13:02:45Z","updated_at":"2018-04-24T13:02:45Z","author_association":"NONE","body":"Hi @yateeshkota , @snarchio ,\r\nWe already fixed this issue and we are going to publish it soon (already in master).\r\n\r\nYakir"}}
{"actor":{"display_login":"yakirp"}}