Background Process in TapTalk.io Omnichannel iOS
An application integrated with TapTalk.io Omnichannel iOS framework will keep executing some certain tasks even when the app is on the background if the conditions are met, this is done to make sure that the users' chat experience proceed smoothly. The background services will be automatically terminated once all the tasks are completed or reached a timeout. Please follow the following section to enable background mode in your application, The following are the processes that is required to run in the background:
Pending Message Queue
Messages that the user is going to send are placed into a queue before they are sent to the server. If the app enters background when unsent messages exist in this queue, TapTalk.io services will keep running until all the pending messages are delivered to the server and all other tasks are completed.
File Downloads
When a user-initiated file download from TapTalk.io Omnichannel iOS, such as file message or video message, is in progress, TapTalkLive will preserve the download progress even if the app is moved to background. The services will stop once all the file downloads and other tasks are finished.
File Uploads
TapTalk.io Omnichannel iOS background process will also be kept running in background when user is sending messages with attachment, such as image, video, and file messages. The services will stop once all the file uploads and other tasks are finished.
Last updated