microsoft / react-native-code-push

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

Handle null values in CodePushUtils.java #2707

Closed MikhailSuendukov closed 5 months ago

MikhailSuendukov commented 5 months 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