import { openSchema as utsOpenSchema } from '@/uni_modules/uts-openSchema'
</view>
import { createNotificationProgress, cancelNotificationProgress, finishNotificationProgress } from '@/uni_modules/uts-progressNotification'
</view>
import { type CreateNotificationProgressOptions, type FinishNotificationProgressOptions } from '@/uni_modules/uts-progressNotification/utssdk/interface.uts'
</view>
import { UniUpgradeCenterResult, StoreListItem } from '../../utils/call-check-version'
</template>
const platform_iOS = 'iOS';
<script>
const platform_Android = 'Android';
import { openSchema as utsOpenSchema } from '@/uni_modules/uts-openSchema'
const requiredKey = ['version', 'url', 'type']
import { createNotificationProgress, cancelNotificationProgress, finishNotificationProgress } from '@/uni_modules/uts-progressNotification'
let downloadTask : DownloadTask | null = null;
import { type CreateNotificationProgressOptions, type FinishNotificationProgressOptions } from '@/uni_modules/uts-progressNotification/utssdk/interface.uts'
let openSchemePromise: Promise<boolean> | null = null;
import { UniUpgradeCenterResult, StoreListItem } from '../../utils/call-check-version'
const platform_iOS = 'iOS';
const openSchema = (url: string): Promise<boolean> => new Promise<boolean>((resolve,reject) =>{
const platform_Android = 'Android';
try{
const requiredKey = ['version', 'url', 'type']
utsOpenSchema(url)
let downloadTask : DownloadTask | null = null;
resolve(true)
let openSchemePromise : Promise<boolean> | null = null;