How to read data from config.xml on Ionic 3?

0

How do I read the following data from the config.xml file:

  • version
  • name
  • description
  • email.

Example of real structure:

<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

<name>XPTO</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
    
asked by anonymous 23.09.2018 / 09:26

0 answers