For a proof of concept using Salesforce Mobile SDK, one major requirement is to be load 50k records from Salesforce and store locally offline.

After understanding the SmartStore function and underlying soups, it looks like the soups max out at 1000 record limit.

Is there a way to get around this maximum for records in soup?

-Hybrid app using Mobile SDK

  • 1
    We have been involved in many apps (iOS + Android) and several of the apps certainly have more than 1000 records in some of the soups. Perhaps you could share some info as to what you're seeing when you say these soups "max out"? Commented Apr 16, 2018 at 8:11
  • @SarahMcCandless can you provide more info please?
    – zaitsman
    Commented Feb 6, 2019 at 1:05

1 Answer 1


I ran into this today with the latest iOS SDK. Salesforce has added a limit in the sample app SObjectDataManager class (which we often reuse):

static NSUInteger kMaxQueryPageSize = 1000;

At first glance this appeared to be for a page limit on the REST API but it is actually a query limit on the SmartSync as well. You can either set it to a larger value or remove it entirely.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .