readium/r2-navigator-swift

Customizing the default user settings

Jokez80 opened this issue · 2 comments

We want to change the default value of "Publishers default" to true. I can change in the imported r2-navigator but then you need to remember this if we upgrade and thats not good.

I don't think you can override without forking r2-navigator-swift at the moment. However, publishers default should already be true by default. Which version of Readium are you using?

private var publisherDefaults = true

Until we support this in the API, a workaround could be to set manually the values you want in UserSettings and save them during the first launch of your app.

Ah ok we have not been able to upgrade to next version of Readium yet on iOS (due to Pods) so maybe it all will work when we do that then, great news!