Closed AnuragTiwari1 closed 10 months ago
"react-native": "0.67.1", "react": "17.0.2", "react-native-force": "git+https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative.git#v10.0.0",
whenever user logout and if smartStore.moveCursorToPageIndex is still running then app crashes on iOS, with following exception:
[native] Exception '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]' was thrown while invoking moveCursorToPageIndex on target SFSmartStoreReactBridge with params ( { cursorId = 0x600001633740; index = 242; isGlobalStore = 0; }, 8701 )
on android I don't face this issue and action completes.
We will take a look thanks.
Will be fixed in the next version of Mobile SDK - see https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative/pull/351
whenever user logout and if smartStore.moveCursorToPageIndex is still running then app crashes on iOS, with following exception:
[native] Exception '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]' was thrown while invoking moveCursorToPageIndex on target SFSmartStoreReactBridge with params ( { cursorId = 0x600001633740; index = 242; isGlobalStore = 0; }, 8701 )
on android I don't face this issue and action completes.