fix: add android platform before sync
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user