diff --git a/Dockerfile.android b/Dockerfile.android index cf065ad..0a9f9b0 100644 --- a/Dockerfile.android +++ b/Dockerfile.android @@ -38,7 +38,7 @@ COPY package*.json ./ RUN npm install COPY . . -RUN npm run build && npx cap sync android +RUN npm run build && npx cap add android && npx cap sync android WORKDIR /workspace/android RUN chmod +x gradlew diff --git a/capacitor.config.json b/capacitor.config.json index 128b143..7b0039e 100644 --- a/capacitor.config.json +++ b/capacitor.config.json @@ -7,7 +7,12 @@ }, "android": { "backgroundColor": "#ffffff", - "allowMixedContent": true + "allowMixedContent": true, + "icon": "public/icons/icon.png", + "adaptiveIcon": { + "foreground": "public/icons/ic_launcher_foreground.png", + "background": "public/icons/ic_launcher_background.png" + } }, "plugins": { "SplashScreen": {