Upload post in background

Hi @amitysupport, I need to upload posts (image, video, text) in background, so I wonder If you recommend a way to do it. I am working with react native.

Thanks, in advance.

Hi @JuanMorales ,

Upload in background do you mean with app in the background, or background image (of which?) can you please help elaborate.

Thank you,
Amity Support

Hi @amitysupport, I mean uploading a post while the app is in the background mode. Do you have any recommendations? Thanks!

Currently, I am exploring a workaround using Redux Toolkit and Thunks to upload the post and display a progress bar on my newsfeed screen. However, I would like to know if Amity recommends a proper way to do it, similar to how Instagram and other social media apps handle it.

Noted thank you let us check for you !

Hello, after checking with the team, this can be handled on the config side. To prevent the application from entering a sleep state while running in the background, you should configure it in React Native.

1 Like