Questions tagged [react-native-xml2js]

react-native-xml2js is a simple XML to JavaScript object converter. It supports bi-directional conversion using sax-js and xmlbuilder-js.

2 questions
3
votes
1 answer

React: Disable minification for a given library

I am in the process of testing the release build of a react native app and found that the minification process is breaking the xml parser library. In this case, there is a [ReferenceError: Can't find variable: dc], which I found out by diving…
Pedro Lopes
  • 2,833
  • 1
  • 30
  • 36
0
votes
0 answers

How to get value from then in javascript

i have maybe stupid question. I m trying to save XML file which i load through xml2js with readfile function. I want to store file content string to global variable but i dont know how to get from promise then a value. var myval; var simpleStore =…