I am using react-native-html-parser (URL: https://github.com/g6ling/react-native-html-parser).
with below code:
//Start
import DOMParser from ‘react-native-html-parser’;
const html = <p>Hello world <b>world</b> <i>foo</i> abc</p>
;
const parser = new DOMParser.DOMParser();
const parsed = parser.parseFromString(html, ‘text/html’);
console.log(‘parsed’); console.log(parsed);
//End
Above code is working on ‘react-native run-android’ on Android simulator.
However on expo it is not working.
Can you please help me to work this in expo?