forcedotcom / SalesforceMobileSDK-ReactNative

BSD 3-Clause "New" or "Revised" License
49 stars 55 forks source link

App is crashing while calling (oauth.logout();) on IOS Device #356

Closed ashish-kumar1994 closed 7 months ago

ashish-kumar1994 commented 7 months ago

SDK Version - 10.2.0

Exception '*** -[NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]' was thrown while invoking querySoup on target SFSmartStoreReactBridge with params ( { isGlobalStore = 0; querySpec = { indexPath = ""; matchKey = "{assets:ParentId}:\"02i2z000001IdAxAAK\""; order = ascending; orderPath = "CarEquipmentc"; pageSize = 2000; queryType = match; }; soupName = assets; }, 5233947 )

Hema-Sridharan commented 7 months ago

Hi, Facing the same issue on iOS device after log out, after upgrading to SDK version 11.0.1

Error: Exception '*** -[NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]' was thrown while invoking querySoup on target SFSmartStoreReactBridge with params ( { isGlobalStore = 0; querySpec = { indexPath = ""; matchKey = "{assets:ParentId}:\"02i2p00000hI1SxAAK\""; order = ascending; orderPath = "CarEquipmentc"; pageSize = 2000; queryType = match; }; soupName = assets; }, 155565 )

wmathurin commented 7 months ago

This issue has been fixed in dev. See https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative/pull/351 It will be in our next version of the Mobile SDK.

Hema-Sridharan commented 6 months ago

Hi @wmathurin, when can we expect the next version of Mobile SDK release.

Hema-Sridharan commented 6 months ago

Hi @wmathurin, when can we expect the next version of Mobile SDK release.

wmathurin commented 6 months ago

MSDK 12.0 is scheduled to come out in April/May. #safeharbor

Hema-Sridharan commented 6 months ago

Thanks @wmathurin , please let us know once this fix release date is decided.

Hema-Sridharan commented 5 months ago

@wmathurin can you let us know the exact release date in Apr/May.

wmathurin commented 5 months ago

We are in the final round of testing. MSDK 12 should be released by the end of April.