Closed janicduplessis closed 5 years ago
If any value passed to setUserData is null it causes a crash on iOS. This is because the fbsdk expects nil and not NSNull. To fix it we pass all values through RCTNilIfNull.
setUserData
RCTNilIfNull
Test Plan:
Test that setUserData({email: null}) doesn't crash anymore.
setUserData({email: null})
Closing in favor of #628
If any value passed to
setUserData
is null it causes a crash on iOS. This is because the fbsdk expects nil and not NSNull. To fix it we pass all values throughRCTNilIfNull
.Test Plan:
Test that
setUserData({email: null})
doesn't crash anymore.