Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Group File Share) Logic for sharing Image from Gallery #538

Closed
sumairasaeed opened this issue Mar 17, 2017 · 7 comments
Closed

(Group File Share) Logic for sharing Image from Gallery #538

sumairasaeed opened this issue Mar 17, 2017 · 7 comments

Comments

@sumairasaeed
Copy link
Contributor

Here we will write logic to send image to all members of groups and also logic for receiving image attachment in group

@sumairasaeed
Copy link
Contributor Author

Working on this. There is some issue in writing file. Trying to fix it:
Error:

screen shot 2017-03-29 at 7 18 14 pm

@jekram
Copy link
Contributor

jekram commented Mar 29, 2017

How much this logic is different then the same logic for 1-1 ? Except for number of people?

@sumairasaeed
Copy link
Contributor Author

Sir logic and flow is similar. Except that we have new endpoints for file sharing in group, seperate database table for group messaging to save data, seperate view controller(to link UI) so have to code accordingly.
Fixed above error. The issue was value null in database. Now we are able to send image and it gets uploaded to server successfully.
Next need to do image downloading part. Yes most part of logic is same as 1-1 file share.

@sumairasaeed
Copy link
Contributor Author

Completed coding for this. In download endpoint, there is one field missing in endpoint on server. issue Cloudkibo/CloudKibo#505
Will retest after it is corrected

@jekram
Copy link
Contributor

jekram commented Mar 29, 2017

Thanks. You can proceed to test now.

@sumairasaeed
Copy link
Contributor Author

sumairasaeed commented Mar 29, 2017

Tested this again. Server is now crashing on file upload. @sojharo FYI

@sumairasaeed
Copy link
Contributor Author

This has been solved now. Server crash was due to old faulty data. Removed data and correctly sent type field as added in documentation. It is working fine now. Will mark it as resolved after some more testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants