There are many mobile apps out there which work great and are offline first. For example the whatsapp client. So saying it is "fundamentally flawed" sound weird to me.
I have no deep knowledge of Firebase RTDB so I cannot do any comparison on that point.