fix: add android platform before sync
This commit is contained in:
@@ -38,7 +38,7 @@ COPY package*.json ./
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build && npx cap sync android
|
RUN npm run build && npx cap add android && npx cap sync android
|
||||||
|
|
||||||
WORKDIR /workspace/android
|
WORKDIR /workspace/android
|
||||||
RUN chmod +x gradlew
|
RUN chmod +x gradlew
|
||||||
|
|||||||
@@ -7,7 +7,12 @@
|
|||||||
},
|
},
|
||||||
"android": {
|
"android": {
|
||||||
"backgroundColor": "#ffffff",
|
"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": {
|
"plugins": {
|
||||||
"SplashScreen": {
|
"SplashScreen": {
|
||||||
|
|||||||
Reference in New Issue
Block a user