I have a hybrid-remote app that's using javascript remoting and offline storage using SmartStore. I had considered using SmartSync or StoreCache to make my life easier but its my understanding they use the forceTK library and the API. In my case I really don't need that since I'm using javascript remoting. Is that understanding correct?
What I would like to do however is know when the connection is restored so I can call my @remoteAction method to sync/save the updates. Is there a way to register a callback or setup a listener to know when the internet connection is restored?
Thanks!