Is possible to store firebase data & run the application functions in offline mode in Ionic 2?

眉间皱痕 提交于 2019-12-13 00:09:12

问题


I found some tutorials about offline mode firebase for Ionic 2 but still I don't know how can I enable this thing in my application.

So, Is firebase realy support offline mode? If yes, can I store all recieved data and run the functions in offline mode?


回答1:


There is no official support yet from firebase.But you can do that using angularfire2-offline library.

A simple wrapper for AngularFire2 to read and write to Firebase while offline, even after a complete refresh.

Here is a great article about it: Offline Sync With AngularFire2

Ionic Offline Tutorial



来源:https://stackoverflow.com/questions/45596125/is-possible-to-store-firebase-data-run-the-application-functions-in-offline-mo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!