3

I'm designing an app that serves a bunch of different instances. Each user belongs to an instance of the platform and when they authenticate I'd like to change the styling of the app icon to reflect their instance.

Ideally, there would be a generic icon when they download from the app store then once they authenticate we'd show their team-specific icon.

Is this possible? ..on both iOS and Android or either?

The development team is building the app in React Native and exporting to iOS and Android. I'm drawing the icons.

pixelfairy
  • 1,479
  • 1
  • 15
  • 29
  • No idea about android, but iOS 10.3 which was just released added this capability. See: https://developer.apple.com/reference/uikit/uiapplication/2806818-setalternateiconname – dan Mar 31 '17 at 18:50
  • @dan :thumbsup: – pixelfairy Mar 31 '17 at 18:54
  • There is no way to do that for android but apparently, there is a workaround, Here is a similar question: http://stackoverflow.com/questions/1103027/how-to-change-an-application-icon-programmatically-in-android – android_eng Mar 31 '17 at 19:11
  • @RohitRamkumar I like workarounds! – pixelfairy Mar 31 '17 at 19:16
  • @dan, I was about to reply "Not possible on iOS" until I saw your comment. You should post an answer with this information. I was unaware of this new feature of 10.3, as I suspect are most other people. – Duncan C Mar 31 '17 at 20:43

1 Answers1

1

For previous versions of iOS I believe it is not possible but as of iOS 10.3 you can do this using:

set​Alternate​Icon​Name(_:​completion​Handler:​)

and for android check this: How to change an application icon programmatically in android

Community
  • 1
  • 1
  • So, is this a definitive "yes" Sorry for taking forever to mark you response as the answer, the project I was working on got unceremoniously abandoned in favor of just getting the web app done. – pixelfairy Jan 20 '19 at 22:56