Getting app unique id from widget section of config.xml


#1

Hallo
How could I get the “id” value from the widget section of the config.xml, from within an ionic app?
Thanks in advance


#2

https://www.npmjs.com/package/skwas-cordova-plugin-appinfo


#3

I suppose. Then again, Ive always already had a service with various global properties Ive used throughout my app. The hassle, overhead, and risk in installing and using another cordova plugin seems a bit much when I can just duplicate the string in my globals.What if the plugin is no longer maintained? What if the format of the config.xml changes and builds break? You are using v1 in a v2+ world.