How practical is it to log messags (with rotation, compression and/or pruning) in a production app and store it on the mobile device?
When required, such as for accompanying a bug report using an in-app form, the user can click a button in the app to send the log file to a remote server.
I understand Expo supports Sentry, which is for crash reports. On the other hand, Amplitude and Segment are more for analytics. What I am referring to is more of logging and dumping the logs to a remote server on-demand.
In addition, if such an implementation is practical, is there a best practice for it? Or an npm package that can fulfill this need?