Conditional insertion of images/icons on appcenter builds?

JesseLibertyJesseLiberty USInsider, University ✭✭✭

We have an app that we're building on appcenter (one iOS and one Android). We'd like to use a script (or some other mechanism) so that we can set a variable or xml file or whatever, to say Company 1 or Company 2, and have the icon (on the phone) and the logo and name change accordingly. Is this possible?

Answers

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    Any chance you can make the icon name match the company name property in the app properties?
    I mean, I'm sure the company name is a property already someplace in your app-right? You use it somewhere for things like displaying the copywrite on the About page or something.
    Then you could just build the name at runtime.

    iconName = MyCoolApp.Properties.CompanyName + ".png";

  • JesseLibertyJesseLiberty USInsider, University ✭✭✭
    edited November 2018

    Clint, thanks but how does that let me switch between 2 companies?

    <confused/>

    Thanks

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭
    edited November 2018

    Maybe I misunderstood the when of this need.

    Now... After re-reading... I see you mean the app icon on the desktop... Not an icon in the app on one of the pages. I was picturing an icon on the title bar for example.

    So you're wanting to automate the changing of these properties at build time for the app, not used in the app. My goof.

Sign In or Register to comment.