I am trying to update app icon before building app using Github action using this command
- name: add icon
run: curl https://www.example.org/precomposed.png > android/app/src/main/res/drawable/ic_launcher_milla.png
This code make a black image or a blank image not the real image from url
How to fix this issue?
Are you sure that the issue is with curl? I tested it on publicly available file and all looks fine.