Having Firebase as the backing persistence layer makes it hard for other people to add questions. It also leaves the app in a bad place since someone can easily request a deletion of the database.
If we switch over to local persistence, we would either need the images to be assets OR we can render code blocks using SyntaxKit. I've been playing with it and made some modification for convenience and it works well. This would mean no more fetching the code block images.
I propose we roll this out in two phases:
- Set up the Realm database and schema
- Migrate the data from Firebase to Realm, rendering code blocks as attributed string.
cc/ @mesbekmek @charleshkang