Currently, I am exploring the Ionic Config Service available at this link: https://ionicframework.com/docs/api/config/Config/
My intention is to utilize the Config functionality for setting global configuration variables, such as API keys. However, I am encountering difficulties in making it work.
Every time I try to call:
config.set('ios', 'green', 'light');
I receive an error stating that config is not defined. Despite attempting to import Config using:
import { Config } from 'ionic-angular';
it proves unsuccessful. I assumed it could be imported similarly to the Platform Service, but it appears otherwise. Unfortunately, the documentation does not provide sufficient details on this issue.
Any assistance on this matter would be highly appreciated.