可以存储Firebase数据&在Ionic 2中以脱机模式运行应用程序功能? [英] Is possible to store firebase data & run the application functions in offline mode in Ionic 2?

查看:66
本文介绍了可以存储Firebase数据&在Ionic 2中以脱机模式运行应用程序功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了一些有关Ionic 2离线模式Firebase的教程,但我仍然不知道如何在我的应用程序中启用此功能.

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.

那么,firebase是否真的支持离线模式?如果是,我可以存储所有接收到的数据以离线模式运行功能吗??

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

推荐答案

firebase尚无官方支持.但是您可以使用

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

一个简单的包装器,用于AngularFire2在读取和写入Firebase的同时 甚至在完全刷新后也可以离线.

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

这是一篇很棒的文章: 与AngularFire2脱机同步

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

离子离线教程

这篇关于可以存储Firebase数据&在Ionic 2中以脱机模式运行应用程序功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆