Different builds with one codebase for same device


#1

hi all,

Currently i am starting with ionic / cordova hybrid app developement.
Basically i am trying to make a different build based on the config.xml file. Then i can read the package name inside the app and take action according to that.
I noticed when changing the package name and app name in the config file sometimes/ many times creates ‘deprecated’ notifications when running the output build in xcode.

for instance in CDVStatusBar.m
there would be an issue ‘interfaceOrientation’ is deprecated: first deprecated in iOS 8.0

Is this expected behaviour? How would i deal with these issues?
What i already tried:

  • remove ios platform and add again
  • remove plugins and add again
  • restart xcode

Could someone explain why this is happening?

Cheers, Wouter