# Offline/Online Sync Functionality

**URL:** <https://forum.ionicframework.com/t/offline-online-sync-functionality/4634>\
**Category:** uncategorized\
**Created:** [May 22, 2014, 5:04am UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634 "2014-05-22T05:04:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![p6n](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@p6n](https://forum.ionicframework.com/u/p6n)\
**Post date:** [May 22, 2014, 5:04am UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634/1 "2014-05-22T05:04:55Z")

</div>

Hello everybody,

I am new to ionic and want to convert a native Android project to ionic.  
My application receives and sends data from/to some kind of web service (I am flexible and can change it), however, it should be available even if the client is offline. So I really need a two-way offline/online sync function.

Any ideas how to solve this smart in ionic?

Thanks,

David

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [May 22, 2014, 5:46pm UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634/2 "2014-05-22T17:46:44Z")

</div>

Check out this article, it should get you in the right direction.

[http://coenraets.org/blog/2012/05/simple-offline-data-synchronization-for-mobile-web-and-phonegap-applications/](http://coenraets.org/blog/2012/05/simple-offline-data-synchronization-for-mobile-web-and-phonegap-applications/)

---

<div class="post-metadata">

**Author:** ![biapar](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/biapar/32/64378_2.png) [@biapar](https://forum.ionicframework.com/u/biapar)\
**Post date:** [May 23, 2014, 5:31am UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634/3 "2014-05-23T05:31:44Z")

</div>

Read Azure Mobile services. Are there some other solution free and not. If I try info, I’ll write here.

---

<div class="post-metadata">

**Author:** ![p6n](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@p6n](https://forum.ionicframework.com/u/p6n)\
**Post date:** [May 23, 2014, 6:24pm UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634/4 "2014-05-23T18:24:44Z")

</div>

thank you!  
I am now trying to implement it using pouchDB. It seems to address exactly my issues.

---

<div class="post-metadata">

**Author:** ![scapritta](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@scapritta](https://forum.ionicframework.com/u/scapritta)\
**Post date:** [February 16, 2016, 11:14am UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634/5 "2016-02-16T11:14:55Z")

</div>

Hi p6n!

I’m planning a similar app for one of my customers.

Did PouchDb manage the offline synch of files, images, etc… well?

Would you suggest me to use it?

---

<div class="post-metadata">

**Author:** ![EuAndreh](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/euandreh/32/90852_2.png) [@EuAndreh](https://forum.ionicframework.com/u/EuAndreh)\
**Post date:** [March 10, 2016, 10:43am UTC](https://forum.ionicframework.com/t/offline-online-sync-functionality/4634/6 "2016-03-10T10:43:28Z")

</div>

> [@scapritta](#):
>
> Did PouchDb manage the offline synch of files, images, etc… well?

Yes, PouchDB [does support attachments](https://pouchdb.com/guides/attachments.html), just like CouchDB.

> [@scapritta](#):
>
> Would you suggest me to use it?

Sure 🙂
