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

Image upload always fails in android using StatusUpdateForm component #170

Closed
aamir-ans opened this issue Jan 27, 2021 · 10 comments
Closed
Assignees

Comments

@aamir-ans
Copy link

@vishalnarkhede

  • iOS or Android? android
  • Expo or regular React Native? React Native
  • React Native Version: 0.62.1
  • react-native-activity-feed version: 1.0.1
    `npm list --pattern
  • getstream version: 7.2.0

Describe the bug
Problem with uploading an image using StatusUpdateForm component.
Always shows popup with error attached screenshot below :
Screenshot_2021-01-27-23-28-48-95_c06d73ca3bfa20afcf143c32019f8151

Internet is working fine also checked with multiple small images as well.

Expected behavior
Image should upload if size and network is fine.

@vishalnarkhede
Copy link
Contributor

@aamir-ans we are working on this issue. Will keep you posted :)

@aamir-ans
Copy link
Author

@vishalnarkhede Thanks for the update, can you let me know which stable version I can use for now ?

@aamir-ans
Copy link
Author

@vishalnarkhede Any update or which version I can use for now ?

@vishalnarkhede
Copy link
Contributor

@aamir-ans Publishing a patch in hour!!

@vishalnarkhede
Copy link
Contributor

@aamir-ans please upgrade to [email protected].

  • Please make sure you have [email protected] in your yarn.lock or package-lock.json
  • Chrome debugger may interfere with network request. So please test upload feature without chrome debugger.

@vishalnarkhede vishalnarkhede self-assigned this Jan 29, 2021
@aamir-ans
Copy link
Author

@vishalnarkhede Thanks for update.
StatusUpdateForm supports multiple image upload or not ?

@vishalnarkhede
Copy link
Contributor

@aamir-ans For now, no!!

@aamir-ans
Copy link
Author

@vishalnarkhede Hey I'm not able to upload an image using client.images.upload() function, getting just this error
Network Error. Can you please let me know which getstream version I can use ?

@vishalnarkhede
Copy link
Contributor

vishalnarkhede commented Feb 25, 2021

@aamir-ans Its a well known issue that Flipper or Chrome debugger interferes will network calls, causing image uploads to fail. So either you should upgrade Flipper to latest version or disable any kind of debugger before testing image uploads

@vishalnarkhede
Copy link
Contributor

@aamir-ans please reopen if you are still facing the issue even after disabling debugger!!

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

No branches or pull requests

2 participants