getPersistenceDirectory

Sets the directory where event and session JSON payloads should be persisted if a network request is not successful. If you use Bugsnag in multiple processes, then a unique persistenceDirectory must be configured for each process to prevent duplicate requests being made by each instantiation of Bugsnag.

The persistenceDirectory also stores user information if getPersistUser has been set to true. By default, bugsnag sets the persistenceDirectory to getCacheDir. If the persistenceDirectory is changed between application launches, no attempt will be made to deliver events or sessions cached in the previous location.