zcw-shared 1.42.0 → 1.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/functions/android/configureAppIcon.d.ts +17 -0
- package/dist/functions/android/configureAppIcon.js +106 -0
- package/dist/functions/android/configureAppIcon.js.map +1 -0
- package/dist/functions/android/configureLaunchScreen.d.ts +5 -1
- package/dist/functions/android/configureLaunchScreen.js +115 -20
- package/dist/functions/android/configureLaunchScreen.js.map +1 -1
- package/dist/functions/android/modifyGradle.d.ts +1 -0
- package/dist/functions/android/modifyGradle.js +5 -0
- package/dist/functions/android/modifyGradle.js.map +1 -1
- package/dist/functions/android/permission.d.ts +17 -3
- package/dist/functions/android/permission.js +26 -6
- package/dist/functions/android/permission.js.map +1 -1
- package/dist/functions/ios/configureAppIcon.d.ts +17 -0
- package/dist/functions/ios/configureAppIcon.js +149 -0
- package/dist/functions/ios/configureAppIcon.js.map +1 -0
- package/dist/functions/ios/configureLaunchScreen.js +70 -57
- package/dist/functions/ios/configureLaunchScreen.js.map +1 -1
- package/dist/functions/ios/configurePermissions.d.ts +19 -0
- package/dist/functions/ios/configurePermissions.js +120 -0
- package/dist/functions/ios/configurePermissions.js.map +1 -0
- package/dist/functions/uniapp/app-plus/buildAndroidApp.d.ts +2 -1
- package/dist/functions/uniapp/app-plus/buildAndroidApp.js +100 -34
- package/dist/functions/uniapp/app-plus/buildAndroidApp.js.map +1 -1
- package/dist/functions/uniapp/app-plus/buildAndroidPlugin.js +42 -34
- package/dist/functions/uniapp/app-plus/buildAndroidPlugin.js.map +1 -1
- package/dist/functions/uniapp/app-plus/buildIOSApp.js +92 -28
- package/dist/functions/uniapp/app-plus/buildIOSApp.js.map +1 -1
- package/dist/functions/uniapp/app-plus/buildIOSPlugin.js +50 -27
- package/dist/functions/uniapp/app-plus/buildIOSPlugin.js.map +1 -1
- package/package.json +4 -1
- package/types/uniapp-android-build.d.ts +18 -0
- package/types/uniapp-ios-build.d.ts +18 -0
|
@@ -96,6 +96,14 @@ export interface UniAppIOSBuildOptions extends IOSBuildOptions {
|
|
|
96
96
|
uniappProjectPath: string
|
|
97
97
|
/** UniApp 编译结果路径(可选,如果提供则跳过构建步骤,直接使用此路径) */
|
|
98
98
|
uniappBuildOutputPath?: string
|
|
99
|
+
/** UniApp 应用 ID(如 __UNI__7AE6056) */
|
|
100
|
+
uniAppId: string
|
|
101
|
+
/** 应用显示名称 */
|
|
102
|
+
displayName: string
|
|
103
|
+
/** 版本名称(如 1.0.0) */
|
|
104
|
+
versionName: string
|
|
105
|
+
/** 版本代码(如 1) */
|
|
106
|
+
versionCode: string
|
|
99
107
|
/** iOS Bundle Identifier */
|
|
100
108
|
bundleId?: string
|
|
101
109
|
/** UniApp 应用密钥 */
|
|
@@ -108,6 +116,8 @@ export interface UniAppIOSBuildOptions extends IOSBuildOptions {
|
|
|
108
116
|
appIconPath?: string
|
|
109
117
|
/** 启动屏路径(可选,如果提供则配置 LaunchScreen) */
|
|
110
118
|
launchScreenPath?: string
|
|
119
|
+
/** iOS 权限列表(可选,如 ['CAMERA', 'READ_EXTERNAL_STORAGE'],会自动映射到对应的 iOS 权限 key) */
|
|
120
|
+
permissions?: string[]
|
|
111
121
|
/** 是否开启 IDFA(可选,默认为 false) */
|
|
112
122
|
enableIDFA?: boolean
|
|
113
123
|
/** 微信分享配置(可选) */
|
|
@@ -165,6 +175,14 @@ export interface UniAppIOSPluginBuildOptions extends IOSBuildOptions {
|
|
|
165
175
|
uniappProjectPath: string
|
|
166
176
|
/** UniApp 编译结果路径(可选,如果提供则跳过构建步骤,直接使用此路径) */
|
|
167
177
|
uniappBuildOutputPath?: string
|
|
178
|
+
/** UniApp 应用 ID(如 __UNI__7AE6056) */
|
|
179
|
+
uniAppId: string
|
|
180
|
+
/** 应用显示名称 */
|
|
181
|
+
displayName: string
|
|
182
|
+
/** 版本名称(如 1.0.0) */
|
|
183
|
+
versionName: string
|
|
184
|
+
/** 版本代码(如 1) */
|
|
185
|
+
versionCode: string
|
|
168
186
|
/** iOS Bundle Identifier */
|
|
169
187
|
bundleId?: string
|
|
170
188
|
/** UniApp 应用密钥 */
|