I want to make an application that works in offline and online mode. Is it logical to use sqlite and firebase at the same time for this? Or is there any other solution?