I have a mobile local hybrid app built upon salesforce mobile sdk. We have offline support in our application and using REST API calls get the salesforce data.
But now we want to leverage the benefits of JS remoting in our mobile app but also want to do offline support. So I have two choices left with :
Create Mobile hybrid remote app which is driven by salesforce visualforce page. So in this I can make JS remote calls. But the problem is here how will we have the offline support? Lets suppose if user opens the app in offline mode will it work?
Create local hybrid mobile app and inject the visual force context some how in this like using iframe or via some script. But I find it as a workaround and not the good solution.We have done this ,it works but has some issues.
Please suggest any standard way out for this problem which have both JS remoting + offline support in mobile app.