feat(钱包): 开屏广告、全屏广告

This commit is contained in:
AIsouler
2024-09-01 16:35:52 +08:00
parent a161fe689a
commit c48a2be88f
2 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,43 @@
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.mipay.wallet',
name: '钱包',
groups: [
{
key: 0,
name: '开屏广告',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[vid="skip"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/670b95f6-12d0-4787-9158-98ac52eb1641',
snapshotUrls: [
'https://i.gkd.li/i/16828031',
'https://i.gkd.li/i/16828053',
],
},
],
},
{
key: 1,
name: '全屏广告-弹窗广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
fastQuery: true,
activityIds: 'com.xiaomi.jr.app.MiFinanceActivity',
matches:
'FrameLayout >2 View[childCount=2] >2 View[childCount=2] > @ImageView[clickable=true][index=0][visibleToUser=true] <<n [vid="flutter_container"]',
exampleUrls: 'https://e.gkd.li/9d8a1bb4-40ab-4312-8f5b-ef224e18720e',
snapshotUrls: 'https://i.gkd.li/i/16828039',
},
],
},
],
});

View File

@@ -142,7 +142,6 @@ export const blackListAppIDs: string[] = [
'com.samsung.android.game.gamelab',
'com.Twilight.tools',
'com.miui.securitymanager',
'com.mipay.wallet',
'com.google.android.documentsui',
'com.android.settings',
'com.miui.creation',