Custom App icon

Once upon a time I used an app that allowed you to change the App icon on your device after download and signup. I’m looking to implement a similar task into my app. I’m building a platform to host and connect Business owners to clients to provide Uber like services. Attached to specific users (owners) is their business logo. The owner may use their logo as the app icon on their customers devices after they download my app, and any user that is connected to an owner (only one owner can be assigned to a user but a user can have multiple owners) will show the business owners business logo as the app icon on their users devices. If an owner does not have a logo, or if a user is not connected to an owner the app shows my logo on the device.