Any experience in changing the app icon through HTTP Request based on which environment app is running ?
I heard about changing icon (Android and iOS) and label (Android only) dynamically using Flutter (ex.: Dynamic change App Icon Flutter. Hello, in this article we will see how… | by Diego Mazega | Medium).
But I’m lost on “http request”. O.o
What you mean by “environment”? Debug vs Release? Flavours? Platform?
If it is debug vs release, maybe some different settings on Android/iOS projects settings (since they can have different values for different environments): How to provide different Android app icons for different gradle buildTypes? - Stack Overflow
Environment i mean it flavors … HTTP Request I mean I will fetch the icon from API
Not sure about the android side, but on ios you cant just use an image you download as the app icon. It needs to be bundled at build time as a specific app icon asset, and the asset needs to be marked as an alternated icon in the project settings