forcedotcom / SalesforceMobileSDK-ReactNative

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

issue with removeFromSoup in smartstore SDK 12.0.1 #368

Closed LuoShao closed 3 months ago

LuoShao commented 4 months ago
Screenshot 2024-05-13 at 22 37 07

undefined does not exist in Java, undefined should be changed to null

wmathurin commented 4 months ago

This is typescript not java. Where are you getting an error?

LuoShao commented 4 months ago

@wmathurin I made an error when calling the removeFromSoup method of smartstore. After I modified the above code, smartstore can run normally.

wmathurin commented 2 months ago

There was actually an issue (ReactNativeMap.isNull throwing when the key is missing). It's getting fixed in dev (see https://github.com/forcedotcom/SalesforceMobileSDK-Android/pull/2586).