添加提示

This commit is contained in:
lyswhut 2023-08-27 21:06:22 +08:00
parent dbdda8b484
commit 2bd130315f
4 changed files with 28 additions and 4 deletions

View File

@ -1,5 +1,5 @@
目前本项目的原始发布地址只有 **GitHub****蓝奏网盘** (在设置-关于有说明),其他渠道均为第三方转载发布,可信度请自行鉴别。
本项目无微信公众号之类的官方账号也未在小米、华为、vivo等应用商店发布应用商店内的“洛雪音乐xx”相关的应用属于假冒应用,谨防被骗。
本项目无微信公众号之类的官方账号也未在小米、华为、vivo等应用商店发布应用商店内的“LX Music”、“洛雪音乐”相关的应用全部属于假冒应用,谨防被骗。
本软件完全无广告且无引流(如需要加群、关注公众号之类才能使用或者升级)的行为,若你使用过程中遇到广告或者引流的信息,则表明你当前运行的软件是第三方修改版。
若在升级新版本时提示签名不一致,则表明你手机上的旧版本或者将要安装的新版本中有一方是第三方修改版。
若在升级新版本时提示无法降级安装则表明你使用的是universal通用版安装包安装包大小20M+尝试使用arm64-v8a版安装包或者到GitHub下载其他版本安装包。

View File

@ -9,7 +9,7 @@ import { exitApp } from './utils/nativeModules/utils'
console.log('starting app...')
let isInited = false
let handlePushedHomeScreen: () => void
let handlePushedHomeScreen: () => void | Promise<void>
const tryGetBootLog = () => {
try {
@ -49,7 +49,7 @@ initNavigation(async() => {
// import('@/utils/nativeModules/cryptoTest')
await navigations.pushHomeScreen().then(() => {
handlePushedHomeScreen()
void handlePushedHomeScreen()
}).catch((err: any) => {
Alert.alert('Error', err.message, [
{

View File

@ -11,9 +11,11 @@ import commonActions from '@/store/common/action'
import settingState from '@/store/setting/state'
import { checkUpdate } from '@/core/version'
import { bootLog } from '@/utils/bootLog'
import { cheatTip } from '@/utils/tools'
let isFirstPush = true
const handlePushedHomeScreen = () => {
const handlePushedHomeScreen = async() => {
await cheatTip()
if (settingState.setting['common.isAgreePact']) {
if (isFirstPush) {
isFirstPush = false

View File

@ -442,3 +442,25 @@ export const getRowInfo = (type: RowInfoType = 'full'): RowInfo => {
}
export const toMD5 = stringMd5
export const cheatTip = async() => {
const isRead = await getData<boolean>(storageDataPrefix.cheatTip)
if (isRead) return
return new Promise<void>((resolve) => {
Alert.alert(
'谨防被骗提示',
`1. 本项目无微信公众号之类的官方账号也未在小米、华为、vivo等应用商店发布应用商店内的“LX Music”、“洛雪音乐”相关的应用全部属于假冒应用谨防被骗。
2. 广使使广
3. GitHub -`,
[{
text: '我知道了 (Close)',
onPress: () => {
void saveData(storageDataPrefix.cheatTip, true)
resolve()
},
}],
)
})
}