Quantcast
Channel: Questions in topic: "icon"
Viewing all articles
Browse latest Browse all 271

Advanced Icon Control: Setting app icon in cloud build pre-export hook?

$
0
0
At our company we have multiple builds of the same project going on at once. Most importantly, alpha, beta and release builds. These clutter up the phone (android) with identical icons, which I want to make different depending on the build. Because the icon is set in unity, and not the build settings however, this is more difficult than it seems. As with everyone else, I set the icon in player settings. I then wrote a simple pre-export method which switches out the image file with the alpha build image. This method is working, but... not on the app icon. It changes the icon in the cloud build emails, but once installed, the app icon is still the same as the original icon. My main theory is that the app icon is actually generated before the pre-build hook is activated. My secondary theory is that the Cloud Build is tracking changes to the files and realises the files have been renamed and goes after the original one - but i don't know why the icon changes in the emails in this case... Has anyone tried to deal with this before? Does anyone know where the app icon is save to? maybe I can edit the app icon file itself, pre or post build...?

Viewing all articles
Browse latest Browse all 271

Latest Images

Trending Articles



Latest Images