microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.87k stars 1.45k forks source link

Handle null values in CodePushUtils.java #2707

Closed MikhailSuendukov closed 1 week ago

MikhailSuendukov commented 3 weeks ago

The error occurs when the user calls the CodePushUtils::convertJsonObjectToWritable() function within the native module of their application and passes a JSON object that contains a null value. This PR addresses and handles this specific case to prevent the error. Use patch from #2683

AB#104795