aksonov / react-native-xmpp

XMPP library for React Native (iOS and Android native support)
BSD 2-Clause "Simplified" License
308 stars 98 forks source link

Fix for Issue #114 : Android: Parser is not converting all of the XML to JSON #115

Closed MrScorp closed 5 years ago

MrScorp commented 5 years ago

WritableMap.hasKey() method was not working, always returning false. Tried org.json.XML to convert the XML to json, but ran into other complications. Using HashMap and ArrayList directly to populate the data structure, and the converting it to WritableMap seemed to be the next way forward.