I am trying to add READ_PHONE_STATE android permission to config.xml file in ionic v1 app, like this:
<platform name="android">
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
I can ionic serve, but when I build, it fails with the error:
AAPT: Error parsing XML: unbound prefix
Not sure if my syntax is incorrect, or there is other way to do this in ionic v1.
I have also tried this variation:
<config-file platform="android" parent="/manifest" mode="merge">
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>