Skip to content

Migrate from Firebase to Realm. Render using SyntaxKit instead of UIImages #39

@vhart

Description

@vhart

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:

  1. Set up the Realm database and schema
  2. Migrate the data from Firebase to Realm, rendering code blocks as attributed string.

cc/ @mesbekmek @charleshkang

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions