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

upload image using StatusUpdateForm always fails #160

Closed
mm7mod opened this issue Dec 7, 2020 · 2 comments · Fixed by #167
Closed

upload image using StatusUpdateForm always fails #160

mm7mod opened this issue Dec 7, 2020 · 2 comments · Fixed by #167

Comments

@mm7mod
Copy link

mm7mod commented Dec 7, 2020

Setup (always fill this in):

  • iOS or Android? android
  • Expo or regular React Native? regular React Native
  • React Native Version:0.63.3
  • react-native-activity-feed or expo-activity-feed version: npm list --pattern <package-name>/yarn list --pattern <package-name>
    `-- [email protected]
  • getstream version: npm list --pattern getstream/yarn list --pattern getstream
    -- [email protected] -- [email protected]
    `-- [email protected]

Describe the bug
I have a problem with uploading an image with StatusUpdateForm component
it always gives me : "something went wrong when uploading your image .Is your internet working ? ...etc "

  • uploading only text posts work however with images it gives me above error , also small images doesn't work

  • the mobile internet is working fine and also trying to use small images as the error suggests but with no luck

130196981_207050597657735_3972864734010711280_n

To Reproduce
here is the code :

   <StreamApp
        apiKey=""
        appId=""
        token="">
        <FlatFeed Activity={CustomActivity} notify />
        <StatusUpdateForm  feedGroup={"timeline"} />
     
      </StreamApp>

Expected behavior

Upload image should be successful as both the network and image size are OK .

Screenshots
screen shot above

@mm7mod
Copy link
Author

mm7mod commented Dec 7, 2020

[Mon Dec 07 2020 03:18:52.544] WARN [TypeError: Network request failed]
[Mon Dec 07 2020 03:18:52.572] WARN [TypeError: Network request failed]
[Mon Dec 07 2020 03:18:52.573] WARN [TypeError: Network request failed]

@vishalnarkhede vishalnarkhede linked a pull request Jan 7, 2021 that will close this issue
@aamir-ans
Copy link

@mm7mod Is the image upload issue resolved ? I'm facing same issue @vishalnarkhede

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

Successfully merging a pull request may close this issue.

2 participants