function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Saurabh Gupta 3233Saurabh Gupta 3233 

Offline App development options

I have reviewed the standard Offline support available with SF1 and have found that to be too restrictive for our needs. On reading through further, I understand, building a Custom App using the Mobile SDK and using SmartStore for offline support is one of the options available. I might go Hybrid with this. I have a few questions, still:
1) Is the mobile sdk/smartstore combination the most preferred approach?
2) I have read about the data volatility associated with the SmartStore usage. Is there another option I should explore to avoid this volatility?

Thanks.
Todd Halfpenny MCTodd Halfpenny MC
Hi @Saurabh,

Yes, it can be the case that if your application requires complex logic, offline behaviour (including resiliency against intermittent connectivity) that you will need to go the custom route.

To answer your questions directly.
1) The SDK / SmartStore give you several benefits, that are can be key. The prime ones are the authentication and the encrypted store.
2) The only data volatility that I've come across is with the scenario where soups (tables) can be wiped if the SDK performs a logout. In my experience as long as you manage the auth sessions correctly then this is not an issue.

For interest I'm the Mobile Technical Architect for MobileCaddy (http://www.mobilecaddy.net/), an ISV who supplies a Mobile Application Dev Framework for building custom mobile apps for Salesforce. Our toolkit includes, amongst others, out of the box full offline logic/data support with conflict resolution etc. Here's an article we wrote on choosing the right tools for mobile apps (http://www.mobilecaddy.net/evaluating-technology-solutions-for-successful-salesforce-mobile-apps/), I hope it's useful, and please don't hesitate to contact me if you'd like to know more.
Saurabh Gupta 3233Saurabh Gupta 3233
Thanks @Todd. This helped.
mayur k 8mayur k 8
Thanks, Nice,

Please Tell Me Which a Best App (https://www.gyanipandit.com/most-successful-indian-apps/) For Mobile. 

Regards, Mayur
Leanbridge TechnologiesLeanbridge Technologies
1) Is the mobile sdk/smartstore combination the most preferred approach?
Ans: In my opinion is one of the easiest exams to pass from the Salesforce CTA track. You have to know differences between various mobile architectures (SF1 vs custom app, native vs hybrid vs HTML5) and be able to distinguish which one fits best different described scenarios. It would be nice if you also get yourself familiar with capabilities of Salesforce Mobile SDK (especially SmartStore and SmartSync). Apart from that you can expect to have few side questions about Salesforce Wear SDK or customizing SF1 (Actions, VF best practices).