KhalisIncubator / MyPothi

5 stars 1 forks source link

replace async storage with realm #15

Closed AkalUstat closed 4 years ago

AkalUstat commented 4 years ago

This is possible because realm supports multiple realms: https://realm.io/docs/javascript/latest/#realms

AkalUstat commented 4 years ago

might be on track to include in 0.1

AkalUstat commented 4 years ago

however implement BaniDB first

AkalUstat commented 4 years ago

With new specs, of same gutka in one viewer sort of thing, it might be faster to use realm. Have a separate obj for each shabad that shows modifications to each line (remove, color, etc)

AkalUstat commented 4 years ago

So here is what I am thinking: keep async storage for settings and viewer (its not as high profile) only refactor gutkas to realm

schema example:


const GutkaSchema = {
// add the typescript type
}```