xiongzhu 3 лет назад
Родитель
Сommit
ce334c9132

+ 0 - 1
android/app/src/main/AndroidManifest.xml

@@ -6,7 +6,6 @@
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"
-        android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
         android:theme="@style/AppTheme"
         android:usesCleartextTraffic="true">

+ 0 - 5
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
-    <background android:drawable="@color/ic_launcher_background"/>
-    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
-</adaptive-icon>

+ 0 - 5
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
-    <background android:drawable="@color/ic_launcher_background"/>
-    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
-</adaptive-icon>

BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png


+ 2 - 2
android/app/src/main/res/values/strings.xml

@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='utf-8'?>
 <resources>
-    <string name="app_name">paimaide</string>
-    <string name="title_activity_main">paimaide</string>
+    <string name="app_name">FirstCash</string>
+    <string name="title_activity_main">FirstCash</string>
     <string name="package_name">com.bigauction.mobile</string>
     <string name="custom_url_scheme">com.bigauction.mobile</string>
 </resources>

+ 15 - 1
capacitor.config.json

@@ -4,7 +4,7 @@
     "webDir": "dist",
     "bundledWebRuntime": false,
     "server": {
-        "url": "https://paimaide.izouma.com/h5/home",
+        "url": "http://192.168.6.215:5173/",
         "clearText": true
     },
     "android": {
@@ -16,5 +16,19 @@
             "releaseType": "APK"
         },
         "releaseType": "APK"
+    },
+    "plugins": {
+        "SplashScreen": {
+            "launchShowDuration": 50000,
+            "launchAutoHide": true,
+            "backgroundColor": "#ff00ff",
+            "androidSplashResourceName": "splash",
+            "androidScaleType": "CENTER_CROP",
+            "showSpinner": false,
+            "splashFullScreen": true,
+            "splashImmersive": true,
+            "layoutName": "launch_screen",
+            "useDialog": true
+        }
     }
 }

+ 1 - 0
src/main.js

@@ -14,6 +14,7 @@ import enUS from 'date-fns/locale/en-US'
 import { StatusBar, Style } from '@capacitor/status-bar'
 import { Capacitor } from '@capacitor/core'
 import { useBackButton } from '@ionic/vue'
+import { SplashScreen } from '@capacitor/splash-screen'
 
 import 'normalize.css/normalize.css'