The contents of my
.io-config.json file are as follows
// code var key = config.get('api_key'); // returns the "api_key" value from .io-config.json
On this page from the legacy Ionic docs there is a similar method:
var settings = new Ionic.IO.Settings(); var app_id = settings.get('app_id');
however this does not work as I am using the new Ionic Cloud service. Is there an alternative way to achieve the same as above?