Files
tydata-mini/manifest.config.ts
2026-02-27 12:07:10 +08:00

148 lines
4.1 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { defineManifestConfig } from '@uni-helper/vite-plugin-uni-manifest'
export default defineManifestConfig({
'name': '天远数据',
'appid': '__UNI__CC3DA09',
'description': '',
'versionName': '1.0.0',
'versionCode': '107',
'transformPx': false,
/* 5+App特有相关 */
'app-plus': {
usingComponents: true,
nvueStyleCompiler: 'uni-app',
compilerVersion: 3,
background: '#000000',
compatible: {
ignoreVersion: true,
},
splashscreen: {
alwaysShowBeforeRender: true,
waiting: true,
autoclose: true,
delay: 0,
},
/* 模块配置 */
modules: {
Share: {},
Camera: {},
PhotoLibrary: {},
},
/* 应用发布信息 */
distribute: {
/* android打包配置 */
android: {
package: 'com.quannengcha.app',
permissions: [
'<uses-permission android:name="android.permission.INTERNET"/>',
'<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>',
'<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>',
],
},
/* ios打包配置 */
ios: {
privacyDescription: {
NSLocalNetworkUsageDescription: '需要访问您的网络来提供更好的服务',
NSPhotoLibraryAddUsageDescription: "此应用需要访问您的相册以保存图片",
},
idfa: false,
bundleIdentifier: 'com.allinone.check',
},
/* SDK配置 */
sdkConfigs: {
// share: {
// weixin: {
// appid: 'wx开头的微信开放平台AppID',
// UniversalLinks: 'https://www.tianyuandb.com/app/',
// }
// },
// oauth: {
// weixin: {
// appid: 'wx开头的微信开放平台AppID',
// appsecret: '微信开放平台AppSecret',
// UniversalLinks: 'https://www.tianyuandb.com/app/'
// }
// }
},
icons: {
android: {
hdpi: 'static/icons/72x72.png',
xhdpi: 'static/icons/96x96.png',
xxhdpi: 'static/icons/144x144.png',
xxxhdpi: 'static/icons/192x192.png',
},
ios: {
appstore: 'static/icons/1024x1024.png',
ipad: {
'app': 'static/icons/76x76.png',
'app@2x': 'static/icons/152x152.png',
'notification': 'static/icons/20x20.png',
'notification@2x': 'static/icons/40x40.png',
'proapp@2x': 'static/icons/167x167.png',
'settings': 'static/icons/29x29.png',
'settings@2x': 'static/icons/58x58.png',
'spotlight': 'static/icons/40x40.png',
'spotlight@2x': 'static/icons/80x80.png',
},
iphone: {
'app@2x': 'static/icons/120x120.png',
'app@3x': 'static/icons/180x180.png',
'notification@2x': 'static/icons/40x40.png',
'notification@3x': 'static/icons/60x60.png',
'settings@2x': 'static/icons/58x58.png',
'settings@3x': 'static/icons/87x87.png',
'spotlight@2x': 'static/icons/80x80.png',
'spotlight@3x': 'static/icons/120x120.png',
},
},
},
},
},
/* 快应用特有相关 */
'quickapp': {},
/* 小程序特有相关 */
'mp-weixin': {
appid: '',
setting: {
urlCheck: false,
},
usingComponents: true,
darkmode: false,
themeLocation: 'theme.json',
},
'mp-alipay': {
usingComponents: true,
},
'mp-baidu': {
usingComponents: true,
},
'mp-toutiao': {
usingComponents: true,
},
'h5': {
darkmode: false,
themeLocation: 'theme.json',
},
'uniStatistics': {
enable: false,
},
'vueVersion': '3',
/* UTS 插件配置 */
'uts': {
'plugins': {
'lz-url-launch': {
'version': '1.0.0',
'description': 'SFSafariViewController插件支持在iOS中使用系统浏览器打开网页',
'platforms': {
'ios': {
'appid': '__UNI_LZ_URL_LAUNCH_IOS',
'autostart': false
}
}
}
}
}
})