app-icon-badge
app-icon-badge copied to clipboard
Not working in an expo environment
Hi i can't make it work with a expo environment, the icon is generated correctly in the .expo/app-icon-badge folder but it doesnt appear when I run android or is not within the android folders correctly.
My icons are presented in app.config.ts as
icon: "./assets/icon.png",
android: {
package: Env.BUNDLE_ID,
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#000000",
},
},
And the plugin is specified as"
[
"app-icon-badge",
{
enabled: Env.APP_ENV !== "production", // enable/ disable the plugin based on the environment (usually disabled for production builds)
badges: [
{
text: Env.APP_ENV,
type: "banner",
},
{
text: Env.VERSION.toString(),
type: "ribbon",
},
],
},
],
this is the icon that is presented in .expo/app-icon-badge
but it generates like this in the android res folder
i tried to delete the android folders and run prebuild again but no changes