mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-04 09:42:10 +08:00
添加提示
This commit is contained in:
parent
dbdda8b484
commit
2bd130315f
@ -1,5 +1,5 @@
|
||||
目前本项目的原始发布地址只有 **GitHub** 及 **蓝奏网盘** (在设置-关于有说明),其他渠道均为第三方转载发布,可信度请自行鉴别。
|
||||
本项目无微信公众号之类的官方账号,也未在小米、华为、vivo等应用商店发布应用,商店内的“洛雪音乐xx”相关的应用属于假冒应用,谨防被骗。
|
||||
本项目无微信公众号之类的官方账号,也未在小米、华为、vivo等应用商店发布应用,商店内的“LX Music”、“洛雪音乐”相关的应用全部属于假冒应用,谨防被骗。
|
||||
本软件完全无广告且无引流(如需要加群、关注公众号之类才能使用或者升级)的行为,若你使用过程中遇到广告或者引流的信息,则表明你当前运行的软件是第三方修改版。
|
||||
若在升级新版本时提示签名不一致,则表明你手机上的旧版本或者将要安装的新版本中有一方是第三方修改版。
|
||||
若在升级新版本时提示无法降级安装,则表明你使用的是universal(通用)版安装包(安装包大小20M+),尝试使用arm64-v8a版安装包或者到GitHub下载其他版本安装包。
|
||||
|
@ -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, [
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
},
|
||||
}],
|
||||
)
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user