Android - FirebaseFirestore already started and settings can't be changed (from Notification Intent)
When I open my app, start a service, and then if it's force closed, I get a notification saying the app has closed. When clicking the notification, the app reloads and everything is fine, as seen below.
val firestoreDB = FirebaseFirestore.getInstance()
//Disable data persistence inside check. Opening app from notification has db already built
println("----------------------------Firestore persistence enabled? ${firestoreDB.firestoreSettings.isPersistenceEnabled}")
if...