Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1117

How to detect mobile device disconnected from sync server

$
0
0

@Eldhose_Issac wrote:

Hi
I am new to couch database. In the project, we run the couch sync gateway in a windows machine (local only) and have ios mobile app. I require to detect when the ios app goes offline and to set a flag in the database from the windows app. Is there any way by which I can know the mobile device gone offline.
I am not using background sync. And know I got a few seconds to set database changes when the mobile app goes offline. But no way if the app crashes
Thanks in advance
I am using Sync gateway 2.6.1 in windows
And CouchbaseLite-Swift version 2.6.3 (Community Edition)

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 1117

Trending Articles