Ios application bundles in ionic 2

I am working on Ionic 2 with Type script. I want my application to allow application bundles to be configured from IOS settings before launching the app. e.g. API URL, locale settings etc.

I have seen some native apps allowing API settings to be configured before launching application.

How can we achieve it with ionic 2?

Found it, cordova plugin cordova-plugin-app-preferences does the needful