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
Mudasir WaniMudasir Wani 

Salesforce offline solution for mobile IOS and Android

Hello Guys,

I want to develop an offline mobile solution for both IOS and Android.
Can you please suggest me the best way to achieve it.
Please help me with some good links to sample code or demo.

Best Regards,
Mudasir.
Best Answer chosen by Mudasir Wani
Gaurav KheterpalGaurav Kheterpal
Mudasir,

I presume you want to develop custom mobile apps which offer offline capabilities. If that's the case, please look at the respective SDKs for iOS and Android

iOS - github.com/forcedotcom/SalesforceMobileSDK-iOS
Android - github.com/forcedotcom/SalesforceMobileSDK-android

Both SDKs support a framework called SmartStore which is aimed persisting data in offline mode and caching it till the app is online. If you want to look at some examples of how this is done, refer to these links

https://github.com/forcedotcom/SalesforceMobileSDK-Android/tree/master/hybrid/SampleApps/SmartStoreExplorer
https://github.com/forcedotcom/SalesforceMobileSDK-iOS/tree/master/hybrid/SampleApps/SmartStoreExplorer

If you run into any issues, please post another thread.

If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal

Developer Forums Moderator| Certified Force.com Developer| Dreamforce Speaker| Salesforce Mobile Evangelist
 

All Answers

Ashish_Sharma_DEVSFDCAshish_Sharma_DEVSFDC
Hi Mudasir,

Please refer to below link.
https://developer.salesforce.com/mobile/services/offline

Let us know if it helps you.
 
Mudasir WaniMudasir Wani
Thank you Ashish for quick reply.
I am looking for some demo code like the one.
https://github.com/tomgersic/Opportune

Thanks,
Mudasir.
Gaurav KheterpalGaurav Kheterpal
Mudasir,

I presume you want to develop custom mobile apps which offer offline capabilities. If that's the case, please look at the respective SDKs for iOS and Android

iOS - github.com/forcedotcom/SalesforceMobileSDK-iOS
Android - github.com/forcedotcom/SalesforceMobileSDK-android

Both SDKs support a framework called SmartStore which is aimed persisting data in offline mode and caching it till the app is online. If you want to look at some examples of how this is done, refer to these links

https://github.com/forcedotcom/SalesforceMobileSDK-Android/tree/master/hybrid/SampleApps/SmartStoreExplorer
https://github.com/forcedotcom/SalesforceMobileSDK-iOS/tree/master/hybrid/SampleApps/SmartStoreExplorer

If you run into any issues, please post another thread.

If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal

Developer Forums Moderator| Certified Force.com Developer| Dreamforce Speaker| Salesforce Mobile Evangelist
 
This was selected as the best answer