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