feat(澳覓): 开屏、浮窗广告及开启通知提示框 (#2124)

* feat(澳覓): 开屏、浮窗广告及开启通知提示框

* feat(澳覓): 开屏广告

---------

Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
JammyLin 2023-11-16 21:22:22 +08:00 committed by GitHub
parent 03727d88df
commit ad5496636f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,35 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.mem.MacaoLife',
name: '澳覓',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionDelay: 800, // 剛啟動時開屏廣告點擊不到
quickFind: true,
resetMatch: 'app',
actionMaximum: 1,
rules: '[id="com.mem.MacaoLife:id/skip_time_out_layout"]',
snapshotUrls: 'https://i.gkd.li/import/13350651',
},
{
key: 1,
name: '開啟通知提示',
quickFind: true,
activityIds: 'com.mem.life.ui.launch.LaunchActivity',
rules: '[id="com.mem.MacaoLife:id/cancel"]',
snapshotUrls: 'https://i.gkd.li/import/13350665',
},
{
key: 2,
name: '浮窗廣告',
quickFind: true,
activityIds: 'com.mem.life.ui.home.HomeActivity',
rules: '[id="com.mem.MacaoLife:id/close"]',
snapshotUrls: 'https://i.gkd.li/import/13350685',
},
],
});