{
    "name" : "VinaShort",
    "appid" : "__UNI__1B1A3C5",
    "description" : "",
    "versionName" : "1.0.6",
    "versionCode" : 106,
    "transformPx" : false,
    /* 5+App特有相关 */
    "app-plus" : {
        "usingComponents" : true,
        "nvueStyleCompiler" : "VinaShort",
        "compilerVersion" : 3,
        "splashscreen" : {
            "alwaysShowBeforeRender" : true,
            "waiting" : false,
            "autoclose" : true,
            "delay" : 0
        },
        "safearea" : {
            "background" : "#202023",
            "bottom" : {
                "offset" : "none"
            }
        },
        "screenOrientation" : [ "portrait-primary" ], //ios不配置屏幕方向，无法旋转屏幕

        /* 模块配置 */
        "modules" : {
            "VideoPlayer" : {},
            "Payment" : {},
            "Share" : {},
            "OAuth" : {}
        },
        /* 应用发布信息 */
        "distribute" : {
            /* android打包配置 */
            "android" : {
                "permissions" : [],
                "excludePermissions" : [
                    "<uses-permission android:name=\"android.permission.READ_MEDIA_IMAGES\"/>",
                    "<uses-permission android:name=\"android.permission.READ_MEDIA_VIDEO\"/>",
                    "<uses-permission android:name=\"android.permission.READ_MEDIA_VISUAL_USER_SELECTED\"/>",
                    "<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/>",
                    "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
                ],
                "minSdkVersion" : 23,
                "targetSdkVersion" : 35
            },
            /* ios打包配置 */
            "ios" : {
                "dSYMs" : false
            },
            /* SDK配置 */
            "sdkConfigs" : {
                "oauth" : {
                    "apple" : {},
                    "google" : {
                        "clientid" : "445312561934-srotl6jqj8h0fkoosa2opele3ess4m67.apps.googleusercontent.com"
                    }
                },
                "payment" : {
                    "appleiap" : {},
                    "google" : {}
                },
                "share" : {},
                "push" : {
                    "unipush" : {
                        "version" : "2",
                        "offline" : true,
                        "fcm" : {}
                    }
                }
            },
            "icons" : {
                "android" : {
                    "hdpi" : "unpackage/res/icons/72x72.png",
                    "xhdpi" : "unpackage/res/icons/96x96.png",
                    "xxhdpi" : "unpackage/res/icons/144x144.png",
                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
                },
                "ios" : {
                    "appstore" : "unpackage/res/icons/1024x1024.png",
                    "ipad" : {
                        "app" : "unpackage/res/icons/76x76.png",
                        "app@2x" : "unpackage/res/icons/152x152.png",
                        "notification" : "unpackage/res/icons/20x20.png",
                        "notification@2x" : "unpackage/res/icons/40x40.png",
                        "proapp@2x" : "unpackage/res/icons/167x167.png",
                        "settings" : "unpackage/res/icons/29x29.png",
                        "settings@2x" : "unpackage/res/icons/58x58.png",
                        "spotlight" : "unpackage/res/icons/40x40.png",
                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
                    },
                    "iphone" : {
                        "app@2x" : "unpackage/res/icons/120x120.png",
                        "app@3x" : "unpackage/res/icons/180x180.png",
                        "notification@2x" : "unpackage/res/icons/40x40.png",
                        "notification@3x" : "unpackage/res/icons/60x60.png",
                        "settings@2x" : "unpackage/res/icons/58x58.png",
                        "settings@3x" : "unpackage/res/icons/87x87.png",
                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
                    }
                }
            },
            "splashscreen" : {
                "iosStyle" : "common",
                "ios" : {
                    "storyboard" : "CustomStoryboard.zip"
                },
                "androidStyle" : "common",
                "android" : {
                    "hdpi" : "static/splash/drawable-hdpi.png",
                    "xhdpi" : "static/splash/drawable-xhdpi.png",
                    "xxhdpi" : "static/splash/drawable-xxhdpi.png"
                }
            }
        },
        "nativePlugins" : {
            "GT-GooglePay-V5" : {
                "__plugin_info__" : {
                    "name" : "GT-GooglePay-V5",
                    "description" : "为开发者提供谷歌 V7、V8支付插件,GooglePay插件,Google pay V7、V8支付",
                    "platforms" : "Android",
                    "url" : "",
                    "android_package_name" : "",
                    "ios_bundle_id" : "",
                    "isCloud" : false,
                    "bought" : -1,
                    "pid" : "",
                    "parameters" : {}
                }
            }
        }
    },
    /* 快应用特有相关 */
    "quickapp" : {},
    /* 小程序特有相关 */
    "mp-weixin" : {
        "appid" : "",
        "setting" : {
            "urlCheck" : false
        },
        "usingComponents" : true
    },
    "mp-alipay" : {
        "usingComponents" : true
    },
    "mp-baidu" : {
        "usingComponents" : true
    },
    "mp-toutiao" : {
        "usingComponents" : true
    },
    "uniStatistics" : {
        "enable" : false
    },
    "vueVersion" : "3",
    "h5" : {
        "title" : "VinaShort",
        "router" : {
            "base" : "/",
            "mode" : "history"
        },
        "devServer" : {
            "port" : 8080
        },
        "pwa" : {
            "manifest" : {
                "id" : "/",
                "name" : "VinaShort",
                "short_name" : "VinaShort",
                "description" : "VinaShort - Popular Short Dramas",
                "display" : "standalone",
                "start_url" : "/",
                "scope" : "/",
                "background_color" : "#202023",
                "theme_color" : "#202023",
                "icons" : [
                    {
                        "src" : "/static/global/logo-192.png",
                        "sizes" : "192x192",
                        "type" : "image/png",
                        "purpose" : "any"
                    },
                    {
                        "src" : "/static/global/logo-512.png",
                        "sizes" : "512x512",
                        "type" : "image/png",
                        "purpose" : "any"
                    },
                    {
                        "src" : "/static/global/logo-512.png",
                        "sizes" : "512x512",
                        "type" : "image/png",
                        "purpose" : "maskable"
                    }
                ]
            }
        }
    }
}
