Hey guys, im trying to acomplish that my apk file after install on android device got icon, but im constantly getting expo default icon , i already changed icon and also adaptiveicon but without results.
Btw, at expo web , build details, i got my icon normaly, but on device not.
Here is my app.json.
icon.png is my icon that i want to use.
{
"expo": {
"name": "bkube",
"slug": "bkube",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"scheme": "bkube",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#FF9032",
"ldpi": "./assets/splash.png",
"mdpi": "./assets/splash.png",
"hdpi": "./assets/splash.png",
"xhdpi": "./assets/splash.png",
"xxhdpi": "./assets/splash.png",
"xxxhdpi": "./assets/splash.png"
},
"packagerOpts": {
"config": "metro.config.js",
"sourceExts": [
"expo.ts",
"expo.tsx",
"expo.js",
"expo.jsx",
"ts",
"tsx",
"js",
"jsx",
"json",
"wasm",
"svg",
"png"
]
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"infoPlist": {
"NSLocationAlwaysAndWhenInUseUsageDescription": "Allow $(PRODUCT_NAME) to access your location",
"NSLocationAlwaysUsageDescription": "Allow $(PRODUCT_NAME) to access your location",
"NSLocationWhenInUseUsageDescription": "Allow $(PRODUCT_NAME) to access your location"
},
"bundleIdentifier": "com.bkube.app"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/icon.png",
"backgroundColor": "#FFFFFF"
},
"package": "com.bkube.app",
"versionCode": 1,
"googleServicesFile": "./google-services.json",
"permissions": [
"android.permission.ACCESS_COARSE_LOCATION",
"android.permission.ACCESS_FINE_LOCATION",
"android.permission.FOREGROUND_SERVICE"
],
"config": {
"googleMaps": {
"apiKey": "*****************************************************"
}
}
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
"expo-notifications",
"expo-splash-screen",
"expo-updates",
"expo-location"
]
}
}