Custom configuration


#1

I am using ionic 2.1.0. Is there any suggestions on creating some sort of configuration file that would hold service URLs etc


#2

I have the same question


#3

Well, on Android you can create a file in sdcard directory and read it from an app using File plugin (https://ionicframework.com/docs/native/file/). Currently there is a problem with this plugin, which is supposed to be fixed in the next version. There are some workarounds for the problem. I currently(and temporary) use http to read the file.

As for iOS, I’m not sure yet where can you put this file. Does anybody know where on iOS you can keep files that would be accessible for write to a device user and for read to an app?