if you want to do everything yourself without using third party library. Here is how I would suggest you to do it. make a function say logMessage(message) this function will write the message to asyncstorage with current date as the key. if any message is already logged for that particular date, this will append the message. and you can call this function wherever you want to log. to send the logs to remote server it is upto you whether you want to send the logs of the current date or multiple dates or all of the logs. you may also want to write function that clears all the logs. So AsyncStorage of react-native can do the work for you.

Related Query

More Query from same tag